Skip to content

AI crawlers blocked by robots.txt

robots.txt tells crawlers which pages they may visit. A rule in yours stops the crawlers AI search tools and assistants use, so they can’t read, quote or link to your pages.

Why it matters

ChatGPT, Claude and Perplexity answer from pages their crawlers may read. A blocked site doesn’t appear in those answers.

Each AI company runs separate crawlers: some for search and answers, some only when a person asks, some to train models. Blocking training is a fair business choice and doesn’t affect AI search. Blocking search does.

Blocks often arrive by accident: a security plugin, a platform setting, a copied robots.txt or a “block AI” switch that stops more than it says.

How to fix it

  1. Open yoursite.com/robots.txt and look for groups naming the search crawlers: OAI-SearchBot and ChatGPT-User (OpenAI), Claude-SearchBot and Claude-User (Anthropic), PerplexityBot and Perplexity-User (Perplexity). A Disallow: / under one blocks it. (ChatGPT-User and Perplexity-User fetch pages when a person asks, and may not follow robots.txt.)
  2. Also check the User-agent: * group: Disallow: / there blocks every crawler that has no group of its own.
  3. Remove the Disallow lines for the search crawlers, or give them a group of their own. A crawler with its own group ignores the User-agent: * rules, so repeat any Disallow lines for private areas there:
    User-agent: OAI-SearchBot
    User-agent: ChatGPT-User
    User-agent: Claude-SearchBot
    User-agent: Claude-User
    User-agent: PerplexityBot
    User-agent: Perplexity-User
    Allow: /
    Disallow: /cart
    Disallow: /checkout
    Disallow: /account
  4. If you’d rather your pages weren’t used to train AI models, block only the training crawlers and tokens. This doesn’t affect AI search:
    User-agent: GPTBot
    User-agent: ClaudeBot
    User-agent: Google-Extended
    User-agent: Applebot-Extended
    User-agent: CCBot
    Disallow: /
  5. If robots.txt has a Content-Signal line, set search=yes and ai-input=yes. Otherwise AI tools are asked not to use your pages in answers.
    Content-Signal: search=yes, ai-input=yes, ai-train=no
  6. Check the page again. If robots.txt looks right but crawlers are still turned away, look at your firewall or bot protection.
On Shopify
  1. Shopify creates robots.txt for you. To change it, add a robots.txt.liquid template to your theme and edit the rules there.

Shopify help: Editing robots.txt (opens in a new tab)

On Squarespace
  1. Settings › Crawlers has a box called Block known artificial intelligence crawlers. It asks a long list of AI crawlers to stay away, search and training alike. Untick it if you want AI tools to read your site; it’s one switch for all of them.

Squarespace help: Request that AI models exclude your site (opens in a new tab)

On Wix
  1. In the site dashboard go to SEO & GEO › Tools and settings › Robots.txt Editor › View File, change the rules and save.

Wix help: Editing your site’s robots.txt file (opens in a new tab)

On Cloudflare
  1. Cloudflare can block AI crawlers before they reach robots.txt. Under Security › Settings › AI Crawler and Agent access policies, allow Search and Agents, and choose for Training.

Cloudflare help: AI Crawler and Agent access policies (opens in a new tab)

Common mistakes

  • Blocking GPTBot or ClaudeBot and thinking it hides you from ChatGPT or Claude search. Those are the training crawlers; search uses OAI-SearchBot and Claude-SearchBot.
  • Blocking the search crawlers to stop training. You disappear from AI answers and training isn’t affected.
  • A Disallow: / left in robots.txt from when the site was being built.
  • Fixing robots.txt while a firewall or “block AI bots” setting still turns the crawlers away.
  • Expecting robots.txt to keep pages private. It’s a request that well-behaved crawlers follow, not a lock.

Check your fix

Once the change is live, check the page again.