I wish to set up some 301 redirects to new URLs and I am trying to do this with the redirect facility in cPanel. For some reason the requests are not being processed correctly and I am guessing that this is because the old URLs are query based.
It looks like I will have to modify my .htaccess file manually and my question is: what is the correct syntax to use, based on the examples given below.
http://www.mydomain.com/products.asp?category=42
needs redirecting to http://www.mydomain.com/products/new-category
.