If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Simple SEO URL (OLD version) [support thread]

Simple SEO URL (OLD version) [support thread]

Started by yellow1912 on 22 Jan 2008, 4:47 PM · Views: 1,115,297

Results 2,701 to 2,720 of 5,058
20 Mar 2009, 11:07 PM
#2701
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Post #2701 by coolcarpartsonline

Hello Yellow
On one of my site I am trying to apply the redirect from mydomain.com to https://www.mydomain.com using this code:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]

This is the current .htaccess I have from your download ```php

<PRE>#### BOF SSU Options +FollowSymLinks -MultiViews RewriteEngine On # Make sure to change "zencart" to the subfolder you install ZC. If you use root folder, change to: RewriteBase / RewriteBase /</PRE> <PRE># Deny access from .htaccess RewriteRule ^\.htaccess$ - [F]</PRE> <PRE>RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L] #### EOF SSU</PRE>

How do I do that using your mod. If I do paste the code to redirect in the current htaccess I get a 500 error
21 Mar 2009, 1:30 AM
#2702
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Post #2702 by yellow1912

I dont know why you get <pre> thing in there, they should not be there at all.

Anyhow, something like this:

#### BOF SSU 
Options +FollowSymLinks -MultiViews 
RewriteEngine On 
# Make sure to change "zencart" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /  
RewriteBase /
# Deny access from .htaccess 
RewriteRule ^.htaccess$ - [F]


RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC] 
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]  

RewriteCond %{SCRIPT_FILENAME} !-f 
RewriteCond %{SCRIPT_FILENAME} !-d 
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L] 

#### EOF SSU

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

21 Mar 2009, 1:32 AM
#2703
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Post #2703 by yellow1912

I dont think we have any problem with redirection of old links.> inovermyhead:

OK, maybe we just need some hand holding, but we're beating our heads against the wall. Or maybe we can't see the forest for the trees <grin>. After going through the several pertinent thread (more than once), we decided SSU was the way for us to go.

We're running 1.37 with several add-ons. But we've set up a test shop using WAMP for a localhost test for our CreekTree shop, installed Module Manager, installed Simple SEO, configured it, and it appears to work fine in both Firefox and IE7. We've run the Google sitemap, Google base, & Live Update add-ons against the localhost database and the XML all appear to have worked fine. So it appears that basically we're in good shape.

But I keep coming back to earlier posts about redirects and the htaccess file, and I can't seem to get my arms around this, after several times thru more than this thread. Are redirects for old URLs an issue any more? If so, what do I need to do? If not, the next step would be backup the production online, and install there?

:blink::dontgetit:unsure:

Many thanks for your input!

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

21 Mar 2009, 1:34 AM
#2704
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Post #2704 by yellow1912

AdamB:

Sounds Good
We will need to do a bit of code modification here. PM me and I can help you with this.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

21 Mar 2009, 7:29 PM
#2706
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Post #2706 by yellow1912

Jerry5763837:

hi, Yellow,

Many thanks for your great contribution to so many free moulds.

I came across a problem at http://www.zen-cart.com/forum/showthread.php?t=123064&highlight=customer+sidebox+page

could you please help to check how to fix it?
many appreciated again.:frusty:
I will have a look, but next time please PM me for this type of question. It is off topic and does not have anything to do with SSU.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

21 Mar 2009, 8:07 PM
#2707
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Post #2707 by coolcarpartsonline

yellow1912:

I dont know why you get <pre> thing in there, they should not be there at all.

Anyhow, something like this:

#### BOF SSU
Options +FollowSymLinks -MultiViews
RewriteEngine On
# Make sure to change "zencart" to the subfolder you install ZC. If you use root folder, change to: RewriteBase /
RewriteBase /
# Deny access from .htaccess
RewriteRule ^.htaccess$ - [F]

RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]

RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond
%{SCRIPT_FILENAME} !-d
RewriteRule
^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]

#### EOF SSU


I think I get it because when I use Front Page and when I open the htacess file in the code format I get an <html> code added to the top as you noticed in one of my previous posts. I didn't know that the <PRE> is not suppose to be there. I will make sure to remove them .
22 Mar 2009, 9:30 AM
#2708
svault avatar

svault

New Zenner

Join Date:
May 2008
Posts:
37
Plugin Contributions:
0

Post #2708 by svault

Many thanks to Yellow. After a couple of tries, I have this module working.

Since I faced some issues, I will put them here for others to see.

  1. Make sure you install Module Manager first.
  2. Make sure you are using the latest SSU.
  3. Make sure you are running php5. If you run php4, you will notice errors after uploading. If you run php4, you can use .htaccess to change your folder to run php5.
  4. Make sure you change the /cache/ folder to permission 777
22 Mar 2009, 5:49 PM
#2709
jarcher avatar

jarcher

New Zenner

Join Date:
Jul 2006
Posts:
10
Plugin Contributions:
0

Post #2709 by jarcher

I'm getting a mySQL error after I added alot more items/categories to my catalog

here is the error meesage

1153 Got a packet bigger than 'max_allowed_packet' bytes
in:
[INSERT INTO zen_seo_cache (cache_id, cache_language_id, cache_name, cache_data, cache_global, cache_gzip, cache_method, cache_date, cache_expires) VALUES ('ca34fbe5f9a075091ad59abf02c259a7', '1', 'seo_urls_v2_products', 'rP3JcmNJ0y2GzvUUmh3J7MKMAEEQNI1kkoZqTCaNj6EjiUwAGx+aJJmj+1D3DfRid/lasTtgh3ugVOf/T2ZV/VgRsSM8PLz39eZ9e9j8d//l//g///f/+f/+n/6v//q//Y//6//yX8dPby+z//L/+W//S3Vc7Ea76s/mNPqzXW5Gx+vpuNv8l//+f/hv1jncyyBue/jtoqaG+rXZ7X5G++1hiz8uRbM9D+KC2aavhlpvz6vTZnNJHzXan/mN3jKncwNqgYvdebS8Hg4/o2M03dsNarM4lezkUx+2rnbHz+1htNxd/RMYG+76pyqZY1L/Nhh1NuGeXT43o9Xn4rQHQQSfPZtws3qIiHpmE27Vrjp8jNb2B4hudNwctufR5vuyOaw3J+d4Zs/cMSPX0eLwscEB/dl+bw7hSp+5YwO4cL3P3L8u8rJZnEG5LkmMnye8Xavd4nzefutqLQ7r0Xm32WDxZxClfx4YgffMG+F4da8qhuClc4eIPoPXTyOsRsvNx/Zw2JzOI13kI+h8F38It7BexfAYEdvBt/AI/ZWEh0LyaVZy3R9/cMN3u4ZF5Glv/Dwmtdfg8267D68fQCT3GrTszehtvQh2gb2uzqP9x3d2YaLP9MOz90OeZPrh52a3dcYk2dSTL763++s5vwCSafrx5nr8rPI/5Z1IPz2eqo/FeT/6+sRDkIWMx9Mx+dL7+wjEvjhfT5vRZXHcgOoWK+fFAY6z3eHi+fhBd7jTZu2uknt2hwrpevLGczlNF8YkTovLFkxRDFG8wpl0/ELqOi2Wyy0eOV7G4AqMZ7wCPQjf/a/Vbnvx5prx/l2up2WVbv8X53

with much more than that.

-john

22 Mar 2009, 6:38 PM
#2710
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Post #2710 by yellow1912

Im sorry, but you are probably using another module. This module does not have such table.> jarcher:

I'm getting a mySQL error after I added alot more items/categories to my catalog

here is the error meesage

1153 Got a packet bigger than 'max_allowed_packet' bytes
in:
[INSERT INTO zen_seo_cache (cache_id, cache_language_id, cache_name, cache_data, cache_global, cache_gzip, cache_method, cache_date, cache_expires) VALUES ('ca34fbe5f9a075091ad59abf02c259a7', '1', 'seo_urls_v2_products', 'rP3JcmNJ0y2GzvUUmh3J7MKMAEEQNI1kkoZqTCaNj6EjiUwAGx+aJJmj+1D3DfRid/lasTtgh3ugVOf/T2ZV/VgRsSM8PLz39eZ9e9j8d//l//g///f/+f/+n/6v//q//Y//6//yX8dPby+z//L/+W//S3Vc7Ea76s/mNPqzXW5Gx+vpuNv8l//+f/hv1jncyyBue/jtoqaG+rXZ7X5G++1hiz8uRbM9D+KC2aavhlpvz6vTZnNJHzXan/mN3jKncwNqgYvdebS8Hg4/o2M03dsNarM4lezkUx+2rnbHz+1htNxd/RMYG+76pyqZY1L/Nhh1NuGeXT43o9Xn4rQHQQSfPZtws3qIiHpmE27Vrjp8jNb2B4hudNwctufR5vuyOaw3J+d4Zs/cMSPX0eLwscEB/dl+bw7hSp+5YwO4cL3P3L8u8rJZnEG5LkmMnye8Xavd4nzefutqLQ7r0Xm32WDxZxClfx4YgffMG+F4da8qhuClc4eIPoPXTyOsRsvNx/Zw2JzOI13kI+h8F38It7BexfAYEdvBt/AI/ZWEh0LyaVZy3R9/cMN3u4ZF5Glv/Dwmtdfg8267D68fQCT3GrTszehtvQh2gb2uzqP9x3d2YaLP9MOz90OeZPrh52a3dcYk2dSTL763++s5vwCSafrx5nr8rPI/5Z1IPz2eqo/FeT/6+sRDkIWMx9Mx+dL7+wjEvjhfT5vRZXHcgOoWK+fFAY6z3eHi+fhBd7jTZu2uknt2hwrpevLGczlNF8YkTovLFkxRDFG8wpl0/ELqOi2Wyy0eOV7G4AqMZ7wCPQjf/a/Vbnvx5prx/l2up2WVbv8X53

with much more than that.

-john

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

22 Mar 2009, 6:42 PM
#2711
stika avatar

stika

New Zenner

Join Date:
Oct 2008
Posts:
9
Plugin Contributions:
0

Post #2711 by stika

Hello Yellow i'm been using SSU since beta 3.5.1 and now with last 3.6.6 i'm having trouble with Googlexml sitemap mod.

While with versions 3.5.x everything was working fine, with 3.6.6 the sitemap report urls to english pages that i haven't since my site is in italian.

I have checked the various options and set set default language identifiers to off since with this options i was having only the english pages active on my site, everythings was redirected to english version.

The sitemap looks like this

 <url>
  <loc>http://www.sportclubshop.it/ski--c-3_4/language/en</loc>
  <lastmod>2009-01-12</lastmod>
  <changefreq>weekly</changefreq>
  <priority>0.5</priority>
 </url>
 <url>
  <loc>http://www.sportclubshop.it/sci-sci-discesa-c-3_4</loc>
  <lastmod>2009-01-12</lastmod>
  <changefreq>weekly</changefreq>
  <priority>0.5</priority>
 </url>

As you can see the first url is in english

I have reset the cache and do the install following the infos in your wiki.

Zencart 1.3.8a
SSU 3.6.6

Regards and always thanks for great job

22 Mar 2009, 6:48 PM
#2712
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Post #2712 by yellow1912

Huhm

http://www.sportclubshop.it/ski--c-3_4/language/en

This type of url should never be there, actually. Weird. Did you set multilanguage to off as well?
Seem like your store has more than 1 languages in use though?

Can you paste all the settings here?

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

22 Mar 2009, 6:54 PM
#2713
stika avatar

stika

New Zenner

Join Date:
Oct 2008
Posts:
9
Plugin Contributions:
0

Post #2713 by stika

Yes i have set Multilanguage support to off in SSU config.

Yes my version is a localized version and i have also english on my shop, the template i have done is set as Default.

22 Mar 2009, 6:59 PM
#2714
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Post #2714 by yellow1912

stika:

Yes i have set Multilanguage support to off in SSU config.

Yes my version is a localized version and i have also english on my shop, the template i have done is set as Default.
Huhm, well here is how it should be done:
If you have multi-lang, then you should set multi language to on instead of "off". It will give better looking links.

Second, seem like you have not filled in many english names etc, which is why the links look kinda weird btw. On another hand, SSU should have falled back to the default language tho, I will have to look into this, which one is currently your default language? Italian?

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

22 Mar 2009, 7:03 PM
#2715
stika avatar

stika

New Zenner

Join Date:
Oct 2008
Posts:
9
Plugin Contributions:
0

Post #2715 by stika

Yes Italian, now i have enabled language side box , my template and various override are all (and only) in italian i have not done the english version.

Italian is set as default language

22 Mar 2009, 7:13 PM
#2716
stika avatar

stika

New Zenner

Join Date:
Oct 2008
Posts:
9
Plugin Contributions:
0

Post #2716 by stika

Ok solved
I have had to delete the English in language setup and left Italian only.

Thanks for your time

22 Mar 2009, 7:14 PM
#2717
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Post #2717 by yellow1912

If you want to enable English later, it is easy to do so btw.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

22 Mar 2009, 7:36 PM
#2718
stika avatar

stika

New Zenner

Join Date:
Oct 2008
Posts:
9
Plugin Contributions:
0

Post #2718 by stika

:) Oh sure with prev rel i was not having this problem, i figured out that with multilanguage support off SSU was putting only default language in cache so i didn't drop the english language.

Ciao
Lorenzo

22 Mar 2009, 8:08 PM
#2719
svault avatar

svault

New Zenner

Join Date:
May 2008
Posts:
37
Plugin Contributions:
0

Post #2719 by svault

Some problems I need help on:

Using: SSU 3.6.6 & ZC 1.38a

Problem 1:
Currently using Wordpress on Zencart module. Main blog page works fine: index.php?main_page=wordpress shows up fine. BUT any other pages from wordpress is not working and it keeps reverting back to index.php?main_page=wordpress.

Questions:
How am I suppose to use the Manage Aliases function to solve this issue?
For example:
Original URL: /store/?cat=5
What goes to the URL and what goes to Alias? Do I click status and permanent?

Original URL: /store?m=200903
What goes to the URL and what goes to Alias? Do I click status and permanent?

Original URL: /store/?page_id=3
What goes to the URL and what goes to Alias? Do I click status and permanent?

Problem 2:
Inside: Admin -> Tools -> Module Manager , I get the following error:
Basic Functions
List all modules: Click here
Install new modules: Click here
Render error, file not found(/homepages/10/d179343503/htdocs/SingaporeVault/store/admin/includes/templates/templates/module_manager/tpl_index.php)

Questions:
-Should I be worried about this error?
-When I click on "List all modules: Click here" or "Install new modules: Click here", nothing happens.

22 Mar 2009, 8:12 PM
#2720
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Post #2720 by yellow1912

/store/?cat=5

--> This is not a zen url, is it wordpress? Even if it is wordpress url there is something wrong with this url.
Zen will interpret this url like this

/store/index.php?main_page=index&cat=5

Prob2:
did you use: http://zencart-module-manager.googlecode.com/files/module_manager_rev16zip.zip

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me