I just did a redesign for www.wildchildclothes.com which has a new URL structure. The old site ran on Zen Cart and had a bad URL structure. Here are some examples of what I want to redirect from:
OLD: www.wildchildclothes.com/page.html?chapter=1&id=21 NEW: www.wildchildclothes.com
and...
OLD: www.wildchildclothes.com/index.php?main_page=faq_info&fcPath=0&faqs_id=13 NEW: www.wildchildclothes.com/customer-service.html
Here is what s in my .htaccess to achieve this:
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} ^([^&]*&)*chapter=1(&|$)
RewriteCond %{QUERY_STRING} ^([^&]*&)*id=21(&|$)
RewriteRule ^page.html http://www.wildchildclothes.com? [L,R=301]
RewriteCond %{QUERY_STRING} ^([^&]*&)*main_page=faq_info(&|$)
RewriteCond %{QUERY_STRING} ^([^&]*&)*fcPath=0(&|$)
RewriteCond %{QUERY_STRING} ^([^&]*&)*faqs_id=13(&|$)
RewriteRule ^index.php$ http://www.wildchildclothes.com/customer-service.html? [L,R=301]
But this doesn t work at all - I only get sent to my 404 page instead of begin redirected. Can anyone shed some light? The full .htaccess is posted below.
Thanks much, Jonah