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.
turns out to be only about 25% of the redirects are for products/categories/pages that are on the current site - so 75% are for old pages, non-existant pages, and blog pages..
This is not an issue with CEON URI Mapping.
yes i think i stated that - it works great..
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