Firewalls and CDN Bot Blocking on Trades Websites: Check AI and Search Access

Firewalls and CDN Bot Blocking on Trades Websites: Check AI and Search Access

You can have a perfect robots.txt and still block every AI crawler, because a security plugin or CDN rule does it before robots.txt is read. This guide shows where to look.

I am Robiul Alom Ronju, Founder of Nexranking. The facts below come from the pages linked in Sources. My own advice is marked as mine.

Firewalls and CDN bot blocking on UK trades websites: check AI access
Built from OpenAI, Anthropic and Google documentation.

Two layers

A site decides who may crawl in two places: robots.txt, which is a request, and a firewall or CDN, which can refuse or challenge a visit outright. A bot blocked at the firewall never gets to read your robots.txt.

What the vendors say

OpenAI says allowing OAI-SearchBot and its published IP ranges helps your site appear in ChatGPT search results. Anthropic says its bots respect robots.txt and do not try to bypass CAPTCHAs, so a challenge page stops them. Anthropic also says that blocking by IP address may not work as an opt-out, because it can stop the bot reading robots.txt.

Where blocks hide

  • WordPress security plugins with a block AI bots option.
  • Hosting firewalls with bot protection on by default.
  • CDN rules that challenge unknown user agents.
  • Rate limits that return 429 to polite crawlers.
  • Country blocks that catch crawler IP ranges.

How to check

Look at your server logs for response codes to the bot user agents, see server logs and AI crawler traffic. Review each security tool’s bot settings. Ask your host whether bot protection is on and how to allow named crawlers.

Allow, do not weaken

This is my own advice. Allow the specific search crawlers you want, using the vendor’s published IP lists where they exist, instead of switching off protection. Do not turn off a security control that your host manages. If your host owns the firewall, ask them to change it in writing.

Google too

Google’s crawler can also be caught by an overzealous firewall. Check the Crawl stats and Page indexing reports for server errors. See the Page indexing report.

Keep a record

Write down which tool blocks what, who changed it and when. When a plugin updates, re-test, because defaults can reset.

What to ask your host

Ask three questions in writing. Is bot protection on? Which crawler user agents or IP ranges does it block or challenge? Can you add an allow rule for named search crawlers? Keep the reply. This is my own list. A clear answer takes the host five minutes and saves weeks of guessing why a crawler never arrives.

A worked example

Illustrative example, not a client case. A heating engineer’s host enabled bot protection by default. Logs show AI search bots receiving 403 responses. His host adds an allow rule for the named search crawlers using the published IP lists, and the next week’s logs show 200 responses.

Mistakes I see

  • Fixing robots.txt but not the firewall.
  • Turning off all protection.
  • Not asking the host.
  • Ignoring rate limits.
  • No record of changes.

Next, read AI crawler logs and ask for an audit.

Can a firewall override robots.txt?

Yes. A refused request never reads robots.txt.

Do Anthropic bots bypass CAPTCHAs?

Anthropic says they do not.

Should I disable my firewall?

No. Allow named crawlers instead.

Where do I find published IPs?

OpenAI publishes JSON lists for its bots.

Sources