<?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: Luziq</title>
    <description>The latest articles on DEV Community by Luziq (@luziq).</description>
    <link>https://dev.to/luziq</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%2F4230409%2Fc00c7f9f-0f24-46a6-99bf-201c2676bf22.png</url>
      <title>DEV Community: Luziq</title>
      <link>https://dev.to/luziq</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/luziq"/>
    <language>en</language>
    <item>
      <title>How to show up in ChatGPT: first check that it can read your site (robots.txt, in 5 minutes)</title>
      <dc:creator>Luziq</dc:creator>
      <pubDate>Sat, 07 Nov 2026 15:11:21 +0000</pubDate>
      <link>https://dev.to/luziqai/how-to-show-up-in-chatgpt-first-check-that-it-can-read-your-site-robotstxt-in-5-minutes-3p3b</link>
      <guid>https://dev.to/luziqai/how-to-show-up-in-chatgpt-first-check-that-it-can-read-your-site-robotstxt-in-5-minutes-3p3b</guid>
      <description>&lt;p&gt;Before anything else, check that ChatGPT is allowed to read your site, because if its search crawler is blocked, nothing else you do will matter. OpenAI says sites opted out of its search crawler won't be shown in ChatGPT search answers. It takes about five minutes to check, and you don't need to be technical.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Open your robots.txt
&lt;/h2&gt;

&lt;p&gt;In a browser, go to your own site with &lt;code&gt;/robots.txt&lt;/code&gt; on the end:&lt;br&gt;
&lt;/p&gt;

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

&lt;/div&gt;



&lt;p&gt;This is a small public text file telling crawlers what they may read. If you get a "not found" page, that's fine. No file means nothing is being blocked this way.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Look for these three patterns
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Blocked by name.&lt;/strong&gt; This one keeps ChatGPT's search out:&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;OAI&lt;/span&gt;-&lt;span class="n"&gt;SearchBot&lt;/span&gt;
&lt;span class="n"&gt;Disallow&lt;/span&gt;: /
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Everything blocked.&lt;/strong&gt; This one blocks all well-behaved crawlers, including Google, and it's usually a leftover from when the site was being built:&lt;br&gt;
&lt;/p&gt;

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;A training block, which is a separate thing.&lt;/strong&gt; Many sites now have this:&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;GPTBot&lt;/span&gt;
&lt;span class="n"&gt;Disallow&lt;/span&gt;: /
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;GPTBot is the crawler OpenAI uses for training its models. OpenAI treats the settings as independent, so blocking GPTBot doesn't remove you from ChatGPT search. You can block training and still allow search. Whether to allow training is your call, and it isn't what decides this.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Fix it
&lt;/h2&gt;

&lt;p&gt;Here's a version that allows search and opts out of training:&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;OAI&lt;/span&gt;-&lt;span class="n"&gt;SearchBot&lt;/span&gt;
&lt;span class="n"&gt;Allow&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;span class="n"&gt;Disallow&lt;/span&gt;: /
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If your site's on a builder like Wix or Squarespace, you may not edit this file directly. Look in its settings for anything about search engines, crawlers or AI, and turn off options that block them. On WordPress, security and SEO plugins sometimes add these rules, so check there too.&lt;/p&gt;

&lt;p&gt;OpenAI says it can take about 24 hours after a robots.txt change for its systems to adjust.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Check your firewall
&lt;/h2&gt;

&lt;p&gt;This one catches a lot of people, because robots.txt can look fine while the crawler is still turned away. Some hosts and security services can block AI crawlers. OpenAI recommends allowing its published IP ranges as well as allowing the bot in robots.txt.&lt;/p&gt;

&lt;p&gt;If you use a service like Cloudflare, look for a setting about AI bots. If you're not sure, ask whoever runs your hosting: "Are we blocking OAI-SearchBot at the firewall?" It's a fair question and takes them a minute to answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5: Then ask, a few times
&lt;/h2&gt;

&lt;p&gt;Open a new chat and ask what a customer would ask: the best of your kind of business in your town. Do it three times. The answers will change, so one try tells you little.&lt;/p&gt;

&lt;p&gt;Don't expect instant results. Letting it in only makes you eligible to be read. Whether it names you depends on what it finds, and no one can promise that part. We wrote up &lt;a href="https://luziq.ai/guides/why-chatgpt-doesnt-recommend-my-business/" rel="noopener noreferrer"&gt;other reasons ChatGPT might skip you&lt;/a&gt; and how to check each.&lt;/p&gt;

&lt;p&gt;This article was created with the help of AI.&lt;/p&gt;

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