Technical GEO

How to Check and Fix Blocked GPTBot & PerplexityBot in robots.txt

Accidentally blocking ChatGPT, Perplexity or Claude crawlers? Learn how to inspect robots.txt & Cloudflare WAF settings and allow AI search bots safely.

By CitedPulse Research · Updated · 4 min read

TL;DR

  • Many hosting platforms and CDN defaults (including Cloudflare's AI Crawl Control toggle) block AI bots automatically — silently erasing your site from ChatGPT Search and Perplexity.
  • Understand the difference between training bots (GPTBot, Google-Extended) and live search bots (OAI-SearchBot, ChatGPT-User, PerplexityBot, Claude-SearchBot).
  • You can verify your live robots.txt and non-JS HTML readability in 2 seconds with CitedPulse's free AI Crawler Checker.
  • Allowing search bots while keeping private app routes (/api/, /dashboard) disallowed gives you maximum AI citations safely.

Which AI crawlers should you allow for search visibility?

Not all AI bots do the same job. If your goal is to be cited and recommended in live AI answers, make sure these search and user-triggered crawlers are allowed:

User-AgentOperatorPurpose
OAI-SearchBotOpenAIIndexes pages for ChatGPT Search
ChatGPT-UserOpenAIFetches pages on demand during a user's ChatGPT prompt
GPTBotOpenAIModel training crawler (optional; allowing helps brand recall)
PerplexityBot / Perplexity-UserPerplexityIndexes and retrieves live sources for Perplexity answers
ClaudeBot / Claude-SearchBotAnthropicCrawls web content for Claude

Copy-ready robots.txt template for GEO

Place this at https://yourdomain.com/robots.txt to explicitly welcome search and AI assistants while protecting private app routes:

User-agent: *
Allow: /
Disallow: /api/
Disallow: /dashboard

User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: GPTBot
User-agent: PerplexityBot
User-agent: Perplexity-User
User-agent: ClaudeBot
Allow: /
Disallow: /api/

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

After updating robots.txt, verify it immediately with our free AI Crawler Checker — and double-check Cloudflare's Security → Bots settings to confirm "Block AI Scrapers and Crawlers" is turned off for your marketing pages.

Frequently asked questions

Does blocking GPTBot stop my site from appearing in ChatGPT Search?

OpenAI documents OAI-SearchBot separately from GPTBot for ChatGPT Search, so blocking only GPTBot should not block OAI-SearchBot. However, allowing both maximizes both live search retrieval and long-term model recall.

Why did PerplexityBot still fail when my robots.txt says Allow: /?

CDN bot protection (such as Cloudflare Bot Fight Mode or WAF rules) or client-side-only JavaScript rendering can still block or return empty pages to AI bots even when robots.txt allows them.

How can I check if AI bots can read my React or Next.js site?

Run your URL through CitedPulse's free AI Crawler Checker at citedpulse.com/tools/ai-crawler-checker — it fetches the raw HTML without executing JavaScript and counts how many characters AI bots actually see.

Related