will that cause any problem with my index.php? i mean will those spiders really be ‘disallowed’ and not index my index.php file?? and hence my entire site will not be indexed?
That should work. The specs say -
“this field specifies a partial URL that is not to be visited. This can be a full path, or a partial path; any URL that starts with this value will not be retrieved.”
Since you just wish to disallow just one page, add this meta tag to it -
<META NAME=“ROBOTS” CONTENT=“NOINDEX, NOFOLLOW”>
Different people have had confusions in the past as different spiders understand robots.txt differently, while some allow regexp, some might not. So in that case the ? symbol might be an issue.