Reputation: 93
I want to 301 redirect some URLs which contain "option=com_virtuemart". I tried with this code:
RewriteCond %{QUERY_STRING} ^option=com_virtuemart RewriteRule ^(.*)$ http://www.newsite.com/$1 [L,R=301]
But it doesn't work.
Upvotes: 0
Views: 697
Reputation: 93
The code is working, but the server is disabled htaccess controll..
Upvotes: 0