Hi All,
I'm trying to write what I thought was a pretty simple rule but either I'm missing something painfully obvious or it isn't such a simple rule. In fact two others have looked at it and no one can seem to tell what I'm doing wrong.
I just moved a site to a new platform and need to set up some 301 redirects from dynamic pages to specific urls.
products.asp?dept=15
needs to be redirected to http://www.example.com/products/collections/gourmet-side-dishes
All the examples I've found point me to something that looks like:
RewriteCond %{query_string} &dept=15
RewriteRule ^/products\.asp$ http://www.example.com/products/collections/gourmet-side-dishes/? [R=301,L]
However, this isn't working. Please help! I need to stop these pages from going to a 404.
Thanks in advance, Seth