Short answer
To allow AI crawlers, add an explicit Allow rule for each named agent in robots.txt, then confirm no security plugin, firewall or CDN rule is refusing them at the edge before robots.txt is ever consulted.
Allowing AI crawlers is a two-layer job, and most firms only do the first layer. robots.txt is a request that well-behaved bots read. A security plugin, firewall rule or CDN bot filter is an enforcement that happens earlier, at the edge, where robots.txt is never consulted.
A site can have a perfectly permissive robots.txt and still refuse every AI crawler. Whether your site is currently blocked is the diagnosis covered in AI crawler access. This page covers how to open it.
Which crawlers to name
Eleven crawlers and one Google control belong to the AI answer engines listed below, and each is set on its own line rather than by one switch. The vendors also treat robots.txt differently, which the next sections cover. Every name here comes from the vendor’s own documentation, linked.
- OpenAI (OpenAI’s crawler documentation) uses
GPTBot,OAI-SearchBotandChatGPT-User, plusOAI-AdsBot, which only checks the landing pages of ads placed in ChatGPT - Anthropic (Anthropic’s crawler documentation) uses
ClaudeBot,Claude-SearchBotandClaude-User - Perplexity (Perplexity’s crawler documentation) uses
PerplexityBotandPerplexity-User - Google (Google’s crawler documentation) uses
Googlebot, plusGoogle-Extended, which is a robots.txt control rather than a crawler - Microsoft (Bing’s announcement of its crawler name) uses
Bingbot
Older robots.txt files often name anthropic-ai. Anthropic’s current documentation does not list it, so a rule that names only anthropic-ai may not reach the agents Anthropic runs today.
Naming each one matters because a wildcard rule is the weakest form of permission. An explicit Allow for a named agent survives a later edit that tightens the wildcard, and it makes the intent readable to whoever inherits the file.
What are the three kinds of agent?
The agents split into three jobs, not two, and the third is the one most firms get wrong.
- Training crawlers.
GPTBotandClaudeBotfetch pages for model training. Blocking these is a content-licensing decision. OpenAI says each of its settings is independent, so blockingGPTBotdoes not remove a site from ChatGPT search. - Search crawlers.
OAI-SearchBot,Claude-SearchBotandPerplexityBotbuild what ChatGPT, Claude and Perplexity search when they answer, andGooglebotandBingbotbuild the Google and Bing search indexes. Blocking these is the decision that can take a firm out of answers, in each vendor’s own words: OpenAI says a site that opts out ofOAI-SearchBotwill not be shown in ChatGPT search answers; Anthropic says blockingClaude-SearchBotmay reduce a site’s visibility in Claude’s search results; Perplexity saysPerplexityBotis what surfaces and links sites in its results; and blockingGooglebottakes a firm out of Google Search, which is where AI Overviews appear. - User-triggered fetchers.
ChatGPT-User,Claude-UserandPerplexity-Useropen a page because a person asked. The vendors disagree about robots.txt here, which the next section sets out.
One more name sits outside the three groups. Google-Extended sends no requests of its own. Google says it does not affect a site’s inclusion in Google Search and is not a ranking signal; it controls whether Google may use the site’s pages to train Gemini and to ground answers in Gemini Apps. Blocking it leaves a firm in Google Search and AI Overviews and keeps it out of those Gemini uses.
A firm uncomfortable with its content training a model blocks group one and keeps group two. Blocking group two is the decision that removes the firm from answers, and it is frequently made by accident while trying to make the first one.
Does robots.txt control every agent?
Not for every vendor, and the vendors say so in their own documentation. OpenAI states that for ChatGPT-User, “robots.txt rules may not apply”, because the fetches are user-initiated. Perplexity states that Perplexity-User “generally ignores robots.txt rules”, since a user requested the fetch. Anthropic takes the other position: it says its bots respect robots.txt, Claude-User included, and that blocking Claude-User may reduce a site’s visibility when a person asks Claude to look something up.
Three consequences follow, and they point in different directions:
- A blanket block is not as complete as it looks. A firm that disallowed every AI agent has not stopped a person asking ChatGPT or Perplexity to open one of its pages.
- Allowing
ChatGPT-UserorPerplexity-Userachieved little. Those lines were written into a file those agents may not consult. - A block on
Claude-Userdoes work. A firm that blocked it by accident has refused the fetches Claude makes when a client asks it about the firm.
Robots.txt is the control for the crawlers that build what an engine retrieves from. Treat group two as the group that decides whether your firm is eligible to be cited, and spend the configuration effort there.
How to open access
Work through these in order.
- Add an explicit
Allow: /block for each named agent in robots.txt, oneUser-agentline per agent - Remove any stale
Disallowleft from a staging configuration, since a site-wideDisallow: /copied from a pre-launch file is a common cause - Check the security plugin, because WordPress security and anti-scraping plugins can ship bot blocklists that include AI agents. On a firm’s WordPress site, open the plugin’s firewall or bot settings and look for a blocked user-agent list or a preset that refuses AI agents
- Check the CDN or WAF rules, where a managed bot-fighting mode blocks unfamiliar agents without listing them anywhere you would think to look
- Check for server-level agent blocking, in
.htaccessor an nginx config, which usually predates anyone currently at the firm - Re-test each agent rather than assuming a fix at one layer cleared the others
Steps 3 to 5 are where the real blocks live. A firm that edits robots.txt, sees no change and concludes the tool is wrong has usually stopped one step early.
A robots.txt a firm can start from
This file allows every search crawler and user fetcher named above, and leaves the training lines for the firm to decide. Paste it at the root of the site as /robots.txt, keep any Disallow lines for private paths such as an intake form or a staff login, and replace the sitemap address with your own.
# Search crawlers the AI assistants draw on
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
User-agent: Googlebot
User-agent: Bingbot
Allow: /
# Fetches a person asked for (Anthropic says its fetcher follows this file; OpenAI and Perplexity say theirs may not)
User-agent: ChatGPT-User
User-agent: Claude-User
User-agent: Perplexity-User
Allow: /
# Training and Gemini use: allowing or refusing these is a licensing choice
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Google-Extended
Allow: /
User-agent: *
Allow: /
Sitemap: https://www.example-law-firm.com/sitemap.xml
Several User-agent lines above one rule is standard robots.txt: the rule applies to each of them. A crawler that finds a group naming it follows that group and ignores the * group, so a Disallow meant for every agent has to be repeated inside each named group.
What should a law firm keep out of robots.txt?
Keep anything confidential out of it entirely. robots.txt is a public file, so a Disallow line for a document-upload page or a staff area tells every reader where that path is. It is a request rather than a lock, too, and two vendors document user-triggered fetchers that may not follow it.
The paths a firm reasonably disallows are the ones with nothing to quote: the intake form’s confirmation page, a staff login, internal search results. Anything that holds client information belongs behind a login, whatever robots.txt says. The pages a firm wants cited, which are its practice area pages, attorney bios and office pages, belong under Allow: / with nothing narrowing them.
Who decides about the training crawlers?
The training lines are the firm’s decision, not the developer’s or the agency’s. Whether a firm’s guides and bio pages can train a model is a licensing question for the partners, and it has no effect on the search crawlers the file allows separately.
Write the decision down with the date and the reason, and keep it with the site’s documentation. robots.txt outlives the person who edited it, and the next developer who inherits a file blocking GPTBot has no way to tell a deliberate choice from a leftover.
How to verify
Verify per agent, not per site. A single check against one crawler tells you nothing about the others, because they can be blocked individually and often are.
Run your domain through the free AI-crawler check, which tests each named agent against your live robots.txt and reports them by vendor. An agent that reads as allowed there and still never appears in your logs points at the edge layers in steps 3 to 5.
How do you confirm a crawler actually arrived?
Confirm arrival in your server logs, because robots.txt states a permission and logs record a visit. The two answer different questions, and a firm that checks only the first never learns whether the second happened.
- Filter your access logs by user-agent. Search for
OAI-SearchBot,GPTBot,Claude-SearchBot,ClaudeBot,PerplexityBotandGooglebotacross the last 30 days.Google-Extendednever appears, because it is a control rather than a crawler. - Check which paths were fetched. A crawler that fetches only the homepage tells you the practice-area pages and attorney bios are unreachable in practice, whatever robots.txt says.
- Check the response codes returned. A run of 403 or 429 responses to a named agent means something at the edge is refusing it after robots.txt allowed it.
- Compare the agents against each other. One agent missing while three arrive points at a per-agent rule rather than a site-wide block.
A permitted agent that never appears in 30 days of logs is the clearest evidence that steps 3 to 5 above are where the block lives.
Does allowing crawlers put a firm in Bing and Google?
No. Crawler permission and search indexing are separate systems, and permitting an agent does not add a page to any index. Bingbot and Googlebot govern the conventional indexes those companies run, and the AI agents govern what the answer products fetch.
Keep both permitted. A firm that blocks Bingbot while allowing OAI-SearchBot has made a decision about its search presence without meaning to, because the two are configured in the same file and get edited in the same sitting.
What allowing crawlers will not do
Opening crawler access does not get a firm cited. It makes the firm eligible to be cited, which is a prerequisite rather than an outcome.
A reachable page that does not answer the question stays uncited, and the reasons a reachable firm is still absent are covered in why firms get left out of AI answers.
Crawl access is stage one of four. Clearing it moves a firm from structurally uncitable to eligible, and the remaining three stages decide the result. Pickedby tracks whether that eligibility turns into citations across the four AI assistants it tracks, sorted into cited, mentioned or absent per question.
Stated limit: The crawler check reads your live robots.txt and reports which named agents it permits. It does not see your firewall, CDN or plugin rules, because those refuse a request before robots.txt is consulted. It cannot speak for ChatGPT-User or Perplexity-User either, because their vendors document them as not always bound by the file. Only your own logs show what actually arrived.