Zen Cart Logo
Forums / General Questions / Ultimate_SEO_URLs and 301 Redirect

Ultimate_SEO_URLs and 301 Redirect

Locked

Views: 1,444

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
24 May 2007, 9:42 AM
#1
8_miles avatar

8_miles

New Zenner

Join Date:
Aug 2006
Posts:
12
Plugin Contributions:
0

Ultimate_SEO_URLs and 301 Redirect

I have had a ZC based website. Some pages have been indexed by google, now i want to do some SEO by using Ultimate_SEO_URLS in order to get better ranking on google.
This is what i want to make it:

http://www.mydomain.com/index.php?main_page=index&cPath=128
This Page's PR is 3.

I DO NOT want to install the Ultimate_SEO_URLS, i only want to rewrite this page, And 301 redirect the old page to the new one.

Here is the code i put in .htaccess file:

Options +FollowSymLinks
RewriteEngine on
RewriteRule produc-name-id.html index.php?main_page=index&cPath=128&avoidrepeart=1 [L]
RewriteCond %{QUERY_STRING} main_page=index&cPath=128
RewriteRule ^index.php$ /produc-name-id.html? [R=301,L]


But it doesn't work, anyone have good idea?

25 May 2007, 9:26 AM
#2
8_miles avatar

8_miles

New Zenner

Join Date:
Aug 2006
Posts:
12
Plugin Contributions:
0

Re: Ultimate_SEO_URLs and 301 Redirect

daily bump, still looking for answer...:blush:

25 May 2007, 10:48 PM
#3
gerome avatar

gerome

Zen Follower

Join Date:
Sep 2006
Posts:
100
Plugin Contributions:
0

Re: Ultimate_SEO_URLs and 301 Redirect

8 miles:

I have had a ZC based website. Some pages have been indexed by google, now i want to do some SEO by using Ultimate_SEO_URLS in order to get better ranking on google.
This is what i want to make it:

http://www.mydomain.com/index.php?main_page=index&cPath=128
This Page's PR is 3.

I DO NOT want to install the Ultimate_SEO_URLS, i only want to rewrite this page, And 301 redirect the old page to the new one.

Here is the code i put in .htaccess file:

Options +FollowSymLinks
RewriteEngine on
RewriteRule produc-name-id.html index.php?main_page=index&cPath=128&avoidrepeart=1 [L]
RewriteCond %{QUERY_STRING} main_page=index&cPath=128
RewriteRule ^index.php$ /produc-name-id.html? [R=301,L]


But it doesn't work, anyone have good idea?
My version of SEO does it automatically, exemple:

http://www.bigdepot.co.uk/index.php?main_page=index&cPath=30
is redirected to
http://www.bigdepot.co.uk/pressit-c-30.html

Check the configuration, there might be something that activate it... Or you don't have the same version...