The url I want to redirect is:
http://hostname/en/guides?country=275
...and I want to redirect to:
http://hostname/search/275
My rules is:
RewriteCond %{QUERY_STRING} ^country=(.*)$ [NC]
RewriteRule ^en/guides /search/%1 [NC,L,R=301]
... but the query string replacement is not working.
Do you know what's wrong with it ?
Thanks.



Reply With Quote


Bookmarks