Forum Moderators: phranque
RewriteCond %{QUERY_STRING} ^doc_ID=([0-9]{2})$
RewriteRule ^news\.php$ http://www.example.com/NewsAndFeatures/index.php?news_ID=%1 [R=301,L]
BUT, when using it in the following manner i have an issue.
RewriteCond %{QUERY_STRING} ^type=misc&value=33$
RewriteRule ^sub\.asp$ [domain.com...] [R=301,L]
The re-direct works perfectly, but the addressbar shows
[domain.com...]
(the query string gets appended to the new url)
How do you prevent that?