Warningagents.ai-search-blocked

robots.txt keeps AI search engines off the page

Why it matters

ChatGPT search, Claude, Perplexity and DuckDuckGo's AI-assisted answers each build the index they cite from with a crawler of their own, and each obeys robots.txt. A page robots.txt keeps them from can't be quoted or linked in those answers, however well it does in Google. OpenAI says a site that blocks OAI-SearchBot "will not be shown in ChatGPT search answers".

Search and training are separate crawlers, and blocking one does nothing to the other. OpenAI's GPTBot reads for model training and its OAI-SearchBot for ChatGPT search; Anthropic splits ClaudeBot from Claude-SearchBot, and Perplexity says PerplexityBot "is not used to crawl content for AI foundation models". So a site can keep its words out of training and still be found in AI search.

We judge robots.txt for each crawler as for any other: the group that names it, else User-agent: *. A rule for every crawler, written before these existed, is the usual way a site blocks them without meaning to. We say nothing when Google can't read the page either: that is a bigger problem, with a rule of its own.

Sources: OpenAI's crawlers, Anthropic's crawlers, Perplexity's crawlers, DuckAssistBot.

How to fix it

Open /robots.txt and change the group we name so the search crawlers may read the page. To keep model training out while letting AI search in, name them apart:

User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
User-agent: CCBot
Disallow: /

User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
User-agent: DuckAssistBot
Allow: /

If keeping AI search out is deliberate, switch this rule off for the site.

Examples

These are the rule's own test pages, and what it says about each. They are run on every change to the rule book.

They differ only in what the server answered:

allows this page

Warningrobots.txt keeps ChatGPT search (OAI-SearchBot), Claude's web search (Claude-SearchBot), Perplexity (PerplexityBot) and DuckDuckGo's AI-assisted answers (DuckAssistBot) off this page, so it can't be cited in their answers (Disallow: /). The rule is one for every crawler (User-agent: *), which these fall under unless robots.txt names them.

fail-everyone
allows this page

Warningrobots.txt keeps ChatGPT search (OAI-SearchBot) off this page, so it can't be cited in their answers (Disallow: /). If that is deliberate, switch this rule off for the site.

fail-named
allows this page

Passedrobots.txt lets AI search crawlers read this page (OAI-SearchBot, Claude-SearchBot, PerplexityBot and DuckAssistBot).

pass-allowed
allows this page

Passedrobots.txt lets AI search crawlers read this page (OAI-SearchBot, Claude-SearchBot, PerplexityBot and DuckAssistBot).

pass-training-only