Command Line Parameter ignored
-
Hi,
I had a nasty break-in but all is restored now. What is left are links known to Google Search Console of the form example.com/?y=123456 that I want to return with a 404 so that Google will eventually forget about them.
But whatever I do, any command line parameter that I add to my sites URL, ends on my sites page, ignoring this parameter.
I tried
RewriteEngine On
RewriteCond %{QUERY_STRING} ^[a-zA-Z]=[0-9]+$
RewriteRule ^ – [R=404]to force a 404 on parameters like y=123456, but it does not have any effect.
I believe, this .htaccess setting is processed, because if I replace [0-9] with a single period to make the value of the parameter a string of any characters, a few pages in the the backend settings pages are mangled.
I am standing at a complete loss – can anybody shed some light on this?
Cheers,
MerlinPS: I am using a child of twentytwelve with only minor tweaks.
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.