-
Cloudflare has been quietly blocking GPTBot and PerplexityBot on my site for months. Here’s how to check yours.
Spent the morning debugging why my site wasn’t showing up in any AI search tools like ChatGPT, Perplexity, or AI Overviews. Everything looked fine on my end. My robots.txt in Next.js explicitly allowed every AI crawler.
Then I ran a curl on /robots.txt and saw this block that I definitely didn’t write:
# BEGIN Cloudflare Managed content User-agent: GPTBot Disallow: / User-agent: ClaudeBot Disallow: / User-agent: Google-Extended Disallow: / ...Turns out Cloudflare has a toggle called "AI Scrapers and Crawlers" that, when enabled, prepends its own rules to your robots.txt, effectively overriding whatever your app serves. For anyone doing GEO, meaning trying to get cited by ChatGPT, Perplexity, or AI Overviews, this can silently block you.
How to check in 10 seconds:
curl https://yoursite.com/robots.txt | grep "Cloudflare Managed"If you see it and you want AI crawlers indexing your site, go to the Cloudflare dashboard → Security → Bots → disable "AI Scrapers and Crawlers."
Or via API, set
is_robots_txt_managed: falseon the zone’sbot_managementendpoint.If you don’t want to appear in AI results, leave it on. It’s actually a useful default for sites that haven’t thought about this. Just be aware that it exists.
Log in to reply.