I am using following robots.txt file for a site: Target is to allow googlebot and bingbot to access the site except the page /bedven/bedrijf/*
and block all other bots from crawling the site.
User-agent: googlebot
Disallow: /bedven/bedrijf/*
Crawl-delay: 10
User-agent: google
Disallow: /bedven/bedrijf/*
Crawl-delay: 10
User-agent: bingbot
Disallow: /bedven/bedrijf/*
Crawl-delay: 10
User-agent: bing
Disallow: /bedven/bedrijf/*
Crawl-delay: 10
User-agent: *
Disallow: /
Does the last rule User-agent: * Disallow: /
disallow all bots from crawling every pages on the site?
robots.txt
anywaysrobots.txt
, or at least theDisallow: /
rule. If your personal website is getting hammered into the ground because a bot programmer never considered that the server might be a Raspberry Pi on the wrong end of a 256 kbit connection, a blanket exclusion like this is useful.