Why AI crawlers can be blocked even when robots.txt allows them
Firewalls, CDNs and bot protection can refuse search and AI crawlers that your robots.txt allows. How to spot it, check it and fix it without opening the door to abusive bots.
Reviewed against official sources on · 7 min read
Two separate gates
robots.txt says which pages a well-behaved crawler may fetch. Your firewall, CDN or hosting bot protection decides which requests actually get an answer. A crawler can be allowed by robots.txt and still receive a 403 Forbidden, a CAPTCHA or a JavaScript challenge from the network in front of your site.
Because the two gates are configured in different places, often by different people, a site can look correct in robots.txt while a firewall quietly turns crawlers away. Nothing in robots.txt shows this.
How CDNs classify AI crawlers
CDN and firewall products increasingly group AI crawlers by purpose. Cloudflare, for example, documents AI bot policies with separate categories for search, agent and training crawlers, each of which can be allowed or blocked as a category. It also maintains a list of "verified bots" whose identity it has validated by published IP addresses or by cryptographic signatures (Web Bot Auth).
Defaults change over time. Cloudflare documents that from 15 September 2026, new domains block training and agent bots by default on pages that display ads, while search crawlers stay allowed, and that crawlers used for both search and training are blocked under its AI-training settings. Check the current settings in your own account rather than assuming the defaults.
Blocking AI training crawlers is a legitimate business choice and usually does not affect search. Blocking search and AI search crawlers is a different decision with different consequences. Make sure your settings match the one you intended.
Signs your firewall is involved
- Pages load for you in a browser, but automated tools get 403, 429 or 503 responses.
- Responses contain a challenge page ("Just a moment…", "Checking your browser") instead of your content.
- Search Console or Bing Webmaster Tools reports crawl errors on pages that work for you.
- Your CDN's security or bot analytics show requests from search or AI crawlers being challenged or blocked.
Our scanner identifies itself honestly as AICrawlabilityScanner, so a firewall may challenge it even when verified search crawlers get through. When that happens our reports say the result could not be determined rather than guessing what the real crawlers received.
How to check what real crawlers receive
Only your own logs show what a specific crawler received. Filter your CDN or server logs by the crawler's user agent, then confirm the requests really came from that provider. Anyone can fake a user agent, so check the address too:
- Google documents verifying Googlebot with a reverse DNS lookup (the name should end in googlebot.com or google.com, and resolve back to the same address) or against its published IP ranges.
- OpenAI publishes IP ranges for its crawlers, including OAI-SearchBot and GPTBot.
- Other providers listed in our crawler registry link to their own documentation and, where available, IP ranges.
Look at the status codes those verified requests received. 200 means the crawler got your page; 403, 429 or a challenge page means the firewall stopped it.
Fixing it safely
- Decide per category: search engines and AI search crawlers you want, training crawlers according to your content policy.
- Prefer your provider's verified-bot or category controls over hand-written user-agent rules, which can be spoofed.
- If you write your own rule, match the provider's published IP ranges as well as the user agent.
- Keep rate limits for everyone else: allowing verified crawlers does not mean switching protection off.
- Re-test after changing settings, and keep an eye on it: CDN defaults and bot lists change.
Sources
See how your site handles this
Free, no account needed: which search and AI crawlers your robots.txt allows, and how a few of your pages respond.
Want every page checked, with the fixes written out?
The Technical Audit crawls up to 150 pages, checks the documented search and AI crawlers, renders JavaScript and gives you a prioritised fix list for your developer. A$79 one-off, not a subscription.