mardi 4 août 2015

RewriteRule for query string to static URL

I have a tag based search button linking to http://ift.tt/1Dq9dby that I want to rewrite in the browser to display as "http://ift.tt/1Dq9bAF (but still pull the content from that original URL).

Its a purely aesthetics move, I have tried:

RewriteEngine On
RewriteCond %{QUERY_STRING} ^tag=tanks
RewriteRule ^product/search/$ /tanks/ [L,QSA,NC]

Doesnt work for me, any suggestions?

Aucun commentaire:

Enregistrer un commentaire