How to 301 redirect a set of links containing a specific word in a string

0

I am trying to find a way to redirect http://www.windoorsa.com/products?option=com_virtuemart&page=shop.product_details&only_page=1&product_id=3540&pop=1&tmpl=component& where the product id is a variable (id=3540) as there are many links like this with different ids that all need to redirect to http://windoorsa.com/products

Your help is greatly appreciated

stephen

Posted 2013-03-28T12:03:30.630

Reputation: 1

1Can you give a specific example of a URL before and after the redirect? What you want isn't entirely clear. – Flup – 2013-03-28T12:06:20.307

I have added exactly the url I wanted to redirect http://www.windoorsa.com/products?option=com_virtuemart&page=shop.product_details&only_page=1&product_id=3540&pop=1&tmpl=component& it is created by a migration so it does not exist and google is indexing it, so I want to redirect it to http://windoorsa.com/products

– stephen – 2013-03-28T12:09:44.937

What webserver are you using? – Flup – 2013-03-28T12:10:43.017

Apache for a Joomla website – stephen – 2013-03-28T12:28:49.540

No answers