Technical

Is your robots.txt accidentally blocking ChatGPT and Claude?

Many sites inherited robots.txt rules from the SEO era that now block GPTBot, ClaudeBot, and Googlebot-Extended. A 5-minute check that could be costing you AI citations.

Neil Walsh·May 2026·4 min read

Your robots.txt file is a set of instructions to web crawlers: which pages they can fetch and which they should skip. In the SEO era, most robots.txt configurations were written with Google and Bing in mind. Then a wave of AI crawlers arrived with their own user agents - and many sites are blocking them without knowing it.

A blocked AI crawler cannot index your content. If GPTBot cannot read your pages, ChatGPT cannot cite them. It is as simple and as expensive as that.

The AI crawler user agents you need to know

Each AI company sends crawlers with specific user agent strings. Here are the ones that matter most for AEO:

  • GPTBot - OpenAI's crawler for ChatGPT and the OpenAI API retrieval pool
  • OAI-SearchBot - OpenAI's real-time search crawler (separate from GPTBot)
  • ClaudeBot - Anthropic's crawler for Claude's knowledge base
  • anthropic-ai - Anthropic's secondary crawler identifier
  • PerplexityBot - Perplexity AI's retrieval crawler
  • Googlebot-Extended - Google's crawler for Gemini and Bard content
  • CCBot - Common Crawl, used as a training data source by many AI companies
  • Meta-ExternalAgent - Meta's crawler for Meta AI (Llama-based products)
  • Applebot-Extended - Apple's crawler for Apple Intelligence

The most common blocking mistakes

Mistake 1: Wildcard User-agent with Disallow

The most common mistake is a catch-all rule that blocks all non-Googlebot crawlers. A configuration like this blocks every AI crawler:

text
User-agent: *
Disallow: /

User-agent: Googlebot
Allow: /

This pattern was common advice in the early 2010s to prevent scrapers. Today it also blocks every AI crawler not explicitly named. The fix is to either add each AI user agent explicitly, or restructure to a default-allow pattern.

Mistake 2: Blocking /api/ paths that render content

Many Next.js and headless sites serve their readable content through API routes. If Disallow: /api/ covers paths that a crawler would need to access for core content, you are effectively invisible.

Mistake 3: A malformed robots.txt

A syntax error - missing colon, wrong casing, or a blank line in the wrong place - can cause some crawlers to interpret the whole file as blocking. Validate with Google Search Console's robots.txt tester after any change.

The recommended robots.txt for AEO

text
User-agent: *
Allow: /
Disallow: /api/
Disallow: /admin/
Disallow: /private/

Sitemap: https://yoursite.com/sitemap.xml

This configuration allows all crawlers by default and only restricts paths that should not be indexed. It is the safest pattern for AEO because it does not require you to enumerate every AI user agent as new ones emerge.

What about llms.txt?

llms.txt is an emerging convention (inspired by robots.txt) where you place a file at /llms.txt that gives AI models a structured summary of your site - what it does, key pages, what you want models to know about you. It is not yet adopted by any major AI crawler as a standard, but early adoption is low-cost and potentially high-reward as the standard evolves. CiteRank checks for its presence as part of the AI crawler access audit. A step beyond a static summary is an MCP server, which lets an agent query your data directly instead of just reading about it.

An allowed robots.txt entry only means a crawler is permitted to fetch your pages, not that it actually did. Server log analysis is the only way to confirm GPTBot, ClaudeBot, and PerplexityBot are really visiting - and it catches the WAF rules and JavaScript rendering gaps that block them even when robots.txt looks correct.

Run a free CiteRank audit to check your robots.txt configuration in seconds. The crawler access check flags exactly which user agents are blocked and shows you the specific rules causing the block.

Frequently asked questions

What is GPTBot and should I allow it?

GPTBot is OpenAI's web crawler that indexes content for ChatGPT and the OpenAI API. Allowing GPTBot means your content can be cited in ChatGPT responses. OpenAI's documentation confirms that sites allowing GPTBot are eligible for inclusion in ChatGPT's real-time web retrieval. Most sites should allow it unless they have specific legal or competitive reasons not to.

Can I allow some AI crawlers and block others?

Yes. You can specify each user agent individually in robots.txt with different rules. For example, you might allow GPTBot and ClaudeBot but disallow CCBot (Common Crawl, often used for training data rather than live retrieval). This gives you fine-grained control over which AI products can index your content.

Will blocking AI crawlers affect my Google SEO?

Blocking AI-specific crawlers like GPTBot or ClaudeBot has no direct effect on traditional Google search rankings. Googlebot (the standard Google crawler) is separate from Googlebot-Extended (used for AI products). You can block all AI crawlers without affecting your Google search rankings. The cost is purely in AI citation rates.

How do I check if my robots.txt is blocking AI crawlers?

Paste your URL into CiteRank for an instant check - the crawler access audit reads your actual robots.txt and tests each AI user agent against it. Alternatively, fetch yoursite.com/robots.txt directly and look for any Disallow rules that apply to the AI user agents listed in this article.

Free tool

See your AEO score in seconds

Paste your URL and get a full audit across all 9 AEO signals - schema, crawlers, E-E-A-T, and more.

Audit my site - it's free

Related reading

Technical

Why Schema.org markup is the single biggest lever for AI citation

May 2026
Strategy

E-E-A-T for AI: How to signal expertise so models cite you

April 2026