• Welcome to DNForum.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars
    If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the oldest global domain name community on the internet and continues to grow every day. There are over 45,000 domainers on DNForum doing everything from buying domains, selling domains, using our free in-house built tools, learning about domains and discussing domains. Take a minute and Register.

Wanted: Service spiders, how to block?

Status
Not open for further replies.

stevey

DNF Regular
The Originals
Legacy Exclusive Member
Joined
Aug 23, 2004
Messages
679
Reaction score
0
thanks for the help :)
 
I'm not too sure your suggested robots syntax is correct. I did a test robots.txt file as per your suggestion and ran it through an online validator and this is what I got:
Disallow: http://www.mysite.com/index.php?url=*
The "*" wildchar in file names is not supported by (all) the user-agents addressed by this block of code. You should use the wildchar "*" in a block of code exclusively addressed to spiders that support the wildchar (Eg. Googlebot).
You can't use an absolute URL. Please remove the "http://" and the domain name and insert just a file/directory full path, starting from the root directory (Example: /pagename.html).

The Disallow field has an inherent wildcard nature. The standard dictates that /bob would disallow /bob.html and /bob/index.html (both the file bob and files in the bob directory will not be indexed). Another example, Disallow: /help disallows both /help.html and /help/index.html, whereas Disallow: /help/ would disallow /help/index.html but allow /help.html

So perhaps your robots.txt file should rather just read:
User-agent: *
Disallow: /index.php?

References:
 
Status
Not open for further replies.
Back
Top Bottom