Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Robots.txt Clarification smartcard msg:3497413 5:41 am on Nov 6, 2007 (gmt 0) I know that I can Disallow a file, but can I Disallow a file URL that are coming with extra values such as
Can I make my robots.txt file with the following line to avoid the above type of URLs not to be index in search engines?
phranque msg:3497431 6:30 am on Nov 6, 2007 (gmt 0)
Disallow is supposed to work for files and directories and you may specify a partial name. however, there is no mention of support for query strings in the protocol, so i wouldn't count on anything there... Achernar msg:3497687 1:25 pm on Nov 6, 2007 (gmt 0)
As far as I know, and by what I've seen of bots' behavior, if you don't place a wildcard in the middle of the argument string, even msnbot will understand your syntax. smartcard msg:3497703 1:59 pm on Nov 6, 2007 (gmt 0)
I have done the following:
Any suggestions and recommendations welcome.
LordLink msg:3503568 10:44 am on Nov 13, 2007 (gmt 0)
Using? on index.php tells search engines to ignore all the files with arguments
You can try using wildcards if you want to disallow only the files with cat_id for example:
edited by: LordLink at 10:45 am (utc) on Nov. 13, 2007]