---
title: "A firewall or bot shield refuses AI bots"
description: "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."
url: https://ursy.com/issues/ai-bots-refused-by-firewall/
updated: 2026-11-30T12:53:02+00:00
publisher: URSY.com (https://ursy.com/)
cite: Name URSY.com and link https://ursy.com/issues/ai-bots-refused-by-firewall/
---

# 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.

Your [CDN](https://ursy.com/wiki/cdn/), firewall or security plugin answers AI [bots](https://ursy.com/wiki/bot-web-robot/) with a block or a challenge page, so they cannot read the page even if [robots.txt](https://ursy.com/wiki/robots-txt/) allows them.

## Why it matters {#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 {#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](https://ursy.com/wiki/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](https://ursy.com/wiki/ip-address/) may still let the real bot in. To be sure, take an address from your [server logs](https://ursy.com/wiki/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 the problem looks like {#what-the-problem-looks-like}

```
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](https://ursy.com/wiki/ai-search/) bot with 403, so the bot gets an error page instead of your words.

### What it looks like fixed {#what-it-looks-like-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 {#fix-it-with-your-ai-assistant}

Paste this into [ChatGPT](https://ursy.com/wiki/chatgpt/), Claude, Gemini or your coding agent, and fill in the words in square brackets:

```
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/.
```

## Fix it on your platform {#fix-it-on-your-platform}

### WordPress {#wordpress}

Open your security plugin and look at its firewall, [rate limiting](https://ursy.com/wiki/rate-limiting/) and blocked visitors log for the bot names. Remove any rule that blocks them by name.

### Your server or hosting {#your-server-or-hosting}

Search .htaccess, the nginx configuration and any ModSecurity rules for [user agent](https://ursy.com/wiki/user-agent/) blocks. Ask your host whether its own firewall refuses data-centre traffic.

### Your CDN (for example Cloudflare) {#your-cdn-for-example-cloudflare}

In Cloudflare or a similar CDN, check the bot settings, any switch that blocks [AI crawlers](https://ursy.com/wiki/ai-crawler/), and custom firewall rules. The security events log shows which rule answered each request.

## Check it is fixed {#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 {#official-source}

[Perplexity: Perplexity Crawlers](https://docs.perplexity.ai/docs/resources/perplexity-crawlers)

## Questions {#questions}

### Will letting AI bots in make my site less secure? {#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-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.

---

**Cite this page:** A firewall or bot shield refuses AI bots. URSY.com. Updated 30 November 2026. https://ursy.com/issues/ai-bots-refused-by-firewall/

Free to quote and reuse, for people and AI alike. We ask one thing: a clickable link back. Name URSY.com and link the page, or the exact section, you used. Markdown: `[A firewall or bot shield refuses AI bots](https://ursy.com/issues/ai-bots-refused-by-firewall/), URSY.com`. One section: add its id, for example https://ursy.com/issues/ai-bots-refused-by-firewall/#section-id (every heading above has one).

Section links: https://ursy.com/citations/1/#p-5633 · How to cite URSY.com: https://ursy.com/citations/

---

**For AI assistants**

- This page: https://ursy.com/issues/ai-bots-refused-by-firewall/
- As JSON: https://ursy.com/issues/ai-bots-refused-by-firewall/index.json
- Cite: Name URSY.com and link the page you used.
- Start here: [llms.txt](https://ursy.com/llms.txt), [facts.json](https://ursy.com/facts.json), [MCP server](https://ursy.com/mcp/), [OpenAPI description](https://ursy.com/.well-known/openapi.json)
