Rewrite Specific Querystring URL
Lets say I have a URL as follows: http://www.testing.com/?id=1234
I want to take that specific URL and specific querystring and 301 re开发者_如何学Pythondirect ONLY it with a RewriteRule. So, http://www.testing.com/?id=12345 would not be redirected
Try this:
RewriteCond %{QUERY_STRING} id=1234$
RewriteRule (.*) /some/newurl [R=301,L]
Hope this helps
精彩评论