
Originally Posted by
lidlchris
... do i have to go into hundreds of products and categories in the zen admin and add the old URL?? ..
This way would ensure CEON URI Mapping has knowledge of the old URI and reduce the chance of 301 redirect chaining. You can directly add these using phpMyAdmin or use the Zen Cart admin. You still have to go through hundreds of URLs no matter which way you use.

Originally Posted by
lidlchris
... for example "http://www.swordsofhonor.com/theater-swords.html?pg=2html=theater-swords"
is being redirected to "http://www.swordsofhonor.com/fantasyswords.html?pg=2html=theater-swords" when it should go to "http://www.swordsofhonor.com/fantasyswords.html"
here is the 301 redirect in the htaccess file
Code:
RedirectMatch 301 ^/theater-swords.* http://www.swordsofhonor.com/fantasyswords.html
is this fixable??
This is not an issue with CEON URI Mapping.
If you want to remove the "Query String" you need to use mod_rewrite instead of using mod_alias to issue the redirect. Keep in mind if you change the location in the Zen Cart admin in the future you will end up with chained 301 redirects.
If you must use a 301 in the .htaccess file... Only use ONE of the following rules (based upon your needs).
Code:
#Place before other CEON URI Mapping Rules (METHOD 1)
#This matches based upon only the URI ignoring the Query String
RewriteRule ^/theater-swords.html$ /fantasy-swords.html [R=301,L]
#Place before other CEON URI Mapping Rules (METHOD 2)
#This matches based upon the URI and the Query String
RewriteCond %{QUERY_STRING} ^pg=2html=theater-swords$
RewriteRule ^/theater-swords.html$ /fantasy-swords.html [R=301,L]
Bookmarks