I am having some problems creating a 301 redirect in my .htaccess. The reason I am doing this is I do not want to remove some out of date products from the site rather I want the customer to still be able to click on the discontinued product link when listed using the products.tpl however have it link to the new replacement product This is what I have entered in my .htaccess:
redirect 301 /mydir/customer/product.php?productid=100001&cat=&page=1
http://www.mysite.com/mydir/customer/product.php?productid=100002&cat=&page=1
I think the problem has to to with the usage of the "?" and "&" in the document location. I have other 301 redirects established in my .htaccess for static pages that are working jsut fine. Any help would be great!