Back to Blog
GEO / AI Search8 min readOctober 15, 2026 · Updated November 2, 2026

We Read 42 California Law Firm robots.txt Files. None Blocked ChatGPT Search.

None of 42 California law firm robots.txt files blocked ChatGPT's search crawler. The study data, what each AI crawler is for, and the robots.txt lines to use.

Bar chart of 42 California law firm robots.txt files: 0 block ChatGPT's search crawler, 1 blocks only CCBot, 8 publish llms.txt.

Category

GEO / AI Search

Read Time

8 min read

Published

October 15, 2026

Sections

10 sections

Short answer: we read the public robots.txt file of 42 California law firm websites on 7 October 2026. None of them blocked ChatGPT's search crawler, OAI-SearchBot, and none blocked all crawlers. If a firm is missing from AI answers, this sample suggests its robots.txt file is rarely the reason, though it takes about two minutes to check.

By ByteZero Editorial Team · Study data collected 7 October 2026 · Crawler documentation checked November 2, 2026

If you're short on time

  • 0 of 42 firms blocked OAI-SearchBot, GPTBot, ClaudeBot, PerplexityBot or Google-Extended. 1 of 42 blocked Common Crawl's CCBot and nothing else.
  • Search crawlers and training crawlers are separate user agents at OpenAI and Anthropic, so a firm can allow one and block the other. Perplexity says its crawlers are not used for foundation-model training.
  • Google-Extended controls Gemini training and grounding. Google says it does not affect inclusion or ranking in Google Search.
  • robots.txt is a request, not a lock. Google's own documentation says it is not a way to keep a page out of Google.

Free for California firms

Want these numbers for your own office?

We run the same map pack and AI visibility check for your practice and address in California, then show where you stand. No obligation.

Run my free audit →

Why we looked

OpenAI's documentation says a site that blocks OAI-SearchBot will not be shown in ChatGPT search answers. That made one line in a public text file a plausible, cheap-to-check cause of invisibility, so we checked how common the problem is among California firms.

People do look these crawlers up. In Google Keyword Planner (California, Nov 2026), "robots txt" averages 1,000 searches a month and "claudebot" 1,300, though "claudebot" swung from 40 to a peak of 6,600 within the twelve months. "gptbot" averages 50 and "oai searchbot" 40.

What we found in 42 robots.txt files

What we checkedFirms (of 42)
Blocked every crawler0
Blocked OAI-SearchBot, GPTBot, ClaudeBot, PerplexityBot or Google-Extended0
Blocked a single AI-related crawler (Common Crawl's CCBot) and nothing else1
Named AI search crawlers to allow them explicitly1
Published an llms.txt file8
Had no Sitemap line in robots.txt3

Many files were the default text a WordPress or SEO plugin writes, which says "everyone is welcome" and never mentions AI at all.

The AI crawlers a robots.txt file can name

Each company publishes the user-agent token its crawler answers to. The token is what goes on the User-agent: line. Here is what each one is for, in the companies' own words, checked on November 2, 2026.

User-agent tokenCompanyWhat the company says it doesWhat blocking it does, per the company
OAI-SearchBotOpenAISurfaces websites in ChatGPT's search featuresThe site will not be shown in ChatGPT search answers, though it can still appear as a navigational link
GPTBotOpenAICrawls content that may be used to train OpenAI's foundation modelsSignals the content should not be used for training
ChatGPT-UserOpenAIVisits a page when a ChatGPT user asks a question; not an automatic crawlerOpenAI says robots.txt rules may not apply, because a user started the request
ClaudeBotAnthropicCollects web content that could contribute to model trainingSignals that the site's future materials should be excluded from training data
Claude-SearchBotAnthropicAnalyzes content to improve Claude's search resultsStops indexing for search, which Anthropic says may reduce visibility in search results
Claude-UserAnthropicFetches pages when a Claude user asks a questionStops those user-directed fetches, which Anthropic says may reduce visibility for user-directed web search
PerplexityBotPerplexitySurfaces and links websites in Perplexity search results; Perplexity says it is not used for foundation-model trainingPerplexity recommends allowing it for a site to appear in its search results
Perplexity-UserPerplexityVisits pages to answer a user's questionPerplexity says this fetcher generally ignores robots.txt
Google-ExtendedGoogleA control token, not a separate crawler, for Gemini training and groundingGoogle says it does not affect inclusion in Google Search and is not a Search ranking signal
CCBotCommon CrawlBuilds Common Crawl's open web datasetCommon Crawl publishes User-agent: CCBot / Disallow: / as the opt-out

Sources: OpenAI, Anthropic, Perplexity, Google and Common Crawl.

Two of these matter more for a firm that wants to be cited: OAI-SearchBot for ChatGPT search and PerplexityBot for Perplexity. Both companies recommend allowing them. The training crawlers are a separate business decision.

AI search check

Is ChatGPT recommending your firm in California?

Our free scan checks how ChatGPT, Gemini and Google AI Overviews describe your firm and which competitors they name instead.

Check my AI visibility →

How to write the robots.txt lines

The file lives at the root of the site, for example yourfirm.com/robots.txt. Google's robots.txt specification says the rules apply only to the host, protocol and port where the file sits, so a subdomain such as blog.yourfirm.com needs its own file.

To allow ChatGPT and Perplexity search while asking OpenAI and Anthropic not to use the site for training and Common Crawl not to crawl it, a firm could publish:

User-agent: OAI-SearchBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: CCBot
Disallow: /

User-agent: *
Allow: /

Sitemap: https://www.yourfirm.com/sitemap.xml

Three rules from Google's specification are worth knowing before anyone edits the file:

  • A crawler follows only one group: the one whose user agent matches it most specifically. Once a firm adds a group for GPTBot, GPTBot ignores everything under User-agent: *. Any rule meant for every crawler has to be repeated inside each named group.
  • When an Allow and a Disallow both match a URL, the longer, more specific path wins. On a tie, Google uses the less restrictive rule.
  • User-agent names are not case-sensitive, but paths are. /Practice-Areas/ and /practice-areas/ are different paths.

The single line to avoid is Disallow: / under User-agent: * with no other groups. That asks every compliant crawler, Googlebot included, to stay off the whole site. None of the 42 firms had it.

What blocking does and does not do

robots.txt is a set of requests. Google's introduction to robots.txt says the instructions "cannot enforce crawler behavior" and that it is up to each crawler to obey them. It also says robots.txt "is not a mechanism for keeping a web page out of Google": a blocked URL can still be indexed if other sites link to it, and it can appear in results without a description. To keep a page out of Google, the documentation points to noindex or password protection.

For AI crawlers specifically, the companies' own pages add these limits:

  • User-triggered fetchers sit partly outside robots.txt. OpenAI says its rules may not apply to ChatGPT-User, and Perplexity says Perplexity-User generally ignores them. Anthropic says Claude-User can be disabled through robots.txt.
  • Changes are not instant. OpenAI says its systems take about 24 hours to reflect a robots.txt change and Perplexity says up to 24 hours. Google says it generally caches the file for up to 24 hours.
  • Blocking a training crawler is forward-looking. Anthropic describes a ClaudeBot block as excluding the site's future materials from training data.
  • Blocking by IP address is less reliable than robots.txt for Anthropic, which says IP blocks may stop it from reading the file at all.

What this means for a firm

A clean robots.txt is good news, but it is not an explanation for why your firm does or does not show up in AI answers. Other causes are more likely: pages that are not indexed, details about the firm that differ between sources, or no page that answers the client's question in plain words. The 30-minute check in Is ChatGPT Describing Your Law Firm Correctly? is the better place to start.

Two minutes is still worth spending. Open yourfirm.com/robots.txt, look for a line that disallows everything for all crawlers, and look for any rule naming OAI-SearchBot. Our guide to what Google and OpenAI document explains what each crawler controls, and the free AI visibility audit reads the file against 17 named crawlers. Ask whoever manages your site to make changes; a wrong rule can also block Google.

What we cannot tell you

  • It is not a random sample. We found firms through page-one search results across California practice areas and regions, so larger and better-optimized sites are probably overrepresented.
  • robots.txt shows only the rules a site publishes. It does not show restrictions applied elsewhere, such as at a firewall, so a clean file does not prove a crawler can reach a site.
  • We did not test whether any firm appears in AI answers. We looked at the file, not at outcomes.
  • llms.txt: Google's documentation says no special files are needed for AI Overviews or AI Mode. We report how many firms publish one, not whether it helps.

Method

On 7 October 2026 we collected 42 independent California law firm websites, no more than three per practice area in each group, excluding directories and marketing agencies. Firms came from page-one search results across California practice areas and regions. For each we read the public robots.txt and checked whether /llms.txt returned a real text file. We recorded which AI-related crawlers each file names and how, whether the whole site was disallowed for all crawlers, and whether the file carried a Sitemap line. Four files were re-read in full as a spot check and matched our notes. Firms are not named. Files change, so this is a snapshot.

The crawler descriptions above were added on November 2, 2026 from each company's documentation and did not change the study's counts. For a firm that wants this and the rest of its technical setup reviewed, our answer engine optimization work for California law firms starts with the same file.

More answers

Does a clean robots.txt mean ChatGPT will mention my firm?

No. It removes one possible blocker. Whether a tool mentions a firm depends on much more, including whether pages are indexed and whether firm details agree across sources.

Should my firm block AI crawlers?

That is a business decision. OpenAI and Anthropic each describe search and training as separate crawlers, and Perplexity says its crawlers are not used for model training, so a firm can allow search crawlers such as OAI-SearchBot and PerplexityBot while blocking training crawlers such as GPTBot and ClaudeBot. Ask your web manager before changing anything.

Does blocking Google-Extended remove my firm from Google Search?

No. Google says Google-Extended does not affect a site's inclusion in Google Search and is not a ranking signal. It controls use of content for Gemini model training and grounding.

How long does a robots.txt change take to work?

OpenAI says about 24 hours and Perplexity up to 24 hours. Google says it generally caches robots.txt for up to 24 hours, and longer if it cannot fetch a fresh copy.

Do I need an llms.txt file?

Google says no special files are needed for AI Overviews or AI Mode. In our sample, 8 of 42 firms published one anyway.

This article is general information, not legal advice. Last checked: November 2026.

About the author

ByteZero Marketing Inc. — California legal marketing team

ByteZero works exclusively with California law firms on SEO, AI search visibility (GEO), and client acquisition. Articles draw on our own keyword research, Google Search Console data across client campaigns, and hands-on work in California legal markets from Los Angeles to the Central Valley. Questions about the data or methods in this article? Meet the team or ask us directly.

Free Strategy Session

See how your firm ranks against competitors

Get a custom audit of your California law firm's online presence — no obligation.

We Also Serve

ByteZero helps law firms grow across California. Explore our city-specific marketing strategies:

Available Now

Get a Free SEO Strategy Call

30 minutes. We'll review your site and show you where your firm stands for the searches that matter in your California market.

  • Custom keyword audit
  • Competitor analysis
  • No obligation