Skip to the content
Start free

A firewall or bot shield refuses AI bots

Your CDN, firewall or security plugin answers AI bots with a block or a challenge page, so they cannot read the page even if robots.txt allows them.

High priority AI bots and crawlers

Why it matters #

robots.txt is only a request. Many sites also run a firewall, a CDN bot shield or a security plugin that decides who gets in. These often answer unknown bots with 403 (forbidden), 429 (too many requests) or a challenge page that only a browser running JavaScript can pass.

A bot that gets a refusal or a challenge sees none of your words. It cannot quote the page, sum it up or recommend it. Some CDNs offer a single switch that blocks AI bots, and some turn it on by default for new sites, so this can start without anyone on your team changing a thing.

How to fix it #

Look at the bot and firewall settings in your CDN and security plugin. Allow the AI bots you want, ideally through a verified bots list, which checks the real addresses the bots come from instead of trusting the name they give. Make sure no custom rule blocks their names or the data-centre networks they use.

Our test sends the bot name from our own server, not from the real bot network, so a site that checks IP addresses may still let the real bot in. To be sure, take an address from your server logs and test it with Verify an AI Bot, then check the page again with View as AI Bot.

  1. Open the page in View as AI Bot and note which bots were refused.
  2. In your CDN, firewall or security plugin, find the rule or setting that blocked them.
  3. Allow the verified AI bots you want, or add an exception for them.
  4. Test the page again.

What it looks like, and fixed #

The problem
GET /pricing/ HTTP/1.1
Host: www.example.com
User-Agent: Mozilla/5.0 (compatible; OAI-SearchBot/1.0)

HTTP/1.1 403 Forbidden
Content-Type: text/html; charset=UTF-8

The firewall answers the AI search bot with 403, so the bot gets an error page instead of your words.

Fixed
GET /pricing/ HTTP/1.1
Host: www.example.com
User-Agent: Mozilla/5.0 (compatible; OAI-SearchBot/1.0)

HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8

After the bot is allowed, the same request gets the page itself.

Fix it with your AI assistant #

Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.

Your instruction for the AI
My website [your website address] runs on [your platform, e.g. WordPress behind Cloudflare]. A check shows that AI bots such as OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot and PerplexityBot get a 403, a 429 or a challenge page on [the page address], although robots.txt allows them. First find out what refuses them: if you can run commands, request the page with each bot user agent and a browser user agent and compare the answers; if not, ask me to paste the headers. Explain in plain words which layer answers (CDN, firewall, security plugin or server) and which rule. Then give me the smallest change that lets the AI bots I want through, ideally through a verified bots list rather than the name alone. Note the current settings first, and do not weaken protection against attacks or block real visitors. Give exact steps or rules to paste, and where. Finally, tell me to re-check with the URSY.com View as AI Bot tool at ursy.com/view-as-ai-bot/.

We find the problems, and help you fix them

  1. Check Run a free tool or the full audit.
  2. Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
  3. Re-check Come back, check again, and watch each fix turn green.

How the AI Fix Pack works, with a sample to download

Fix it on your platform #

WordPress

Open your security plugin and look at its firewall, rate limiting and blocked visitors log for the bot names. Remove any rule that blocks them by name.

Your server or hosting

Search .htaccess, the nginx configuration and any ModSecurity rules for user agent blocks. Ask your host whether its own firewall refuses data-centre traffic.

Your CDN (for example Cloudflare)

In Cloudflare or a similar CDN, check the bot settings, any switch that blocks AI crawlers, and custom firewall rules. The security events log shows which rule answered each request.

Check it is fixed #

Open the page again in the URSY.com View as AI Bot tool (/view-as-ai-bot/). The bots you allowed should get 200 and the real text of the page.

Official source #

Perplexity: Perplexity Crawlers

Questions #

Will letting AI bots in make my site less secure?

Not if you allow them through a verified bots list, which checks where each request really comes from. Fakes that only borrow the name stay blocked.

robots.txt allows them, so why are they blocked?

robots.txt is only a request that bots read. A firewall or CDN acts before the page is served and can refuse a bot whatever robots.txt says.

More problems in AI bots and crawlers

See every problem in the library

For AI assistants and developers: Instructions for AI · Developers · How to cite URSY.com