If your site uses Cloudflare, AI crawlers may be stopped in two places: the robots.txt file Cloudflare serves, and Cloudflare's edge, before a request reaches your server. You can allow GPTBot in your own robots.txt and still see it blocked.
Two mechanisms, two places to look
| Managed robots.txt | Edge blocking | |
|---|---|---|
| What it is | Cloudflare adds Disallow lines to your robots.txt |
Cloudflare refuses the request itself |
| Who obeys it | Crawlers that follow robots.txt | Every request that matches the rule |
| What the bot sees | Your robots.txt with extra lines | An error such as 403 |
| Where to look | The live robots.txt file | Cloudflare dashboard settings and rules |
Cloudflare's own documentation draws the same line. Its managed robots.txt page says the file states your preferences, but "some crawlers may ignore it", and that to enforce blocks you use AI Crawl Control.
A bot can also be blocked at the edge even though robots.txt allows it, and then never reads the file. Anthropic warns that blocking its addresses "may not work correctly or persistently guarantee an opt-out", because it stops the crawler from reading your robots.txt. See robots.txt and AI bots.
Check 1: read the live robots.txt
Fetch the file the way a bot would:
curl -s https://example.com/robots.txt
Cloudflare builds the managed file like this:
- If you already have a robots.txt, Cloudflare prepends its directives above your file and serves both together.
- If you have none, Cloudflare creates one with
Disallowrules for known AI crawlers. - If all your policies allow bots, the file is served unchanged.
Look for Disallow lines for AI crawlers that you did not write, above your own rules. The file on your server will not show them, because Cloudflare adds them on the way out.
To see the setting behind it, open the Cloudflare dashboard, go to Security Settings, filter by Bot traffic and select "AI Crawler and Agent access policies". Managed robots.txt is the "Enable Bot Preference Sync" switch there. Cloudflare says changes appear within a few seconds, with no cache purge.
Check 2: look for edge blocking
Edge blocking can come from four places in the Cloudflare dashboard.
- AI Crawl Control. Open AI Crawl Control, then the Security tab, then the Crawlers tab. Each crawler has an action, Allow or Block. Cloudflare's documentation says a block can answer 403 Forbidden or 402 Payment Required. Choosing the response is available on paid plans. On the free plan, detection relies on user agent strings.
- AI Crawler and Agent access policies. The same Security Settings page as above. Search, Agent and Training can each be set to block. This is where a block set by a teammate or a default shows up.
- Custom rules. Cloudflare's custom rules filter requests to a zone and can Block, issue a Managed Challenge, or Skip other features. Rules run in order, and a Block stops later rules. Search your rules for user agent names such as GPTBot.
- Bot Fight Mode. A free-plan setting that issues challenges to traffic that matches known bot patterns. Cloudflare's documentation says you cannot bypass or skip it with custom rules. Challenged requests appear under Security, Analytics, Events, with "Bot Fight Mode" as the service.
Perplexity's crawler guide suggests a custom rule with the action Skip, placed above any rule that blocks or challenges, and says Bot Fight Mode may still challenge its bots.
What changed in 2026
Cloudflare used to offer one switch. Its July 2024 post describes a toggle called "AI Scrapers and Crawlers" under Security, Bots, available on the free plan.
On 1 July 2026, Cloudflare announced new options. They sort bots by behaviour, and each category gets its own policy:
| Category | Cloudflare's description |
|---|---|
| Search | "any behavior that collects or indexes your content, so it can answer questions about it later" |
| Agent | "acting, usually in real time, on a person's behalf, to get something done right now" |
| Training | "a crawler taking your content to train or fine-tune a model" |
The post calls the old one-click block "the legacy Block AI bots service" and says the new options replace it. It gives no deprecation date. The documentation page that used to describe "Block AI bots" now describes the policies and says the feature was previously called "Configure AI bot policies".
- New domains. The post says that "on September 15, 2026, we'll be setting new defaults". For new domains, Training and Agent are blocked by default on pages that display ads, and Search stays allowed. Cloudflare's current policies page, updated 2 November 2026, says that for new domains all three categories default to "Allow (do not block)". The two pages differ, so check your own zone instead of relying on either. The post does not say whether the defaults reach existing zones.
- Search crawlers can be caught. The post says that "multi-purpose crawlers such as Googlebot, Applebot, and BingBot will be blocked by customers who have selected to block Training".
- Disallow versus block. The policies page says Disallow, for Training only, asks crawlers through robots.txt. With Bot Preference Sync on, Disallow also blocks AI training crawlers at the edge, except mixed-purpose crawlers.
If you block Training, re-read the policy settings before assuming search traffic is safe. See whether to block AI crawlers.
Test with curl
Compare a bot user agent with a plain request:
curl -s -o /dev/null -w "%{http_code}\n" https://example.com/
curl -s -o /dev/null -w "%{http_code}\n" -A "GPTBot" https://example.com/
A 200 then a 403 suggests a rule matches the user agent. A challenge page or another status points to Bot Fight Mode or a custom rule. A 200 for both means no rule matched this test, not that nothing blocks.
The test has a limit. Cloudflare says a verified bot must identify itself through a Web Bot Auth signature, a published IP list with a stable user agent, or reverse DNS, as its verified bots page describes. Your curl command carries only the name, and Cloudflare does not say how it treats a name sent without proof, so the real GPTBot may get a different answer. Treat the result as a hint (why a user agent proves nothing). For rules on your own server, see how to block AI crawlers in nginx and Apache.
How Lundot handles this
The free AI crawler check reads your live robots.txt for each bot token, so lines Cloudflare adds are included, but it does not prove an edge rule blocks one bot. For that, connect Cloudflare: the AI bots report records verified requests and, when verified crawlers get an error such as 403 on a page that matters, suggests letting them through your firewall. See Connect Cloudflare.
Sources
- Cloudflare: Managed robots.txt, last updated 2 November 2026
- Cloudflare: AI Crawler and Agent access policies, last updated 2 November 2026
- Cloudflare: Manage AI crawlers, last updated 28 July 2026
- Cloudflare: Custom rules, last updated 16 October 2026
- Cloudflare: Bot Fight Mode, last updated 3 August 2026
- Cloudflare: Verified bots, last updated 12 November 2026
- Cloudflare blog: Your site, your rules: new AI traffic options for all customers, 1 July 2026
- Cloudflare blog: Declare your AIndependence, 3 July 2024
- Perplexity: Perplexity crawlers, read 18 November 2026
- Anthropic: Does Anthropic crawl data from the web, and how can site owners block the crawler?, read 18 November 2026