Research Guides
Check Which Robots Group Your Crawler Actually Uses
When a robots.txt file has both a generic group and a group for a named crawler, a rule in the generic group may not apply to that crawler. Check which group the crawler uses before deciding whether a path is crawlable.
Separate host scope from group selection
First confirm that you have the robots.txt file on the right host using the host-scope worksheet. Then identify the crawler. Google’s robots.txt specification says that its crawlers choose the most specific matching user-agent group. Multiple groups for the same matching user agent combine, but a specific group does not also inherit the wildcard group. Putting one group first does not change the result.
Use a two-path fixture
In a fictional file, put Disallow: /drafts/ under User-agent: * and Disallow: /lab/ under a separate User-agent: Googlebot group. For Googlebot, the chosen group blocks /lab/example but does not block /drafts/example. A crawler using only the wildcard group sees the reverse result, assuming it interprets the rules the same way.
If the site owner means Googlebot to avoid both paths, put both rules in its group and retest. If duplicate named groups exist, read their combined rules before reaching a conclusion. Treat this as a fixture, not a reason to modify a live file without review.
Keep one decision record per crawler
Copy this worksheet: Host and robots URL | crawler name | chosen group | matched path | expected crawl result | observed result | check date.
A robots decision tells you about crawling, not whether a URL is private or indexed. Use access controls for material that must not be publicly available.