Hello,
I am having problems with removing the appended query statement in the following rewrite:
http://www.anydomain.com/error_message. ... 1d4ce70bb3
RewriteCond %{REQUEST_URI} ^error_message\.php$
RewriteCond %{QUERY_STRING} ^product_disabled(.*)$
RewriteRule ^.*$ http://www.anydomain.com/index.html? [R=301,L]
I get many of these requests for non existent files and my 404 program sends me an email on all of the requests that are bad. I just want to capture this kind of request and redirect it to another location.
Please tell me how to accomplish this redirect.
Thanks,
Randal