Is your CDN or firewall blocking AI crawlers? How to check
Is your CDN or firewall blocking AI crawlers? How to check

It might be. Your robots.txt file is only one of the places a crawler can be turned away. A content delivery network (CDN) serves your site from servers close to the visitor. A web application firewall (WAF) decides which requests get through. Both sit in front of your website and can block a bot before it reads a single page, whatever your robots.txt says.
This deserves a fresh look because Cloudflare changed its controls twice in 2026. It replaced its single "Block AI bots" switch with three separate policies on July 1, 2026, then changed what its Block option does on September 15, 2026. One of the current options stops Google and Bing along with AI training crawlers, so check what is switched on today.
Key Takeaways
- Since July 1, 2026, Cloudflare manages AI bots through three policies, Search, Agent and Training, instead of one "Block AI bots" toggle.
- Since September 15, 2026, choosing Block for Training also blocks Googlebot, Bingbot and Applebot, by Cloudflare's own description. The option that stops training and keeps search is "Disallow AI Training."
- Sites that had the old toggle switched on were migrated to Search: Allow, Training: Disallow AI Training, Agent: Block on pages with ads.
- OpenAI, Google and Perplexity each tell site owners to check that their CDN, host or firewall lets the crawlers in.
- A command-line test with a copied user-agent string is a first look, not proof. Your platform's logs are better evidence.
Why a clean robots.txt is not enough
A robots.txt rule is a request a crawler chooses to follow. A firewall rule is enforced before the crawler gets a response. Our guide to AI crawlers and robots.txt covers the first layer and lists every crawler token; this article covers the second.
The AI vendors point at this layer themselves. OpenAI's help center tells site owners to allow OAI-SearchBot and to "confirm that the website host or content delivery network allows traffic from OpenAI's published searchbot IP addresses." Google's best practices for AI features include making sure crawling is allowed "in robots.txt, and by any CDN or hosting infrastructure." Perplexity's bot documentation says that behind a WAF "you may need to explicitly whitelist Perplexity's bots to ensure they can access your content."
Cloudflare's AI bot controls as of October 2026
Cloudflare now sorts bots by what they do on your site. Its changelog for July 1, 2026 says all customers can now manage AI crawlers by behavior "instead of a single Block AI bots toggle." Cloudflare says the controls are available on all plans, under Security Settings, in a section its documentation calls "Configure AI bot policies."
| Policy | Cloudflare's definition | Cloudflare's example |
|---|---|---|
| Search | "Collects or indexes your content so it can answer questions about it later." | OAI-SearchBot, under an older "AI Search" label now treated as Search |
| Agent | "Automated activity acting in real time on a person's behalf to get something done, such as chat fetch bots and browser-use agents." | ChatGPT-User |
| Training | "Crawls your content to train or fine-tune a model, permanently absorbing your data into the model." | The training-only crawlers run by Amazon, Anthropic, Meta and OpenAI |
Each policy takes one of the options below. The wording is from Cloudflare's September 15, 2026 announcement.
| Option | What Cloudflare says it does |
|---|---|
| Allow | "All crawlers are allowed, unless blocked by another setting or a WAF rule." |
| Disallow AI Training (Training only) | Publishes a no-training preference in robots.txt. "Accountable mixed-use crawlers remain allowed for search." Every other training crawler is blocked |
| Block on pages with ads | "Crawlers, including mixed-use crawlers, are blocked only on pages detected to be serving an ad." |
| Block | "All crawlers, including mixed-use crawlers, are blocked." |
Two caveats. First, we read these names in Cloudflare's documentation and blog, not in a live dashboard, and Cloudflare's pages disagree. The September 15 post says the legacy "Block AI Bots" setting and Managed Robots.txt "will be deprecated" in favor of the three policies and Bot Preference Sync. The "Block AI bots" documentation page, last updated July 1, 2026, lists three options, treats September 15 as a future date and says the legacy option will also block mixed-purpose crawlers; the post says legacy settings migrate to Disallow AI Training. The robots.txt setting page, updated October 8, 2026, calls the Training option "Disallow." Confirm labels and values in your own dashboard. Second, Cloudflare says Disallow AI Training does not yet convey a no-training preference to Bing through robots.txt.
The option that also blocks Google and Bing
Cloudflare defines a mixed-use crawler as "a single crawler doing both Search and Training," and names Applebot, Bingbot and Googlebot as examples. Before September 15, 2026, the old block excluded those crawlers. Now, in Cloudflare's words, "Block and Block on pages with ads now apply to mixed-use crawlers, including Applebot, Bingbot, and Googlebot, so either setting impacts search as well as training. To stop training and keep search, use Disallow AI Training."
Selecting Block, Cloudflare writes, "will stop Applebot, Bingbot, and Googlebot from reaching your site," and it adds: "search included." For a business that depends on search traffic, Block is the wrong way to opt out of training.
What happened to sites that used the old toggle
Cloudflare says existing preferences were migrated. Under the heading "What you need to do," its answer is: "Nothing, in almost every case." For domains that had only ever used the legacy "Block AI bots" setting, it published this mapping.
| Legacy "Block AI bots" setting | Search | Training | Agent |
|---|---|---|---|
| Disabled (unselected) | Allow | Allow | Allow |
| Block | Allow | Disallow AI Training | Block on pages with ads |
| Block on pages with ads | Allow | Disallow AI Training | Block on pages with ads |
Domains that had already set the three policies kept their Search and Agent values. For Training, Cloudflare says: "Previous Training selections of Block or Block on pages with ads will migrate to Disallow AI Training."
Look at the Agent column. Cloudflare's July 1, 2026 post gives ChatGPT-User as an example of an Agent, and OpenAI says ChatGPT may use that agent to visit a page when a user asks a question. What follows is our reading of those statements, not something Cloudflare documents: if your site shows ads and had the old toggle on, the migrated setting may turn that visit away on pages Cloudflare detects as serving an ad.
Other Cloudflare features that can stop a bot
- Bot Fight Mode. This free feature issues "computationally expensive challenges" to traffic it identifies as bots. Cloudflare states: "You cannot bypass or skip Bot Fight Mode using WAF custom rules or Page Rules." The one documented exception is an IP Access rule that matches the request first. Super Bot Fight Mode, on the Pro, Business and Enterprise plans, has a separate setting for verified bots and can be skipped with a custom rule. Cloudflare does not say whether Bot Fight Mode challenges any given AI crawler.
- AI Crawl Control. This lists AI crawlers in a "Crawlers" tab with a Block action for each. Allow there is not an override: "allowed bots may still be affected by other security rules."
- Managed robots.txt. With Bot Preference Sync on, Cloudflare writes directives for you. If you already have a file, it "will prepend our managed robots.txt before your existing robots.txt, combining both into a single response." The file crawlers receive may not be the file you uploaded.
Other hosts and firewalls
What each platform's documentation says as of October 2026:
| Platform | What its documentation says | Default |
|---|---|---|
| AWS WAF Bot Control | A rule named "CategoryAI," described as: "Inspects for artificial intelligence (AI) bots." It applies a Block action "to all matches, regardless of whether the bots are verified or unverified." The page does not separate search crawlers from training crawlers | A managed rule group the customer adds. No default is stated |
| Vercel | An "AI bots managed ruleset," available on all plans, covering bots that crawl "for training data, search purposes, or user-generated fetches." It can run in log or deny mode | "The ruleset is inactive by default. In the dashboard this is labeled Allow." |
| Squarespace | A checkbox, "Block known artificial intelligence crawlers," under Settings, then Crawlers. It adds robots.txt rules for a list that includes GPTBot, ClaudeBot and Google-Extended. OAI-SearchBot, ChatGPT-User, PerplexityBot and Claude-SearchBot are not on the list | Unchecked |
| Shopify | "Bot management is handled directly for stores on Shopify, and you don't need to take any action." Crawler rules are changed in the robots.txt.liquid template, an unsupported customization | A default robots.txt that Shopify describes as "optimal for Search Engine Optimization (SEO)" |
| Wix | No AI toggle is described. Owners edit robots.txt by hand in the Robots.txt Editor | Not documented |
Squarespace explains its default this way: "we don't want to potentially impact your site's traffic by excluding it from chat answers and sources." Shopify adds that blocking crawlers "affects only open-web discoverability" and does not stop product data from reaching the agentic storefronts a store has activated, as our Shopify GEO guide explains.
This table is not a complete list. If your host or CDN is not in it (Akamai, Fastly, Netlify and WP Engine are common examples), read its bot management documentation and send its support team the questions in the last FAQ below.
How to test your own site
- Read the robots.txt that is served. Open yourdomain.com/robots.txt in a browser and look for rules you did not write. If the file is new to you, start with our robots.txt guide.
- Compare a browser request with a bot request. Run the command below with your own address in place of www.example.com. It prints the status code a request with that crawler's user-agent string receives. Run it again with a browser's user-agent string. If the browser string returns 200 and the crawler string returns 403, something is probably reacting to the user agent.
- Read the platform's logs. Cloudflare's AI Crawl Control "Crawlers" tab shows requests per crawler. For Google, use the URL Inspection tool in Search Console.
- Confirm who the visitor was. A line in a log that says GPTBot is not proof it came from OpenAI. Our guide to verifying AI bots in server logs explains how to check.
curl -s -o /dev/null -w "%{http_code}\n" -A "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; GPTBot/1.4; +https://openai.com/gptbot" https://www.example.com/
What the command-line test cannot tell you
- You are not the real bot. Cloudflare, Vercel, AWS and Perplexity all describe verification by IP address. A request from your laptop that claims to be GPTBot can be blocked while the real crawler is allowed, or the reverse.
- A challenge is not a block. Bot Fight Mode issues a challenge, and an AI Crawl Control block returns "403 Forbidden" or "402 Payment Required." The status code alone does not tell you which feature acted.
- A 200 says nothing about robots.txt. The page may load while the served robots.txt still tells the crawler to stay out.
How to let the search crawlers in
- In Cloudflare, confirm the Search policy is set to Allow. If you want to opt out of training, choose Disallow AI Training, not Block.
- Review WAF custom rules, IP rules and rate limits for anything that matches a crawler you want.
- If a wanted crawler is still blocked, add an allow rule the way Perplexity documents it for Cloudflare: match the user agent and the vendor's published IP ranges together, with the action Allow.
- Read the logs again a day later. A setting is confirmed when the real crawler receives a 200.
Repeat the check after any change of host, CDN or security plugin, and put it on the launch list for every redesign or migration. Whether a crawler can read what it fetches is covered in our guide to JavaScript rendering and AI crawlers.
Conclusion
Whether AI search crawlers can reach your site is decided in at least two places: the robots.txt file and whatever sits in front of your server. Cloudflare's Block option for Training now reaches Googlebot and Bingbot, so a setting chosen to stop AI training can cost you search visibility. Read your dashboard, the file your site serves and your logs. Letting a crawler in makes your pages eligible to be read; it does not earn a citation. This check is one line in a full technical audit for GEO, and for a second pair of eyes on your setup, request a free GEO audit. More guides are in our GEO and AEO Guide.
Frequently asked questions
Does Cloudflare block AI crawlers by default?
As of October 2026, Cloudflare says new domains are offered one of two presets. The preset for sites that do not earn money from ads allows Search, Training and Agent. The preset for ad-supported sites allows Search, sets Training to Disallow AI Training and blocks Agent on pages with ads. Existing domains had earlier choices carried over.
Will blocking AI training in Cloudflare remove my site from Google?
It depends on the option. Cloudflare says Disallow AI Training keeps mixed-use crawlers such as Googlebot and Bingbot allowed for search. Since September 15, 2026, Block and Block on pages with ads apply to those crawlers too.
Is a 200 response from a curl test proof that AI crawlers can get in?
No. Many platforms verify bots by IP address, so your test request is not treated the way the real crawler is. Confirm in your CDN or server logs that verified crawler requests receive a 200.
My host is not on your list. What should I ask?
Ask support which AI crawlers its bot protection blocks or challenges by default, whether search crawlers such as OAI-SearchBot and PerplexityBot are treated differently from training crawlers, and how to allow a specific bot. Ask for the answer in writing.
Put this into action with eSEOspace
We help businesses grow with seo, geo & aeo that actually performs. Explore the services behind this guide:
Get a FREE Audit
We'll perform a comprehensive SEO, AEO, GEO & CRO audit of your website — completely free — and show you exactly how to outrank your competitors.
Don't have a site yet? Get in touch →
Get a FREE GEO/AEO/SEO Audit
We'll analyze your site's SEO, GEO, AEO & CRO — completely free — and show you exactly how to get found across Google and AI answers.
Don't have a site yet? Get in touch →
Great — your audit is on the way!
We'll send your free SEO/GEO/AEO/CRO audit within the next few hours. Where should we send it?
You're all set! ✓
Your free audit is being prepared — check your inbox in the next few hours. Talk soon!
On this page
- Key Takeaways
- Why a clean robots.txt is not enough
- Cloudflare's AI bot controls as of October 2026
- The option that also blocks Google and Bing
- What happened to sites that used the old toggle
- Other Cloudflare features that can stop a bot
- Other hosts and firewalls
- How to test your own site
- How to let the search crawlers in
- Conclusion
- Frequently asked questions





