The short answer

Your robots.txt can say "come in" while your firewall says "go away". Bot protection works on its own rules, before robots.txt is even read. If it blocks or challenges an AI crawler, the crawler gets an error or a "prove you are human" page, not your content. A free test shows whether this happens, and a few settings fix it. Do not switch protection off. Allow the specific bots you want.

This guide uses Cloudflare as the worked example because it is common and its documentation is public. Other firewalls and hosts have similar switches under different names.

What can go wrong

  • A block you set once and forgot. Cloudflare's AI Crawl Control lets you allow or block each AI crawler. It enforces each block with a firewall rule it creates on your site, and that rule keeps working whether or not you remember it.
  • A block by type of bot. Cloudflare also lets you set one action for each of three kinds of AI traffic: Search, Agent (bots that fetch a page for a person, such as chat fetch bots) and Training. A July 2026 Cloudflare post said new domains would block Agent and Training bots on pages with ads. Its docs, updated on 2 November 2026, now say new domains start with all three allowed. Check your own settings.
  • Search bots caught by a training block. Cloudflare says its Training action also applies to crawlers used for both search and training. Its July 2026 post names Googlebot, Applebot and BingBot as such crawlers. So setting Training to Block can cost you ordinary search crawling too. If you only want to refuse training, a robots.txt rule that names the training bots is narrower; AI crawlers explained has one.
  • Challenges. Bot Fight Mode sends challenges meant to make automated requests costly. A crawler that gets one gets no content, and Anthropic says its bots will not try to get past a CAPTCHA. Cloudflare says its Skip, Bypass and Allow rules have no effect on Bot Fight Mode, and Perplexity warns that Bot Fight Mode can still challenge its bots even when a rule lets them through. The version that takes exceptions is Super Bot Fight Mode.
  • "Verified" does not mean "allowed". Cloudflare's July 2026 post says the Verified label now only makes a bot allowable within its category, so your Search, Agent or Training setting decides.

Step 1: test what a bot sees

Run our bot access test. It opens your page as a normal browser, then once for each main AI and search bot name, and compares what comes back. Look for:

  • a 403 (refused) or 429 (too many requests) for a bot name;
  • a short page with a title like "Just a moment" or "Attention required", which is a challenge;
  • a big difference in page size between the browser and a bot.

Know the limit. The test sends each bot's name from our server, not from the bot's own network. On Cloudflare's free plan, AI Crawl Control spots AI crawlers by name, so the test sees those blocks. But a firewall can also check where a request comes from, and Google warns that its user agent can be faked. So a pass is a good sign, not proof.

We ran the test on our own home page on 5 November 2026. The OpenAI, Anthropic and Perplexity bots got the same page as a browser. Googlebot and bingbot got a 403. A firewall that checks the network would do exactly that, because our test does not come from Google's or Microsoft's network. So when only those two are refused, it may be the firewall doing its job. In our case, Google Search Console shows Google crawling and indexing our pages, so the real Googlebot gets in. A 403 for an AI bot is the one to look into.

A firewall can turn away an honest bot too. When we checked the websites of 221 businesses AI tools named, we asked for 205 home pages from our own address, as our own named bot, one request at a time. 13 of the 205 refused us or sent a challenge page: a 403, a 429 or a block page. Where the block page named its maker, it was Cloudflare: 11 of the 13. A real AI bot coming from its own network may be treated differently, so this shows only what a plain, named visitor meets.

Step 2: look at your own logs

Ask your host or developer for the last week of requests that mention the crawlers you want, such as OAI-SearchBot, ChatGPT-User, PerplexityBot, Claude-SearchBot or Googlebot. The full list of names, and what each bot does, is in AI crawlers explained. Check the status codes. A run of 200 answers is healthy. Many 403 or 429 answers mean something is turning them away.

Step 3: fix it safely

  1. Decide which bots you want. Search bots are the usual yes. Training is a separate choice. Our post on whether to block AI bots weighs each kind.
  2. Allow by bot or by type, not with an off switch. In Cloudflare, AI Crawl Control lists each AI crawler with an Allow or Block action. The Search, Agent and Training actions are under Security, then Settings: filter by Bot traffic and open AI Crawler and Agent access policies.
  3. Match name and address together. Perplexity's firewall advice is to match each bot's user-agent name against that bot's published address list, and to update the lists because they change. OpenAI also recommends allowing the address ranges it publishes, and Anthropic publishes a list too. A name alone can be faked by anyone.
  4. Put allow rules first. Perplexity's Cloudflare steps place its rule above any rule that blocks or challenges, because a Skip rule only bypasses rules that run after it. Its AWS steps give the allow rules a lower priority number than the blocking rules, so they run first.
  5. Keep protection on for everything else. Do not turn it off for the whole site to let a few crawlers in.

A short note to send your developer:

Hi. Please check whether our firewall or bot protection blocks or
challenges these crawlers on example.com: OAI-SearchBot, ChatGPT-User,
PerplexityBot, Perplexity-User, Claude-SearchBot, Claude-User, Googlebot.
If it does, please add allow rules that match both the user-agent name
and the address ranges the companies publish, placed above any block
rules. Please keep bot protection on for all other traffic. Thanks!

How to check it worked

  1. Run the bot access test again and compare.
  2. Run the crawler checker to confirm robots.txt still allows what you chose.
  3. Look at your logs after a few days. You should see 200 answers for the bots you allowed.
  4. When the bots get through, run our free check to see whether AI tools name you for buyer questions.

Allow time before you judge. Perplexity says a robots.txt change can take up to 24 hours to show, and that firewall changes may take some time too.

What this won't do

  • It will not make an AI tool name you. It only removes one reason a bot could fail to read you.
  • Companies change names, defaults and dashboards. Check the date on this page.

Sources

  1. Cloudflare: Verified bots Accessed
  2. Cloudflare: Bot Fight Mode Accessed
  3. Cloudflare: Manage AI crawlers Accessed
  4. Cloudflare: AI Crawler and Agent access policies Accessed
  5. Cloudflare: Your site, your rules: new AI traffic options for all customers Accessed
  6. Perplexity: Perplexity crawlers Accessed
  7. Anthropic: Does Anthropic crawl data from the web, and how can site owners block the crawler? Accessed
  8. OpenAI: Overview of OpenAI crawlers Accessed
  9. Google: List of Google's common crawlers Accessed