robots.txt for AI crawlers: why we let them in, and the Cloudflare setting that can silently override you

Our sites are open to every crawler, AI included, with the AI bots named explicitly. Why blocking costs more than it saves, how to hide pages without blocking, and the managed robots.txt setting that can prepend a block list in front of your own policy.

Published · 3 min read · Flowsmith editorialwebAI discoverabilityCloudflare

A wide-open dark gate in a low fence; small rounded shapes pass through it along a path lit by a thin blue line.
Illustration drawn for this article. No text in the image, so it works in every language.
In short
  • Every public site we run is open to every crawler, AI bots included, and the main AI crawlers are listed by name with Allow: /.
  • Blocking does not stop bad bots (they change their name) but it does remove you from AI assistants' answers.
  • To hide a page, use noindex and leave it out of the sitemap; to protect it, use real authentication. robots.txt is a request, not a lock.
  • On Cloudflare, check the delivered robots.txt: a managed setting can prepend a block list in front of yours without any change in your repository.

When AI crawlers appeared, many site owners reached for the block button. We went the other way, on purpose, and wrote it down as a company standard. Here is the reasoning, the file we publish, and the one setting that once made several of our own domains say the opposite of what we intended.

Why open, not closed

A crawler that wants to misuse your content does not announce itself honestly; it changes its user agent or comes through residential proxies. The ones that obey robots.txt are, almost by definition, the ones that behave. Blocking them gains nothing against abuse and costs presence in the answers that AI assistants give when someone asks about your field, which more and more often replaces a search engine visit.

Invisibility, where needed, is done with noindex: "do not show me" is respected by machines. A block at the edge says "this domain is dead", and machines remember that too.

The file we publish

User-agent: *
Allow: /

User-agent: GPTBot
Allow: /

User-agent: ClaudeBot
Allow: /

User-agent: PerplexityBot
Allow: /

User-agent: Google-Extended
Allow: /

Sitemap: https://flowsmith.online/sitemap.xml

Shortened here; the live file names more assistants and search crawlers. Two things are deliberately absent: a blanket Disallow, and a content-signal line forbidding AI training. And one thing we do not add even though a newer spec suggests it: an Agentmap: line. Lighthouse's robots.txt audit flags it as an unknown directive. The agent manifest is found through its well-known path and a link tag instead (ai-catalog.json and ARD).

In depth: the setting that overrides you

Cloudflare has a managed robots.txt option. When it is on, Cloudflare puts its own block list at the top of your robots.txt: Disallow: / for a long list of AI crawlers, plus a content-signal line. Your own "open doors" policy stays in the file underneath. The site now publishes two contradicting policies, and crawlers follow the stricter one. Nothing in your repository shows it.

We found exactly that during an audit of our zones in August 2026: a handful of our own domains had been serving Cloudflare's block list in front of our open policy. The fix took minutes; noticing it took an audit. Since then the rules are:

  • Always check the delivered file with curl https://your-domain/robots.txt, never just the repository.
  • In the zone's bot settings, AI bot blocking, crawler protection and the managed robots.txt are all off; a single toggle in the dashboard does not cover all of them.
  • The option that keeps mixed-purpose crawlers (search engines that also train, Googlebot among them) out of any future AI block is set so that an accidental block can never take search indexing down with it.
  • Our zone audit script checks every field across all zones, and the nightly site scan reads the delivered robots.txt from outside.

Private is not the same as hidden

Admin pages, members-only lessons and staging sites are not just noindex; they sit behind authentication enforced by the server (in our case Cloudflare Access). Openness to crawlers applies only to content approved for publication. Neither robots.txt nor noindex protects anything.

Check yours in two minutes

Open your live robots.txt in a browser. If you see rules you did not write, look at your hosting provider's bot settings. Then make sure your sitemap and llms.txt are linked, and run the Agentic Browsing checks described in Agentic Browsing step by step.

Frequently asked questions

Should a small business block AI crawlers?

We think not. Blocking does not stop bad actors, who simply change their user agent, but it does keep you out of the answers AI assistants give, which increasingly replace a search. The trade is asymmetric.

How do I hide a page without blocking crawlers?

Use noindex (a meta tag or an X-Robots-Tag header) and leave the page out of the sitemap. For pages that must stay private, put real authentication in front of them, such as Cloudflare Access. robots.txt is not a lock.

What is Cloudflare's managed robots.txt?

An option that makes Cloudflare insert its own rules at the top of your robots.txt, including blocks for AI crawlers and a content-signal line. Your own policy stays in the file below it, so the site publishes two contradicting policies.

Why list AI crawlers by name if User-agent: * already allows everything?

Because it documents the decision and makes a future change a one-line edit for one bot, rather than a rewrite. It also makes the intent unmistakable to anyone reading the file.

Written from our own production systems by the Flowsmith editorial team, with AI assistance.

Want this running in your company?

Flowsmith designs and operates automations like this for small and mid-sized teams — with a person approving anything that leaves the building.

More from the blog