ShipBastion / Security guides / Allow GPTBot, ClaudeBot and PerplexityBot through Cloudflare's WAF
Allow GPTBot, ClaudeBot and PerplexityBot through Cloudflare's WAF
robots.txt is a polite request. Your CDN is the bouncer. If Cloudflare's bot protection challenges GPTBot or ClaudeBot, AI search engines cannot read your pages no matter what robots.txt says.
Free scan. Sign in with Google to see the full report; paid plans start with a 7-day free trial.
1. Check the AI bot setting
In the Cloudflare dashboard, open Security, then Bots. The setting that blocks AI scrapers and crawlers applies to every AI bot Cloudflare recognises. Turn it off if you want to appear in AI answers, then decide per bot in robots.txt.
2. Add a WAF skip rule for verified AI crawlers
Create a custom rule with the action Skip (skip the remaining custom rules, rate limiting and Super Bot Fight Mode). Cloudflare verifies these bots by IP, so a spoofed user-agent does not match.
(cf.verified_bot_category eq "AI Crawler") or (cf.verified_bot_category eq "AI Search")
3. Test
A request with the bot's user-agent from your own machine is not from the bot's IP range, so Cloudflare may still challenge it even when real GPTBot gets through. Treat a 200 as a good sign and a 403 as a reason to look at your rules.
curl -s -o /dev/null -w '%{http_code}\n' -A 'Mozilla/5.0 (compatible; GPTBot/1.2; +https://openai.com/gptbot)' https://yourdomain.com/Try it on your own domain
Free scan, no card. Pro is $19/mo after a 7-day free trial and covers all four scanners: VibeShield, CiteReady, InboxShield and BrandShield.
FAQ
Why does my robots.txt allow GPTBot but ChatGPT still cannot see my site?
Usually a CDN or WAF rule returns 403 or a challenge page to the bot. robots.txt cannot override that.
Can CiteReady test this for me?
Yes. It requests your homepage with 4 real AI bot user-agents and reports 403s and challenge pages next to your robots.txt rules.
Related
robots.txt rules for AI crawlers: training vs search bots
Which AI user-agents train models and which power AI search: GPTBot vs OAI-SearchBot, ClaudeBot vs Claude-SearchBot, PerplexityBot, Google-E...
llms.txt guide: format, examples and common mistakes
How to write an llms.txt file for AI agents and AI search: the llmstxt.org format, a working example, how to serve it, and the soft-404 mist...
CiteReady vs Peec AI
CiteReady vs Peec AI: $19/mo vs $95/mo. 47 AI bots audited in robots.txt, live WAF 403 probing with real bot user-agents, llms.txt validatio...