<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: orenhacham-lab</title>
    <description>The latest articles on DEV Community by orenhacham-lab (@orenhachamlab).</description>
    <link>https://dev.to/orenhachamlab</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4232039%2F94816727-46cd-456e-a9fd-c34afca2ddbb.png</url>
      <title>DEV Community: orenhacham-lab</title>
      <link>https://dev.to/orenhachamlab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/orenhachamlab"/>
    <language>en</language>
    <item>
      <title>Two thirds of sites blocking GPTBot are also blocking the crawler that brings them traffic</title>
      <dc:creator>orenhacham-lab</dc:creator>
      <pubDate>Sat, 07 Nov 2026 12:03:30 +0000</pubDate>
      <link>https://dev.to/orenhachamlab/two-thirds-of-sites-blocking-gptbot-are-also-blocking-the-crawler-that-brings-them-traffic-2j9b</link>
      <guid>https://dev.to/orenhachamlab/two-thirds-of-sites-blocking-gptbot-are-also-blocking-the-crawler-that-brings-them-traffic-2j9b</guid>
      <description>&lt;p&gt;Blocking &lt;code&gt;GPTBot&lt;/code&gt; and blocking &lt;code&gt;OAI-SearchBot&lt;/code&gt; are not the same decision. Most &lt;code&gt;robots.txt&lt;/code&gt; files treat them as if they were, and the cost of that confusion is invisible: nothing in your analytics will ever tell you about the visitor who never arrived.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;GPTBot&lt;/code&gt; collects pages to train a model. Deciding you don't want that is a legitimate editorial choice with no effect on whether anyone can find you.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;OAI-SearchBot&lt;/code&gt; builds the index behind ChatGPT's answers.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;ChatGPT-User&lt;/code&gt; fetches your page &lt;em&gt;while a person is waiting for an answer&lt;/em&gt; — the fetch that can cite you and send a click.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Block the first and you opt out of training. Block the other two and you have removed yourself from the place your customers are now asking their questions.&lt;/p&gt;

&lt;h2&gt;
  
  
  So I measured how often that happens
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Method.&lt;/strong&gt; I took the &lt;a href="https://tranco-list.eu/" rel="noopener noreferrer"&gt;Tranco&lt;/a&gt; top-1M list — the standard research ranking — and sampled the 100 highest-ranked domains for each of seven markets by ccTLD: &lt;code&gt;.com&lt;/code&gt;, &lt;code&gt;.de&lt;/code&gt;, &lt;code&gt;.fr&lt;/code&gt;, &lt;code&gt;.es&lt;/code&gt;, &lt;code&gt;.it&lt;/code&gt;, &lt;code&gt;.jp&lt;/code&gt;, &lt;code&gt;.nl&lt;/code&gt;. 700 domains, measured on 2026-11-07. I fetched each &lt;code&gt;robots.txt&lt;/code&gt; directly and evaluated the homepage path with a strict RFC 9309 matcher. 528 sites served a readable file; 137 were unreachable and 35 served HTML instead.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Results, across those 528 sites:&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;share&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;block &lt;code&gt;GPTBot&lt;/code&gt; (training)&lt;/td&gt;
&lt;td&gt;30.5%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;block &lt;code&gt;OAI-SearchBot&lt;/code&gt; (ChatGPT's search index)&lt;/td&gt;
&lt;td&gt;16.5%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;block &lt;code&gt;ChatGPT-User&lt;/code&gt; (live answer fetch)&lt;/td&gt;
&lt;td&gt;20.3%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;block at least one traffic-bringing AI crawler&lt;/td&gt;
&lt;td&gt;20.5%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;block an AI traffic crawler &lt;strong&gt;while allowing Googlebot&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;17.2%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The number I did not expect: &lt;strong&gt;of the 161 sites that block &lt;code&gt;GPTBot&lt;/code&gt;, 66.5% also block a crawler that would have brought them a visitor.&lt;/strong&gt; Only 10.2% of all sites made the narrow choice — block training, keep discovery.&lt;/p&gt;

&lt;p&gt;And 17.2% block an AI crawler that brings traffic while still welcoming Googlebot. They are not opting out of search. They are opting out of the half of search that grew.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The limitation, stated plainly:&lt;/strong&gt; these are high-ranking sites, not small businesses. The figures describe the leading sites in each market and should not be read as a picture of small-business websites. A separate sample would be needed for that claim.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four rules a robots.txt matcher usually gets wrong
&lt;/h2&gt;

&lt;p&gt;I wrote the matcher because the answer I wanted was not "blocked" but "blocked, &lt;em&gt;because of this line, in this group&lt;/em&gt;". These four are where implementations fall over, and each is pinned by a test:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Group selection is exact, not a prefix.&lt;/strong&gt; A group for &lt;code&gt;Google-Extended&lt;/code&gt; does &lt;em&gt;not&lt;/em&gt; govern &lt;code&gt;Googlebot&lt;/code&gt;. Prefix matching is the classic bug that reports a site as blocking Google when it blocks one Google product.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. &lt;code&gt;*&lt;/code&gt; is a fallback, not an addition.&lt;/strong&gt; If any group names the crawler, the &lt;code&gt;*&lt;/code&gt; group is ignored entirely — not merged, not consulted for paths the specific group is silent about:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="n"&gt;User&lt;/span&gt;-&lt;span class="n"&gt;agent&lt;/span&gt;: *
&lt;span class="n"&gt;Disallow&lt;/span&gt;: /

&lt;span class="n"&gt;User&lt;/span&gt;-&lt;span class="n"&gt;agent&lt;/span&gt;: &lt;span class="n"&gt;GPTBot&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That file &lt;strong&gt;allows GPTBot everywhere&lt;/strong&gt;. Read it as "both apply" and you invert it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Longest match wins, and &lt;code&gt;Allow&lt;/code&gt; breaks the tie.&lt;/strong&gt; &lt;code&gt;Disallow: /blog/&lt;/code&gt; plus &lt;code&gt;Allow: /blog/public/&lt;/code&gt; allows &lt;code&gt;/blog/public/x&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. An empty &lt;code&gt;Disallow:&lt;/code&gt; allows everything.&lt;/strong&gt; It is the documented way to say "no restrictions". Treat it as a zero-length prefix — which every path matches — and you have reversed the file's meaning completely.&lt;/p&gt;

&lt;h2&gt;
  
  
  The code
&lt;/h2&gt;

&lt;p&gt;I open-sourced the checker. Zero dependencies, no build step, MIT:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx github:orenhacham-lab/ai-crawler-access nytimes.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  BLOCKED  OAI-SearchBot   OpenAI · search  ← disallow: / (line 266, agent group)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The line number is the point. A boolean gives a reader no reason to trust it over re-reading their own file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;checkRobots&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;summarize&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;ai-crawler-access&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;

&lt;span class="nf"&gt;summarize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;checkRobots&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;robotsText&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;/&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
&lt;span class="c1"&gt;// { allowed, blocked, trafficBlocked: ['OAI-SearchBot'], blocksTrainingOnly: false }&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Repo: &lt;a href="https://github.com/orenhacham-lab/ai-crawler-access" rel="noopener noreferrer"&gt;https://github.com/orenhacham-lab/ai-crawler-access&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The crawler list is also published as JSON, CSV and a JSON Schema under CC BY, so you can consume it without installing anything.&lt;/p&gt;

&lt;p&gt;Corrections are the contribution it most wants — if an operator documents a token I have wrong, open an issue with the link.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Disclosure: I build &lt;a href="https://www.gotopseo.com/en" rel="noopener noreferrer"&gt;Go Top SEO&lt;/a&gt;, and there is a hosted version of this check with a UI and no signup at &lt;a href="https://www.gotopseo.com/en/ai-crawlers" rel="noopener noreferrer"&gt;gotopseo.com/en/ai-crawlers&lt;/a&gt;. The library above is MIT-licensed and needs nothing from me to run. This article was drafted with AI assistance; the measurement, the code and the conclusions are mine.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>seo</category>
      <category>webdev</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
