Forum Moderators: phranque

Message Too Old, No Replies

301 redirect on query strings without mod rewrite.

301 redirect on query strings without mod_rewrite...

         

vacorama

3:18 pm on Jul 27, 2006 (gmt 0)

10+ Year Member



hey,
i wasn wondering if anyone can help me out. I don't know much about mod_rewrite and im working on a time sensitive issue.. Basically i have to move an e-commerce site to a new CMS and the bulk of the pages are in a directory and accessed via query strings. The good thing is i have a list of all query stings (urls) and the corresponding new ones. So i was hoping to use plain 301 redirects in .htaccess but apparently the "?" is screwing everything up... is there a simple solution i can use here...? any help would be much appreciated...

assuming .htaccess is in the Merchant2 directory... this works on normal html pages, but breaks when there is a "?"...

//Doesn't work...
redirect 301 /Merchant2/merchant.mv?Screen=PROD NEW_URL_HERE