I've got another redirect I'm having some issues on.
While it DOES redirect, once the page loads, the rule somehow adds everything after the question mark at the end of the URL.
So, badexample.com would show up as badexample.com/?p=1297
Here's the rule:
RewriteCond %{REQUEST_URI}?%{QUERY_STRING} ^/wordpress/\?p=1297$
RewriteRule ^.*$ http://www.badexample.com [R=301,L]
Any ideas on this one?