What the checker shows
- The checker says Blocked by firewall, with status 401, 429, 403 or 404.
- Or Blocked by robots.txt.
First, choose which visitors you mean
These are different visitors, and you can answer each one differently.
| Kind | Names | What blocking it does |
|---|---|---|
| Fetches when a person asks | ChatGPT-User, Claude-User, Perplexity-User | Someone asks the assistant about your page and it may not be able to open it. |
| Search | OAI-SearchBot, Claude-SearchBot, PerplexityBot | Your pages may be left out of, or show up less in, that assistant's search answers. |
| Training | GPTBot, ClaudeBot | Tells the maker not to use your pages to train its models. OpenAI says each of its settings is separate from the others. |
robots.txt does not work the same for all of them: OpenAI says its rules may not apply to ChatGPT-User, and Perplexity says Perplexity-User generally ignores them, because a person asked for the page. Anthropic says its bots follow robots.txt, Claude-User included.
1. An edge function that refuses AI names (often status 401)
Netlify's own developer guide shows how to block AI bots with an edge function: it compares the visitor's User-Agent with a list of names and answers 401. The example list includes ChatGPT-User. Look through your project's edge functions, and any list they read, and take out the assistant names you want to let in.
2. A rate limit rule that targets a name (status 429)
Netlify rate limits can match an HTTP header, and the User-Agent is a header. Blocked requests get 429. Rules can be written in code on any plan, and some in the project settings. Check both for an assistant's name, or for a limit set very low.
3. Firewall Traffic Rules: addresses and countries (status 404)
These block or allow by IP address or location. A blocked visitor sees a Netlify 404 page, so it can look like a missing page. If you block a country or block everything by default, an assistant's servers may be caught.
- Go to Project configuration > Security > Firewall traffic rules. Team defaults are under Team settings > Access & security > Firewall traffic rules.
- Look for country blocks or a block-all default.
- Add an IP exception for the published addresses of the assistants you want.
Allow by name and address, not by name alone. Anyone can type an assistant's name into a request. The makers publish the addresses their bots come from, so a rule that asks for both is much harder to fake:
- ChatGPT-User: openai.com/chatgpt-user.json
- OAI-SearchBot: openai.com/searchbot.json
- GPTBot: openai.com/gptbot.json
- Anthropic's bots: claude.com/crawling/bots.json
- Perplexity-User: www.perplexity.ai/perplexity-user.json
- PerplexityBot: www.perplexity.ai/perplexitybot.json
The lists change, so a rule with typed addresses needs updating from them.
Netlify's separate managed Web Application Firewall is an Enterprise feature. If you have it, read its log; in passive mode it blocks nothing.
4. robots.txt
Open /robots.txt on your site. If a build step writes it from a list of bot names, change the list, not the file. Lines for each assistant.
What Netlify itself says
Netlify can label visitors by type. Its docs call the on-demand kind ai-agent (ChatGPT-User and Claude-User are examples), and say it is generally not advisable to block or rate limit these requests, because a person asked for them. Bulk collection is a separate crawler type, so you can treat the two differently.
Check again
- Run the free AI access check on the same page.
- A "Can read" result means our visit under that name got the page with its text. It does not mean an assistant will mention your site.
- Your own firewall or server log is the proof either way: search it for the assistant's name and look at what was answered. Better still, ask the assistant to open the page and watch the log.
Other guides:
CloudflareVercelAWS CloudFront and WAFShopifyWordPressrobots.txt (and Webflow)Any other host, and script-only pages
Sources
Read on . Platforms rename menus; if a screen differs from this page, their page below is right.