Is my site blocking ChatGPT? A 5-minute check
Your site blocks ChatGPT if OAI-SearchBot or ChatGPT-User cannot fetch your pages or read their text. The four usual causes are a robots.txt group that disallows them, a CDN or firewall rule that returns 403 or a challenge, a noindex directive, and content that only appears after JavaScript runs. You can rule out all four in about five minutes with a robots.txt tester, the free Citeto check and one look at your CDN settings.
Which ChatGPT bots should be able to reach your site?
OpenAI documents three user agents, and they do different jobs:
OAI-SearchBot surfaces websites in ChatGPT’s search features. OpenAI states that sites opted out of OAI-SearchBot will not be shown in ChatGPT search answers, apart from navigational links. If you want to be cited, this one must be allowed.
ChatGPT-User fetches a page when a person’s request in ChatGPT or a custom GPT needs it. OpenAI says robots.txt rules may not apply to it because the action is user-initiated, and that it is not used to decide whether content appears in search. A firewall can still block it.
GPTBot crawls content that may be used to train OpenAI’s foundation models. Blocking it is a choice about training; it does not remove you from search answers.
How does robots.txt decide what OAI-SearchBot may crawl?
robots.txt is split into groups, each starting with one or more User-agent lines. Under RFC 9309, a crawler obeys the group whose user-agent matches its name, matched case-insensitively. If several groups name it, their rules are combined. Only if no group names it does it fall back to the User-agent: * group. Inside the chosen group, the longest matching path wins, and on a tie Allow beats Disallow.
Three patterns block search bots by accident:
A named group replaces the
*group. If you writeUser-agent: OAI-SearchBotwithDisallow: /checkout, OAI-SearchBot ignores everything in your*group, including otherDisallowlines you meant it to follow.A broad
*block catches every bot you did not name.User-agent: *withDisallow: /, often left over from a staging site, blocks OAI-SearchBot unless a separate group allows it.Block lists copied from templates mix purposes. A list meant to block training crawlers sometimes includes OAI-SearchBot next to GPTBot. Read each name in the list.
What if your robots.txt itself returns an error?
The status code of /robots.txt matters as much as its content. Under RFC 9309, a 4xx response (for example 404) means the file is treated as absent, and crawlers may access everything. A 5xx response, or a server that does not answer, means crawlers must assume complete disallow. If that lasts a long time (the RFC gives 30 days as an example), crawlers may treat the file as unavailable or use a cached copy.
So a robots.txt that times out behind a slow origin, or returns 503 during deploys, can block every compliant crawler while it lasts. Open https://your-domain.com/robots.txt and confirm it returns 200 with the content you expect. After you fix a rule, OpenAI says its systems take about 24 hours to pick up the change.
Could your CDN or firewall be blocking ChatGPT?
robots.txt is a request; a CDN or web application firewall enforces. A bot-management rule can return 403, a CAPTCHA or a JavaScript challenge to OAI-SearchBot or ChatGPT-User even when robots.txt allows them. Your robots.txt test passes, but the bot never sees the page.
Cloudflare, for example, now sets AI crawler policies per category: separate actions for Search, Agent and Training traffic, each of which can be Block, Block on pages with ads, or Allow. Crawlers that serve both search and training are governed by the Training action. Check what your zone is set to; a setting chosen to stop training can catch search crawlers if the category does not match your intent.
To check any CDN:
Open your bot or firewall settings and look for rules that mention AI bots, crawlers or the user agents above.
Search your firewall or CDN logs for
OAI-SearchBotandChatGPT-Userand look at the status codes they received.A
curlrequest with a ChatGPT user agent is not proof either way: many firewalls verify bots by IP address. OpenAI publishes its IP ranges atopenai.com/searchbot.json,openai.com/chatgpt-user.jsonandopenai.com/gptbot.json; allowlist those ranges, not the user-agent string.Look beyond bot rules as well. Rate limits, country blocks and “under attack” modes apply to every visitor, crawlers included. A crawler that fetches many product pages in a short time can hit a rate limit set for human traffic and start receiving 429 or 403 responses partway through your catalog.
Is a noindex directive hiding your pages from ChatGPT?
OpenAI’s publisher FAQ says to use the noindex meta tag to keep a page out of ChatGPT search, and that its crawler must be allowed to crawl the page to read that tag. The same directive left on pages you want cited, often from a staging setting, a theme option or an SEO plugin, keeps them out.
Look in two places: a <meta name="robots" content="noindex"> tag in the HTML, and an X-Robots-Tag: noindex header in the HTTP response. The header is easy to miss because it does not appear in the page source.
Note the order of operations. If robots.txt blocks a page, the crawler never fetches it and never sees noindex. Google documents the same behavior: indexing rules on a URL that is disallowed from crawling are not found and are ignored. To keep a page out of search reliably, allow crawling and use noindex; to keep it in, remove both blocks.
Can ChatGPT read content that only loads with JavaScript?
OpenAI does not document JavaScript rendering for OAI-SearchBot or ChatGPT-User. The safe assumption is that they read the HTML your server returns. Google, which does render JavaScript, still recommends server-side rendering or pre-rendering and notes that not all bots can run JavaScript.
If your product pages arrive as an empty <div id="root"></div> plus scripts, ChatGPT may fetch them successfully and still find no product name, price or description to cite. That is a block in effect, even with every crawl rule set correctly.
To check, open a key product page, choose “View page source” (not the inspector, which shows the page after scripts run) and search for the product name and price. If they are not in the source, render them on the server.
How do you run the 5-minute self-check?
Work through these steps in order. Each one rules out one of the causes above.
Minute 1: robots.txt. Open
https://your-domain.com/robots.txt, confirm it returns 200, copy it into the Citeto AI robots.txt tester and test/plus one product and one category path. OAI-SearchBot and ChatGPT-User should show as allowed.Minute 2: the free check. Run the Citeto check on your homepage. It tests AI search bot access in robots.txt, whether the homepage returns 200 without
noindexin meta robots orX-Robots-Tag, and whether the main content is in the HTML without JavaScript.Minute 3: noindex on key pages. For a product and a category page, view the source for
noindexand check the response headers (browser developer tools, Network tab) forX-Robots-Tag.Minute 4: page source. On the same product page, search the page source for the product name and price.
Minute 5: CDN and firewall. Open your CDN’s bot settings and confirm search and user-triggered AI bots are allowed. If you have logs, filter by
OAI-SearchBotand look for 403 responses.
What if every check passes and ChatGPT still does not cite you?
Then access is not the problem, and the remaining work is content and reputation. Passing these checks means OAI-SearchBot can fetch and read your pages; it does not mean ChatGPT will choose them over other sources for a given question.
Remember the 24-hour delay after robots.txt changes, and that a page has to be crawled before it can be cited. After that, look at the pages ChatGPT does cite for your buyers’ questions and compare them with yours: do they answer the question in the first paragraph, state specific facts and prices, and name the brand clearly? That comparison usually shows what to write next.
What to do now
- Test your robots.txt for OAI-SearchBot, ChatGPT-User and GPTBot on key paths.
- Run the free check for bot access, noindex and content without JavaScript.
- Allow AI search and user-triggered bots in robots.txt.
- Remove noindex from your homepage and key pages.
- Render product names and prices in the server HTML.
- Look up each AI bot’s user agent and purpose.
- Decide on training bots such as GPTBot separately.
FAQ
If I block GPTBot, is ChatGPT blocked from my site?
No. GPTBot is OpenAI’s training crawler. ChatGPT search uses OAI-SearchBot, and ChatGPT fetches pages for users with ChatGPT-User. Blocking GPTBot only signals that your content should not be used for training.
Does robots.txt apply to ChatGPT-User?
OpenAI says robots.txt rules may not apply to ChatGPT-User because its requests are initiated by a user. A CDN or firewall rule can still block it, so check those settings too.
How long after fixing robots.txt will ChatGPT see my site?
OpenAI says it can take about 24 hours from a robots.txt update for its systems to adjust. Pages still need to be crawled before they can appear in answers.
Can I test whether OAI-SearchBot is blocked with curl?
Only partly. A curl request with the OAI-SearchBot user agent shows how your server treats that string, but many firewalls verify bots by IP address. Check your CDN logs and allowlist the IP ranges OpenAI publishes.
Sources
- [1]OpenAI: Overview of OpenAI crawlersdevelopers.openai.com
- [2]OpenAI Help Center: Publishers and developers FAQhelp.openai.com
- [3]RFC 9309: Robots Exclusion Protocolrfc-editor.org
- [4]Cloudflare: AI crawler and agent access policiesdevelopers.cloudflare.com
- [5]Google Search Central: Robots meta tag, data-nosnippet and X-Robots-Tagdevelopers.google.com
- [6]Google Search Central: JavaScript SEO basicsdevelopers.google.com