Guide
Cloudflare blocking GPTBot when robots.txt allows it
Your robots.txt allows GPTBot, but Cloudflare's AI Crawl Control and bot settings can still block or challenge it. Where to look, and how to test it.
robots.txt is a request. A crawler reads it and chooses whether to follow it, and nothing on your server enforces what it says. Your firewall is the part that enforces.
On Cloudflare, bot management and AI Crawl Control act on each request at the edge, before your site sees it, and nothing checks that their settings agree with your robots.txt. A file that welcomes GPTBot and a setting that blocks it can both be live on the same domain, and neither will tell you about the other.
It's common enough to check for
In July 2026 we sent an identified, signed crawler to 2,684 of the web's top sites, every
one with a robots.txt that allowed it. More than one in twenty answered with a challenge page
instead of content. Every one of those challenges carried the same response header,
cf-mitigated: challenge, which Cloudflare's bot management sets. The full numbers
are in The firewall doesn't read
robots.txt.
Where to look
If you're on Cloudflare and want to know what GPTBot gets, start in the dashboard. Open AI Crawl Control for the domain and see whether GPTBot is blocked there, then check your security events for challenges and blocks on requests from it. If the edge is overruling your file, decide which of the two states is your real policy and change the other to match. Want AI crawlers in? Allow them at the edge too. Want them out? Say so in robots.txt as well, so the file and the firewall stop disagreeing.
Two limits to keep in mind
No outside tool can send GPTBot: OpenAI publishes the IP ranges GPTBot comes from, so a request from anywhere else that uses the name isn't GPTBot. And a request the edge lets through can still land on a page with no readable text, because the words only appear after JavaScript runs (how often that happens).
Test the crawler's side
fetchcheck shows you what a crawler sees. It reads your robots.txt, then sends one signed request as SitedexBot and shows what came back: the page, a block, a challenge with the response headers that show it, or a page with nothing in it. It won't tell you what GPTBot gets. It will tell you whether your edge turns away a crawler that says who it is and proves it.