STEP-BY-STEP GUIDE··4 min technical read

How to Fix Cloudflare HTTP 403 Blocks on OAI-SearchBot, PerplexityBot & Claude-SearchBot (2026 Guide)

17.6% of websites allow AI bots in robots.txt while unknowingly blocking OAI-SearchBot, PerplexityBot, and Claude-SearchBot at the Cloudflare WAF layer. Here is the exact custom WAF skip rule and split-policy robots.txt fix.

Why does Cloudflare block PerplexityBot and Claude-SearchBot even when robots.txt says Allow?

Cloudflare blocks PerplexityBot, Claude-SearchBot, and OAI-SearchBot because Edge Bot Fight Mode and Managed Challenge rules inspect TLS fingerprints and automated request velocity before your static /robots.txt file is ever evaluated—returning an HTTP 403 Forbidden or JavaScript challenge that non-JS AI crawlers cannot solve.

In empirical crawls across commercial SaaS and e-commerce domains following Cloudflare's automated AI crawler controls rollout, 17.6% of websites suffered from a 'Policy vs. Bouncer' mismatch. While marketing teams verified that their /robots.txt file permitted wildcard user agents, edge firewall logs revealed that live retrieval fetches from Perplexity (100% live web RAG) and Claude (80% live web RAG) were terminated at the CDN perimeter. Because AI retrieval agents operate under strict 1.5-second latency budgets and zero JavaScript execution, any managed challenge immediately removes your domain from the synthesized answer.

How do you configure a Split-Policy robots.txt and Cloudflare WAF rule for AI search citations?

To maximize AI search citations without surrendering proprietary content to uncompensated training scrapers, deploy a split-policy /robots.txt that explicitly allows OAI-SearchBot, ChatGPT-User, PerplexityBot, Claude-SearchBot, and Google-Extended while disallowing CCBot and Bytespider, paired with a Cloudflare WAF Custom Skip rule.

OpenAI, Anthropic, and Perplexity officially separate their live search citation crawlers from their foundation model training scrapers. By whitelisting the search-specific User-Agent strings inside Cloudflare Security -> WAF -> Custom Rules with the action set to 'Skip Managed Challenge and Super Bot Fight Mode', your server delivers clean HTTP 200 responses in under 400 milliseconds. Pages that respond to live retrieval bots in under 0.4 seconds earn an average of 6.7 AI citations compared to just 2.1 citations for slower or challenged pages.

AI Search Citation Crawlers vs. Training Scrapers — Split-Policy Matrix (Verified October 2026)

AI Search Citation Crawlers vs. Training Scrapers — Split-Policy Matrix (Verified October 2026)
Crawler User-AgentAI Platform & RoleExecutes Client JS?Recommended Policy
OAI-SearchBot / ChatGPT-UserChatGPT Search Live CitationsNo (Raw HTML only)ALLOW in robots.txt + WAF Skip
PerplexityBotPerplexity Live RAG AnswersNo (Demotes JS pages)ALLOW in robots.txt + WAF Skip
Claude-SearchBot / Claude-UserClaude Web Search CitationsNo (Zero JS execution)ALLOW in robots.txt + WAF Skip
CCBot / BytespiderBulk Model Training ScrapersNoDISALLOW in robots.txt

Copy-Paste Cloudflare WAF Custom Rule Expression + Split-Policy robots.txt

Ready-to-Use Template
# 1. Cloudflare WAF Custom Rule Expression (Action: Skip -> All Super Bot Fight Mode & Managed Challenges)
(http.user_agent contains "OAI-SearchBot") or (http.user_agent contains "ChatGPT-User") or (http.user_agent contains "PerplexityBot") or (http.user_agent contains "Claude-SearchBot") or (http.user_agent contains "Claude-User") or (http.user_agent contains "Google-Extended")

# 2. /public/robots.txt
User-agent: OAI-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Claude-SearchBot
Allow: /

User-agent: CCBot
Disallow: /

Get this exact fix custom-written for your website in 15 seconds

Enter your website or pricing page below to run a free, plain-English checkup across ChatGPT, Perplexity, Claude, and Google AI:

Step 1: Enter the page you want AI assistants to recommend
Takes ~15 seconds
Free 15s checkupPlain-English guideNo account required
Try:or