<?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: Henrik Åberg</title>
    <description>The latest articles on DEV Community by Henrik Åberg (@henrikaberg).</description>
    <link>https://dev.to/henrikaberg</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%2F4113549%2Fc7cb9f81-fad1-4c4f-bd28-163a08fc079e.png</url>
      <title>DEV Community: Henrik Åberg</title>
      <link>https://dev.to/henrikaberg</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/henrikaberg"/>
    <language>en</language>
    <item>
      <title>GPTBot in robots.txt: the hosting toggle developers need to check</title>
      <dc:creator>Henrik Åberg</dc:creator>
      <pubDate>Mon, 07 Sep 2026 09:35:38 +0000</pubDate>
      <link>https://dev.to/directree/gptbot-in-robotstxt-the-hosting-toggle-developers-need-to-check-10he</link>
      <guid>https://dev.to/directree/gptbot-in-robotstxt-the-hosting-toggle-developers-need-to-check-10he</guid>
      <description>&lt;p&gt;Your &lt;code&gt;robots.txt&lt;/code&gt; may express an AI policy you did not write.&lt;/p&gt;

&lt;p&gt;We checked the homepage and &lt;code&gt;robots.txt&lt;/code&gt; of 9,037 live AI tools listed on directree on 6 and 7 September 2026. Of those, 945 explicitly disallow OpenAI’s GPTBot in its own user-agent group: 10.5% of the sample.&lt;/p&gt;

&lt;p&gt;Treat AI crawler rules as deployment configuration. Review them when you change hosting, enable a CDN feature, adopt a starter template, or hand site operations to someone else.&lt;/p&gt;

&lt;p&gt;Read the &lt;a href="https://www.directree.io/research/ai-tools-blocking-gptbot" rel="noopener noreferrer"&gt;full research and methodology&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  GPTBot, search, and user browsing are separate
&lt;/h2&gt;

&lt;p&gt;A common configuration blocks model training while keeping a site available in AI-assisted search and browsing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User-agent: GPTBot
Disallow: /

User-agent: OAI-SearchBot
Allow: /
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;These are separate crawlers with separate purposes. In our sample, 839 of the 945 sites that block GPTBot, or 88.8%, still allow OAI-SearchBot. That is a deliberate and useful distinction if your goal is to opt out of training while remaining eligible to be cited in ChatGPT search.&lt;/p&gt;

&lt;p&gt;The same pattern appears across AI labs. ClaudeBot is explicitly blocked by 10.1% of the 9,037 tools, while Claude-SearchBot is blocked by just 0.1%. Google-Extended is blocked by 9.9%, but its purpose is also distinct from ordinary Google Search crawling.&lt;/p&gt;

&lt;p&gt;Do not assume a broad-looking rule has the result you want. Check the actual crawler names and decide which capabilities you want to permit.&lt;/p&gt;

&lt;h2&gt;
  
  
  A safe way to review your file
&lt;/h2&gt;

&lt;p&gt;Start by opening the public URL:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;https://your-domain.example/robots.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then look for three things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A named crawler group, such as &lt;code&gt;User-agent: GPTBot&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;A &lt;code&gt;Disallow: /&lt;/code&gt; directly inside that group.&lt;/li&gt;
&lt;li&gt;A wildcard group, &lt;code&gt;User-agent: *&lt;/code&gt;, that could affect all crawlers.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Our measurement only counts a site as blocking GPTBot when the named GPTBot group itself contains &lt;code&gt;Disallow: /&lt;/code&gt;. This matters because ordinary technical exclusions are widespread. Only 31 sites in the 9,037-site sample, or 0.3%, block every crawler outright. Meanwhile, 44% have a path-level &lt;code&gt;Disallow&lt;/code&gt; rule in a wildcard group, often for an admin area or API route. That is normal site hygiene, not necessarily an AI policy.&lt;/p&gt;

&lt;p&gt;Keep sensitive paths protected through authentication and application controls too. &lt;code&gt;robots.txt&lt;/code&gt; is a crawler instruction, not access control.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why hosting provider settings deserve attention
&lt;/h2&gt;

&lt;p&gt;Hosting correlated strongly with whether a tool blocked GPTBot. Of 3,749 Cloudflare-hosted sites, 22.4% explicitly blocked it. On Vercel, 5.2% of 2,556 sites did. Netlify was 4.0% across 273 sites, Fastly 3.9% across 361, and CloudFront 3.4% across 328.&lt;/p&gt;

&lt;p&gt;That makes Cloudflare-hosted tools more than four times as likely to block GPTBot as Vercel-hosted tools in this sample.&lt;/p&gt;

&lt;p&gt;The likely explanation is operational rather than philosophical. A hosting control that offers to block AI bots can write or manage crawler policy at scale. That is convenient, but it can make a consequential content policy feel like a harmless performance or security toggle.&lt;/p&gt;

&lt;p&gt;Whenever you enable one of these settings, verify the deployed result rather than relying on the dashboard label. Fetch &lt;code&gt;robots.txt&lt;/code&gt; after deployment and include it in your release checklist.&lt;/p&gt;

&lt;h2&gt;
  
  
  Make the choice explicit
&lt;/h2&gt;

&lt;p&gt;A small policy file is easier to maintain than an inherited one. If you want to block training but preserve discoverability, state that clearly with named groups. If you want to allow everything, avoid leaving old template rules behind. If you want a complete block, understand that wildcard rules can affect conventional search crawlers too.&lt;/p&gt;

&lt;p&gt;The broader data shows this is becoming more common: 13.6% of 2,900 domains registered in 2026 block GPTBot, compared with 6.9% of 145 domains registered in 2023. That makes it even more important to know whether your policy is intentional.&lt;/p&gt;

&lt;p&gt;For the complete crawler breakdown, hosting results, and methodology, see &lt;a href="https://www.directree.io/research/ai-tools-blocking-gptbot" rel="noopener noreferrer"&gt;How many AI tools block GPTBot&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>robots</category>
      <category>ai</category>
      <category>cloudflare</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
