My CMS is constantly causing errors in Google WMT. We are talking tens of thousands.
Each page has stuff like "report this file" etc. But when Google clicks it, it leads to an error page.
There are tons of issues like this, which I am going to go through, one at at time and fix.
However, all of these URLs are index.php?something
I want to block Google from accessing all URLs that contain index.php?
What is the safest way to do this?
User-agent: *
Disallow: /index.php?
Will this work and not inadvertently block / somehow?