robots.txt Disallow
Requests compliant crawlers not to fetch matching URL paths on a hostname. Governed by RFC 9309, robots.txt controls crawling—not indexing or access authorization.
Verified
Syntax / Example
User-agent: GPTBot Disallow: / User-agent: * Disallow: /admin/
Verify On A Live URL
curl -sI https://example.com/robots.txt | head -n 5 && curl -s https://example.com/robots.txt
Documented Facts For robots.txt Disallow
| Metric or Rule | Documented Value | Source |
|---|---|---|
| Sites with a working HTTP 200 robots.txt | 84.9% (13.2% return 404) | HTTP Archive Web Almanac 2025 (SEO Chapter)Checked November 25, 2026 |
| Minimum parser size limit | 500 KiB | RFC 9309: Robots Exclusion ProtocolChecked November 25, 2026 |
| Standard cache lifetime | Up to 24 hours | RFC 9309: Robots Exclusion ProtocolChecked November 25, 2026 |
| HTTP 5xx error on robots.txt | Crawler MUST assume complete disallow | RFC 9309: Robots Exclusion ProtocolChecked November 25, 2026 |
Official Specification & Google Behavior
Per RFC 9309, crawlers follow the most specific matching User-agent group and ignore all other groups, cache rules up to 24 hours, and read at least 500 KiB. A 5xx error on robots.txt forces complete disallow; a 4xx permits full access.
SEO & Indexing Impact
Saves crawl capacity on huge sites, but blocking an already-linked URL can leave it indexed without a description and hides any noindex tag on the page.
Backlink Monitoring Verdict
If robots.txt disallows Googlebot on a page carrying a sold link, Google never fetches the page or reads the backlink.
Common Pitfalls
- Adding a named group (e.g., User-agent: OAI-SearchBot) without repeating Disallow: /admin/ causes that bot to ignore User-agent: * rules.
- Treating robots.txt as security—RFC 9309 explicitly states rules are not access authorization, and user-fetch AI bots often bypass them.
Frequently Asked Questions
- Does Disallow in robots.txt remove a page from Google?
- No, Disallow stops crawling, not indexing. If other sites link to the URL, Google may still index the address without a description.
- What happens if my robots.txt returns a 500 error?
- Under RFC 9309, a 5xx server error on robots.txt instructs compliant crawlers to assume complete disallow and pause crawling.
- Why must I repeat Disallow: /admin/ inside named bot groups?
- Because crawlers match only the most specific User-agent group and ignore User-agent: * once a specific group matches.
Primary Sources
Verified
- RFC 9309: Robots Exclusion ProtocolNovember 25, 2026
- HTTP Archive Web Almanac 2025 (SEO Chapter)November 25, 2026
Related Research Guides
- October 30, 2026How To Block AI Crawlers In Robots.txt: Every Bot, Sorted By Job80% of AI crawling feeds model training. See how to block AI crawlers in robots.txt, bot by bot, with block rates and a file to copy.
- November 20, 2026How Google Search Works: Crawling, Indexing And Ranking In Numbers61.94% of 16 million tracked pages were not indexed. See how Google Search works: crawling, indexing and ranking, with Google's own numbers.
- November 24, 2026How To Check If A Backlink Is Dofollow, Live And Indexed32.3% of pages carry a nofollow link. How to check if a backlink is dofollow, live and indexed, with free tools and proof a buyer can verify.