Guide

Is Cloudflare blocking ChatGPT from your website? How to check and fix it

If your site runs through Cloudflare, Cloudflare could be blocking ChatGPT from it without you ever touching a setting. The crawler that matters is OAI-SearchBot, which decides whether ChatGPT search can show and cite your pages. GPTBot, the training crawler, is a separate choice. Check your robots.txt and Cloudflare’s AI crawler settings, set Search to Allow, and give OpenAI about a day to catch up.

Get foundfaster
Cloudflare blocking ChatGPT guide: checking AI crawler settings so ChatGPT search can find a small business website

Plenty of small business websites sit behind Cloudflare. Sometimes the owner set it up. More often a web designer, an IT person or the host did it years ago for speed and SSL. Since July 2025, when Cloudflare announced it was changing its default to block AI crawlers, a lot of those sites have been turning away AI bots. Some of those bots feed the answers your customers read.

Cloudflare has changed these controls more than once since then, and most articles on the topic describe a menu that no longer exists. This guide uses the settings as they appear in Cloudflare’s own documentation in November 2026, and it tells you where they used to live so you can recognise an old setup.

Is Cloudflare blocking ChatGPT, or just its training bot?

It depends which OpenAI crawler is blocked. OpenAI runs three, and only one controls ChatGPT search. If OAI-SearchBot can’t reach your pages, ChatGPT search won’t show them as cited answers. Blocking GPTBot only opts you out of model training. Many owners block the wrong one, or block all three without meaning to.

OpenAI’s crawler documentation spells out the split. Sites that opt out of OAI-SearchBot aren’t shown in ChatGPT search answers, though they can still appear as plain navigational links. GPTBot collects content that may be used for training. ChatGPT-User fetches a page when a person in ChatGPT asks it to, and OpenAI says robots.txt rules may not apply to it because the request is user-initiated.

CrawlerWhat it doesIf you block itCloudflare behavior group
OAI-SearchBotFinds pages to show and cite in ChatGPT searchYour pages drop out of ChatGPT search answersSearch
GPTBotCollects content that may train OpenAI modelsYou opt out of training; search is unaffectedTraining
ChatGPT-UserOpens a page when a user asks ChatGPT toChatGPT can’t open your page on requestAgents

The same split exists for other AI tools: Perplexity, Anthropic and others each run search-style and training-style crawlers. Cloudflare groups them by behavior rather than by company, which is why the settings below talk about “Search”, “Agents” and “Training” instead of brand names. Check the exact group for any one bot in your own dashboard, because Cloudflare decides which bucket each crawler falls into.

For most local businesses, the practical rule is simple: keep Search and Agents open, and make the training decision separately. Blocking training does not, on its own, remove you from AI answers. Semrush’s write-up of Cloudflare’s September 2026 change makes the same point and reports Cloudflare’s figure that fewer than 1% of sites block search bots, against 17% blocking training.

Are you even on Cloudflare? A 2-minute check

Before changing anything, find out whether Cloudflare sits in front of your site and who controls the account. You can’t fix a setting in an account you don’t have.

  1. Open your site in Chrome, right-click, choose Inspect, open the Network tab and reload. Click the first request (your domain) and look under Response Headers.
  2. If you see server: cloudflare and a cf-ray header, traffic is passing through Cloudflare.
  3. Now find out whose Cloudflare account it is. Look up where your domain’s nameservers point (your domain registrar shows this). Nameservers ending in ns.cloudflare.com usually mean someone has a Cloudflare account for your domain.
  4. If nobody in your business has that login, ask your web designer or IT contact. If the headers say Cloudflare but your nameservers point to your website builder or host, the Cloudflare layer may belong to the host, and you’ll need to ask their support how they treat AI crawlers.

That last case is common with hosted platforms, and it’s the one owners waste the most time on. If you don’t control the Cloudflare account, the dashboard steps below don’t apply to you. Your job is to get a straight answer from the host, in writing, on whether OAI-SearchBot can reach your pages.

The 15-minute check: is anything turning AI search crawlers away?

Work through these in order. Most blocks show up in the first two.

  • Read your robots.txtVisit yourdomain.com/robots.txt. Look for a User-agent: OAI-SearchBot (or PerplexityBot, Claude-SearchBot) section with Disallow: /. Also check whether a User-agent: * section disallows everything, which blocks every crawler that follows the file.
  • Spot Cloudflare’s fingerprintsA block of lines you didn’t write, often with comments mentioning Cloudflare or a Content-Signal line, usually means Cloudflare is managing part of the file. Note what it disallows and for which bots.
  • Check the AI crawler policyIn Cloudflare, go to Security → Settings, filter by Bot traffic and open AI Crawler and Agent access policies. Note the setting for Search, Agents and Training.
  • Check AI Crawl ControlOpen AI Crawl Control and the Crawlers tab. Each crawler has an action in the Actions column. Look for OpenAI’s search crawler set to Block.
  • Check your own rulesUnder Security, look through custom rules and any bot setting someone turned on, such as Bot Fight Mode. A rule that blocks or challenges by user agent or country can catch crawlers too.
  • Look for evidence of visitsAI Crawl Control shows requests per crawler and whether they were allowed or blocked. Zero allowed requests from OpenAI’s search crawler over a month is a strong hint that something is stopping it.

You’ll see advice to test with a command such as curl -I -A "OAI-SearchBot" https://yourdomain.com. It’s a rough check at best. A 403 suggests a user-agent rule is firing, but a 200 proves little, because Cloudflare can tell a faked user agent from OpenAI’s verified crawler and may treat them differently. The dashboard’s request log is better evidence.

What you see, what it means, and what to change

What you findWhat it meansFix
Search set to Block in the access policiesCloudflare is turning away AI search crawlers at the edgeSet Search to Allow (do not block)
OAI-SearchBot set to Block in AI Crawl ControlA per-crawler block, possibly set by someone elseChange the action to Allow
Disallow: / for OAI-SearchBot in robots.txtYou’re asking OpenAI’s search crawler to stay outRemove that section, or add Allow: / under it
User-agent: * with Disallow: /Every polite crawler is blocked, including GoogleFix urgently; this is usually a leftover from a staging site
Training set to Block or Disallow, Search allowedYou’ve opted out of training but stay findableNothing, if that’s your choice
Everything allowed, still never citedAccess isn’t your problemWork on content and listings (see below)

How to allow ChatGPT search in Cloudflare

To let ChatGPT search reach your site, set the Search behavior to Allow in Cloudflare’s AI Crawler and Agent access policies, confirm OpenAI’s search crawler isn’t blocked in AI Crawl Control, and make sure robots.txt doesn’t disallow OAI-SearchBot. Training can stay blocked. Allow about 24 hours for ChatGPT to adjust.

The steps, based on Cloudflare’s AI Crawler and Agent access policies and manage AI crawlers docs:

  1. Log in to Cloudflare and pick your domain.
  2. Go to Security → Settings, filter by Bot traffic, and open AI Crawler and Agent access policies. This setting used to be called “Configure AI bot policies”, and before that most people knew it as the “Block AI bots” toggle.
  3. Set Search to Allow (do not block). Set Agents to Allow unless you have a specific reason not to.
  4. Decide on Training: Allow, Block, or Disallow. Disallow tells training crawlers to stay out through robots.txt; Cloudflare’s docs note that robots.txt is voluntary, and that with Bot Preference Sync on, Disallow also blocks training crawlers at the edge.
  5. Open AI Crawl Control → Crawlers and check the Actions column for OpenAI, Perplexity and Anthropic’s search crawlers. Set them to Allow if they show Block.
  6. Reload yourdomain.com/robots.txt and confirm nothing disallows the search crawlers you just allowed.

One wrinkle worth knowing. Cloudflare’s older “Managed robots.txt” feature is being replaced by Bot Preference Sync, which writes robots.txt lines to match your dashboard settings. If your robots.txt and your dashboard disagree, that sync (or the lack of it) is usually why. Change the dashboard first, then recheck the file.

OpenAI says it can take around 24 hours for its search systems to reflect a robots.txt change. Don’t test once ten minutes later and assume it failed.

Should a local business block AI training at all?

There’s no single right answer, and anyone who tells you otherwise is selling something. Here’s how we’d think about it for a typical local business.

  • Allow search and agents almost always. If a customer asks ChatGPT for a dentist, plumber or accountant near them, you want your own site to be one of the sources it can read and cite, not just third-party listings.
  • Training is a values call, not a ranking call. A salon or HVAC company with a services page and a few blog posts has little to lose either way. A firm whose paid guides, recipes or courses are the product has a real reason to say no.
  • Don’t block on a hunch. Turning everything off “to be safe” is how sites end up invisible in AI search while competitors get named.

Cloudflare now lets you refuse training while staying discoverable. Its post on mixed-use crawlers explains how crawlers that serve both search and training are handled when you disallow training. Read it before you choose, because the rules for mixed-use bots are the part most likely to change again.

Mistakes that keep sites hidden

  • Blocking GPTBot and thinking you’ve fixed it. Or the reverse: allowing GPTBot and thinking you’re now in ChatGPT search. Search is OAI-SearchBot.
  • Editing robots.txt on the host while Cloudflare overrides it. If Cloudflare is managing your robots.txt, edits on your server can be ignored or merged. Check the live file at your domain, not the one in your site files.
  • Forgetting the staging leftover. A Disallow: / for everyone, left over from a redesign, blocks Google too. If you find it, that’s a bigger problem than ChatGPT.
  • Mixing up Cloudflare settings. SSL mode, caching and bot settings live in different places. If your site also shows browser warnings, our guide to fixing a website that still says not secure covers the Cloudflare Flexible SSL trap.
  • Changing it once and never checking again. Cloudflare has renamed and reshuffled these controls several times since 2025. Put a reminder in your calendar to recheck every few months.

Unblocked, but ChatGPT still doesn’t mention you?

Opening the door only lets crawlers read your site. It doesn’t make ChatGPT recommend you. Once access is sorted, run a clean test of what ChatGPT says about your business with our guide to checking if ChatGPT recommends your business. If it gets your hours, address or services wrong, our walkthrough on fixing wrong information in ChatGPT shows how to trace the bad fact to its source.

Beyond that, the usual work applies: a website that says plainly what you do and where, consistent listings, and reviews. That’s the core of our local SEO service, and for firms that win clients on trust, like lawyers and accountants, our professional services page covers what tends to matter most.

Where to start this week

  1. Today: open yourdomain.com/robots.txt and look for OAI-SearchBot or a blanket Disallow: /.
  2. This week: find out who holds the Cloudflare login, and get it into a password manager the business controls.
  3. Then: set Search and Agents to Allow, make your training choice on purpose, and recheck the live robots.txt.
  4. A day or two later: run a ChatGPT search for your business and services and note which pages it cites.

If you’d rather not dig through dashboards, our free visibility audit checks your crawler access and what AI answers say about you, and tells you which fix comes first.

Questions people ask

Does blocking AI bots in Cloudflare hurt my Google rankings?
Not on its own. Googlebot is Google’s search crawler and isn’t in Cloudflare’s AI training group. Cloudflare’s September 2026 training setting was built so sites can refuse training without blocking Googlebot, Bingbot or Applebot. A blanket Disallow: / in robots.txt, though, blocks Google too.
How do I know if ChatGPT has crawled my website?
In Cloudflare, AI Crawl Control shows requests per crawler and whether they were allowed or blocked. Without Cloudflare, ask your host for server logs and search them for OAI-SearchBot. OpenAI publishes the IP ranges its crawlers use, so a developer can confirm a visit was really from OpenAI.
Is Perplexity blocked by Cloudflare too?
It can be. Cloudflare groups crawlers by behavior, not company, so if Search is set to Block, Perplexity’s search crawler is usually caught along with OpenAI’s. Check AI Crawl Control’s Crawlers tab for each bot’s current action rather than assuming.
My web designer set up Cloudflare. Should I just ask them to fix it?
Yes, but ask for specifics. Ask them to set Search and Agents to Allow, confirm OAI-SearchBot isn’t blocked in AI Crawl Control, and send you a screenshot. Also ask for owner access to the Cloudflare account, so the business isn’t locked out if you part ways.

Not sure whether AI tools can read your site?

Our free visibility audit checks your robots.txt, Cloudflare settings and what ChatGPT and Google’s AI answers actually say about your business, then tells you the one fix to make first.