What is robots.txt?
robots.txt is a plain-text file at a site's root that tells crawlers which paths they may request. It is a directive, not an enforcement mechanism.
Published
Definition
robots.txt is a plain-text file at the root of a domain that tells automated clients which paths they may request. It dates from 1994 and was standardized as RFC 9309 in 2022.
It is a set of instructions that well-behaved crawlers choose to follow. It blocks nothing by itself.
Why It Matters for AI Visibility
It is the first gate, and the one most often closed by accident. A single inherited Disallow rule, or a wildcard written to stop scrapers, can remove a site from AI search entirely — and nothing in your analytics will report it.
The second trap is subtler. Because robots.txt is only a request, a site can allow a crawler there while a firewall, CDN or bot-management service blocks the same crawler at the network layer. The two live in different systems and disagree more often than people expect. Checking robots.txt alone tells you what you intended; only a live fetch with the bot’s real user-agent tells you what actually happens.
Example
User-agent: GPTBot
Disallow: /private/
Allow: /
Sitemap: https://example.com/sitemap.xml
Related
- Content-Signal · GPTBot · llms.txt
- Tools: robots.txt Generator · AI Crawler Tester