Skip to the content
Start free

robots.txt blocks AI search and answer bots

Your robots.txt stops the bots that ChatGPT, Claude, Perplexity and others use to find, read and quote pages in their answers.

High priority AI bots and crawlers

Why it matters #

AI companies now run several bots each. Some collect pages to train models. Others fetch pages to show and quote in AI search results, or open a page live when a person asks an assistant about it. OpenAI, for example, documents GPTBot for training, OAI-SearchBot for search and ChatGPT-User for requests made by people.

If robots.txt blocks the search and answer bots, those assistants cannot read your pages, so they cannot quote or recommend them, even when someone asks about your business by name. A common cause is a blanket rule meant to stop AI training that also catches these bots, or a "Disallow: /" in the User-agent: * group, which catches every bot that is not named elsewhere in the file.

How to fix it #

Decide bot by bot. You can block training bots and still allow search and answer bots, because each has its own name. Give each bot you want to allow its own group with "Allow: /", or remove the rule that catches it. A bot follows the group that names it, and falls back to the * group only when no group names it.

Check the result with the AI Bot Checker, which shows the rule that decides each bot. The Robots.txt Bot Rules Builder can write the lines for you.

  1. Open your robots.txt and find every Disallow line.
  2. List the AI search and answer bots you want to allow.
  3. Give each one a group with "Allow: /", or narrow the rule that blocks it.
  4. Run the AI Bot Checker again.

What it looks like, and fixed #

The problem
# Meant to stop AI training
User-agent: GPTBot
User-agent: OAI-SearchBot
User-agent: ClaudeBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
Disallow: /

The group meant for training also names the search bots, so ChatGPT search, Claude and Perplexity cannot read a single page.

Fixed
# Training bots: refused
User-agent: GPTBot
User-agent: ClaudeBot
Disallow: /

# Search and answer bots: allowed
User-agent: OAI-SearchBot
User-agent: Claude-SearchBot
User-agent: PerplexityBot
Allow: /

Each kind of bot has its own group, so training stays blocked while AI search and answers can still read and quote you.

Fix it with your AI assistant #

Paste this into ChatGPT, Claude, Gemini or your coding agent. Fill in the words in [square brackets] first. It checks before it changes anything, changes only this, and tells you how to prove it worked.

Your instruction for the AI
You are helping me with my website [your website address], built on [your platform, e.g. WordPress with Yoast]. An SEO check says my robots.txt blocks AI search and answer bots such as OAI-SearchBot, ChatGPT-User, Claude-SearchBot, Claude-User and PerplexityBot. First read [your website address]/robots.txt (or ask me to paste it) and tell me in plain words, bot by bot, which group and which line decides each of those bots. Then rewrite the file so these search and answer bots may fetch every public page, while any training bots I already block, such as GPTBot, ClaudeBot or Google-Extended, stay blocked. Rules: back up the current file first, change only the lines needed, keep every other rule, comment and Sitemap line, and do not block Googlebot, Bingbot or real visitors. Give me the complete new robots.txt to paste and tell me exactly where it goes on my platform. Finally, tell me to re-check with the URSY.com AI Bot Checker at ursy.com/ai-bot-checker/.

We find the problems, and help you fix them

  1. Check Run a free tool or the full audit.
  2. Fix it with your AI Download your AI Fix Pack and drop it into ChatGPT, Claude or Gemini. A free account is enough.
  3. Re-check Come back, check again, and watch each fix turn green.

How the AI Fix Pack works, with a sample to download

Fix it on your platform #

WordPress

WordPress makes a virtual robots.txt. Edit it in Yoast (Tools, File editor) or Rank Math (General Settings, Edit robots.txt). A real robots.txt file in the site root replaces the virtual one, so check for that first.

Shopify

In the theme code editor, add or edit the robots.txt.liquid template. Remove the AI search bots from any Disallow group you added there.

Webflow

Open Site settings, then the SEO tab, and edit the robots.txt box. Publish the site for the change to go live.

Your CDN (for example Cloudflare)

Some CDNs, Cloudflare among them, can add their own AI lines to your robots.txt. Check the bot settings in your CDN, because those added lines are part of the file bots read.

Check it is fixed #

Run the URSY.com AI Bot Checker (/ai-bot-checker/) again. Each AI search and answer bot you want should show as allowed, with the line that allows it.

Official source #

OpenAI: Overview of OpenAI Crawlers

Questions #

Can I block AI training but still appear in AI answers?

Yes. Training bots and search bots have different names, so robots.txt can refuse one and allow the other.

Does robots.txt really stop AI bots?

The large AI companies say their bots follow it, but it is a request, not a lock. A bot that ignores it can only be stopped by a firewall rule.

How long until the bots see my change?

Google documents that it usually caches robots.txt for up to a day. Other companies set their own timing.

More problems in AI bots and crawlers

See every problem in the library

For AI assistants and developers: Instructions for AI · Developers · How to cite URSY.com