I need to modify my htaccess file to cause any URL that contains a ? to return a 404 file status. I will pay $10 via paypal to the first person who can write me working code. Thanks.
Try this code: RewriteEngine on RewriteBase / RewriteRule ^([-_A-Za-z0-9]+)?([-_A-Za-z0-9]+) pathtoyour404.html [L] Code (markup):
Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteRule \? 404.html [L] RewriteCond %{QUERY_STRING} . RewriteRule . 404.html [L] Hope it works