[Zen Cart] Old links 404 errors

Technical difficulties? Ask for help here.

[Zen Cart] Old links 404 errors

Postby sohotech » Sun Jun 07, 2009 7:01 pm

All the old links in Google to my site are receiving 404 errors. Why are the old links not resolving on 301 or 302?
sohotech
 

Re: [Zen Cart] Old links 404 errors

Postby ~J~ » Mon Jun 08, 2009 12:23 am

In order to redirect your old Rewritten URLs, you have to place your old Rewrite Rules into end of newly generated .htaccess file.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [Zen Cart] Old links 404 errors

Postby sohotech » Mon Jun 08, 2009 12:42 am

i was using Simple SEO before.
Based on the original htaccess file you are saying I should add the following rule

Code: Select all
RewriteRule ^(.*) index.php?/$1 [E=VAR1:$1,QSA,L]


to the end of the new htaccess and the old URLS's will redirect to the new Magic SEO generated links?
sohotech
 

Re: [Zen Cart] Old links 404 errors

Postby ~J~ » Mon Jun 08, 2009 12:48 am

Yes, but please also change this line in the beginning of this file:
Code: Select all
RewriteRule ^.*(\.php[0-9]{0,1}|\.htm|\.xml|\.css|\.js|\.jpg|\.gif|\.png)$ - [L]

to
Code: Select all
RewriteRule ^.*(\.htm|\.xml|\.css|\.js|\.jpg|\.gif|\.png)$ - [L]
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [Zen Cart] Old links 404 errors

Postby sohotech » Mon Jun 08, 2009 1:17 am

From the Zencart features on your website it says the following:

"safe changing of URLs and re-directions from all native and rewritten ZenCart URLs"

why do i have to change the .htaccess file if this feature is already supported?
sohotech
 

Re: [Zen Cart] Old links 404 errors

Postby ~J~ » Mon Jun 08, 2009 1:37 am

You have to change the .htaccess file, because none knows what Rewrite Rules you have been using. If you place your old Rewrite Rules, MSU automatically recognize what to do.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe


Return to Troubleshooting

Who is online

Users browsing this forum: Bing [Bot], Exabot [Bot] and 2 guests