Why Wildcard robots.txt Rules Break AI Search Traffic
A single misplaced Disallow: / rule or copied boilerplate file can quietly erase your site from AI answer engines for months. This tester parses either your live /robots.txt or pasted draft rules and reports the exact winning directive for 19 AI bots on any path you choose.
Search vs. Fetcher vs. Training Bot Policies
Understanding bot roles lets you protect proprietary datasets without sacrificing referral traffic:
| Bot Category | Example User-Agents | Recommended GEO Policy |
|---|---|---|
| AI Search Indexers | OAI-SearchBot, PerplexityBot, Claude-SearchBot, Amazonbot |
Allow / on all public marketing, pricing, and docs pages |
| Real-Time User Fetchers | ChatGPT-User, Perplexity-User, Claude-Web, Meta-ExternalFetcher |
Allow / so live assistant browsing can read current prices |
| Model Training Crawlers | GPTBot, ClaudeBot, Google-Extended, CCBot, Applebot-Extended |
Allow or Disallow selectively based on your licensing stance |
All 19 AI Crawlers Checked in This Matrix
- OpenAI:
GPTBot(Training),OAI-SearchBot(Search),ChatGPT-User(Fetcher). - Perplexity:
PerplexityBot(Search),Perplexity-User(Fetcher). - Anthropic:
ClaudeBot(Training),Claude-SearchBot(Search),Claude-Web(Fetcher),anthropic-ai(Training). - Google & Apple:
Google-Extended(Training),GoogleOther(Training),Applebot-Extended(Training). - Meta, Amazon & Common Datasets:
Meta-ExternalAgent,Meta-ExternalFetcher,Amazonbot,CCBot,Bytespider,cohere-ai,Diffbot.
Exact RFC 9309 Precedence Rules Explained
Per RFC 9309, Google robots.txt documentation, and Anthropic crawler guidelines, crawlers resolve conflicts in three deterministic steps:
- Specific agent beats wildcard: If a
User-agent: GPTBotblock exists,GPTBotignores theUser-agent: *block completely. - Longest path prefix wins:
Allow: /blog/publicoverridesDisallow: /blogbecause its matched path is longer. - Allow beats Disallow on ties: If both
Allow: /docsandDisallow: /docsmatch at equal length,Allowwins.
Example Policy: Allow AI Search, Opt Out of Training
User-agent: OAI-SearchBot
Allow: /
User-agent: ChatGPT-User
Allow: /
User-agent: PerplexityBot
Allow: /
User-agent: GPTBot
Disallow: /
User-agent: CCBot
Disallow: /
User-agent: *
Allow: /
Sitemap: https://yourdomain.com/sitemap.xml
Wildcard and Pattern Gotchas to Avoid
- Trailing wildcard trap:
Disallow: /appblocks/app,/app/, and/apple-guide; add a trailing slash (Disallow: /app/) when targeting only a folder. - End-of-URL anchor (
$): UseAllow: /$to permit only the homepage while disallowing deeper dynamic routes. - Query-string duplicates: Disallowing
/*?sort=or/*?session=stops AI crawlers from wasting crawl budget on filtered parameter URLs. - Missing Sitemap pointer: Adding
Sitemap: https://yourdomain.com/sitemap.xmlat the bottom helps new pages get discovered faster by search bots.
Double-Check Live HTTP Status After Editing
Updating robots.txt does not override CDN or WAF blocks. After deploying your rules, verify real HTTP 200 delivery in our AI Crawler Access Checker or run the complete 30-Point GEO Score Checker.