robots.txt
Also known as: Robots Exclusion Protocol
The file always lives at /robots.txt. Per user agent you set rules with Allow and Disallow, and you can reference your XML sitemap. The protocol dates from 1994 and was published as an internet standard in 2022 (RFC 9309). Well-behaved crawlers respect it; it is not a security measure.
Why it matters
Many sites block AI crawlers without realising it, for example through a default setting in a CDN or plugin. If you block an assistant's search bot, it cannot fetch your pages and therefore cannot cite them.
How to approach it
- Make a deliberate choice per bot: training (Google-Extended, GPTBot) is different from search (OAI-SearchBot, Claude-SearchBot, PerplexityBot).
- Note:
Disallowprevents crawling, not indexing. Use noindex to keep a page out of the results. - Test after every change with a robots tester or a free scan.
Sources
Related terms
How does your site perform?
The free scan checks your technical setup and measures whether ChatGPT, Gemini, Claude and Perplexity mention you.