Day 1: Crawling 9
Shown on screen 2
Googlebot ignores an unknown line, such as a Content-signal line, placed between two user-agent lines and joins both user agents into one group, so the rules that follow apply to both; in the slide's example both are blocked.
Speaker GoogleIn Day 1, 15:10 · How Google interprets robots.txtEvidence slide photo, transcript
Used byrequirement DEV-SRV-06
- Extended by D1-C526 Day 1: The real trouble is an unknown line placed between two user-agent lines: while writing RFC 9309, Google asked…
Bing closes the robots.txt group at an unknown line placed between two user-agent lines, so in the slide's example bingbot ends up not blocked while Googlebot is; the slide warned that different crawlers behave differently.
“Unpredictability is never a good time.”
Wording checked against the slide or recording
Speaker GoogleIn Day 1, 15:10 · How Google interprets robots.txtEvidence slide photo, transcript
Used byrequirement DEV-SRV-06
- Extended by D1-C526 Day 1: The real trouble is an unknown line placed between two user-agent lines: while writing RFC 9309, Google asked…
Said on stage 5
A user-agent line with its allow and disallow rules forms a user-agent group, and one group can name several crawlers (the talk's example: Googlebot and Bingbot); give named crawlers their own group only when they need rules the * group should not grant to every crawler.
Speaker GoogleIn Day 1, 15:10 · How Google interprets robots.txtEvidence transcript
Used byrequirement DEV-SRV-10glossary term User-agent group
- Extends D1-C080 Day 1: Rules can be grouped for several crawlers by repeating user-agent lines. A crawler follows only the most…
The real trouble is an unknown line placed between two user-agent lines: while writing RFC 9309, Google asked people whether the first crawler should then inherit the rules that follow, and opinions split roughly 50-50 (how the talk said the question was settled is unclear in the recording).
Speaker GoogleIn Day 1, 15:10 · How Google interprets robots.txtEvidence transcript
Used byrequirement DEV-SRV-06
- Extends D1-C087 Day 1: Googlebot ignores an unknown line, such as a Content-signal line, placed between two user-agent lines and…
- Extends D1-C123 Day 1: Bing closes the robots.txt group at an unknown line placed between two user-agent lines, so in the slide's…
The talk's fix for giving one crawler both an extra rule and the rules of another group: simply add another group for that crawler. Google's spec combines all groups that name the same user agent into one.
Speaker GoogleIn Day 1, 15:10 · How Google interprets robots.txtEvidence transcript
Used byrequirement DEV-SRV-10glossary term User-agent group
- Extends D1-C080 Day 1: Rules can be grouped for several crawlers by repeating user-agent lines. A crawler follows only the most…
In the talk's quiz, the answer for letting Googlebot crawl /staging/preview/ while keeping the rest of /staging/ closed to it was a user-agent: googlebot group with both rules, disallow /staging/ and allow /staging/preview/, rather than an allow in the * group or a Googlebot group with only the allow.
Speaker GoogleIn Day 1, 15:10 · How Google interprets robots.txtEvidence transcript
Used byrequirement DEV-SRV-10
- Extends D1-C080 Day 1: Rules can be grouped for several crawlers by repeating user-agent lines. A crawler follows only the most…
Dave Smart said robots.txt groups are not additive: if a group matches a crawler's user agent, only that group's rules apply, so a googlebot group that blocks /dogs/ leaves Googlebot free to crawl the /goats/ and /cows/ that the * group blocks.
Speaker Dave SmartIn Day 1, 15:30 · Lightning session B: Robots.txtEvidence transcript
Used byrequirement DEV-SRV-10glossary term User-agent group
- Extends D1-C080 Day 1: Rules can be grouped for several crawlers by repeating user-agent lines. A crawler follows only the most…
What Google's documentation says 1
Rules can be grouped for several crawlers by repeating user-agent lines. A crawler follows only the most specific group that names it.
Publisher GoogleAnnotates Day 1, 15:10 · How Google interprets robots.txt
Used byrequirements DEV-SRV-05, DEV-SRV-10glossary term User-agent group
- Extended by D1-C519 Day 1: A user-agent line with its allow and disallow rules forms a user-agent group, and one group can name several…
- Extended by D1-C527 Day 1: The talk's fix for giving one crawler both an extra rule and the rules of another group: simply add another…
- Extended by D1-C531 Day 1: In the talk's quiz, the answer for letting Googlebot crawl /staging/preview/ while keeping the rest of…
- Extended by D1-C533 Day 1: Dave Smart said robots.txt groups are not additive: if a group matches a crawler's user agent, only that…
Analysis by the author 1
Content-Signal lines are now common because a large CDN provider adds them to its managed robots.txt files. Never place any non-standard directive between user-agent lines; put it after a group's rules and test the file with each search engine's tools, such as Bing's robots.txt tester and Google's open-source robots.txt parser.
Author Ibrahim AnjroAnnotates Day 1, 15:10 · How Google interprets robots.txt
Used byrequirement DEV-SRV-06