Table of contents
- Quick summary
- Why a block list is not a policy
- The three surfaces compared
- Path 1: Content Signals in robots.txt
- The `use=` field Cloudflare added on 1 July 2026
- Where the line goes, platform by platform
- Path 2: TDMRep for rights reservation
- Path 3: ai.txt
- What the line is worth today
- Verify it landed
- When it does not work
- Maintenance
- What to do next
Blocking or allowing a crawler answers one question: may it fetch this page. It says nothing about what the crawler may do afterwards. This guide covers the three places a site can state that second answer, which are a Content-Signal line in robots.txt, a /ai.txt file, and the W3C TDM Reservation Protocol (/.well-known/tdmrep.json). The robots.txt line takes about five minutes. The TDMRep file takes about ten. None of the three is enforcement, and the guide says so before you spend time on them. For adoption numbers, see who declares a Content Signal across 799 scanned sites.
Quick summary
| If you want to... | Use | Where it lives | Time |
|---|---|---|---|
| Say "index me, do not train on me" to AI crawlers | Content-Signal: search=yes, ai-train=no | /robots.txt | 5 min |
| Reserve text and data mining rights in the EU sense | tdm-reservation: 1 | /.well-known/tdmrep.json or an HTTP header | 10 min |
Publish an ai.txt file | Nothing reliable yet | /ai.txt | Skip |
| Refuse a crawler outright | A firewall or CDN rule | Your edge | See the robots.txt starter |
What the sources say: Cloudflare's Content Signals announcement states that "content signals express preferences; they are not technical countermeasures against scraping." The TDMRep specification is a W3C Community Group report, not a W3C Standard, and ties its opt-out to Article 4 of EU Directive 2019/790.
Check where you stand first: npx aiscan-cli yoursite.com reports check:B1 (Content Signals) in about 20 seconds. B1 is informational, so it cannot lower your score.
Why a block list is not a policy
robots.txt gates access. A policy gates use. Cloudflare's post describes the gap: a robots.txt file "does not, however, let them know what they are able to do with your content after accessing it." A search crawler that indexes you and an AI trainer that copies you look identical to a Disallow rule.
Think of a library. A door lock decides who enters. A sign on the shelf says "reading room only, no photocopying." The sign has no lock behind it, but it matters to anyone who reads it and it gives you something to point to later. The three formats below are signs of three different kinds.
The three surfaces compared
| Content Signals | TDMRep | ai.txt | |
|---|---|---|---|
| Where | Content-Signal: line in robots.txt | /.well-known/tdmrep.json, HTTP header, or HTML meta | /ai.txt |
| Vocabulary | search, ai-input, ai-train = yes or no | tdm-reservation 1 or 0, optional tdm-policy URL | No spec found that is maintained |
| Spec status | Cloudflare policy, released CC0 | W3C Community Group final report, 10 May 2024 | Spawning's page was "Under Maintenance" on 10 Oct 2026 |
| Aimed at | Crawlers and AI products | Text and data mining under EU law | Unclear |
IETF is working on a shared vocabulary. The AI Preferences working group lists draft-ietf-aipref-vocab (updated 13 Sep 2026) and draft-ietf-aipref-attach (updated 18 Aug 2026), both still Internet-Drafts. Its charter puts technical enforcement out of scope. Expect these formats to converge, and expect today's lines to need a revisit.
Update, 11 Nov 2026: a shared training token is coming. On 30 October 2026 Google and OpenAI said they will honor one robots.txt policy token for AI training, __usage_ai-training, defined in the Internet-Draft draft-kelley-aipref-training-preference-signal. It is written as an ordinary group:
User-Agent: __usage_ai-training
Disallow: /
Three rules from the draft matter here. A User-agent: * group does not count as a preference. A file with no __usage_ai-training line expresses no preference. And the token says nothing about crawling, so your crawler groups keep doing their job. Neither company has shipped it yet: OpenAI says "in the coming months", Google says 2027 and will read an opt-out as a Google-Extended disallow unless you name Google-Extended yourself. Adding the group today costs nothing and changes no current crawler's behaviour. It sits alongside Content Signals and does not replace them. We tested what three robots.txt parsers do with it, and the two placements that block every crawler, in the __usage_ai-training token, tested.
Path 1: Content Signals in robots.txt
The syntax is one comma-separated line inside a User-agent group. This example, from Cloudflare's announcement, allows search, disallows training and expresses no view on ai-input:
User-Agent: *
Content-Signal: search=yes, ai-train=no
Allow: /
- Open your robots.txt. On a custom site it is a file at the web root. On WordPress, edit it in your SEO plugin.
- Under the
User-agent: *group, add oneContent-Signalline. Useyesornofor each ofsearch,ai-inputandai-train. - Leave a signal out if you have no preference. Per Cloudflare's text, a missing signal "neither grants nor restricts permission."
- Optionally paste the human-readable policy comments Cloudflare publishes at contentsignals.org above the line. Crawlers ignore comments, but people reading the file see the terms.
- Deploy, then fetch
https://yoursite.com/robots.txtand confirm the line is present once, inside a group.
For WordPress, ThinkRank manages robots.txt, robots meta, llms.txt and schema in one plugin, so the policy line lives next to the rules it qualifies. It also imports from Rank Math, Yoast, AIOSEO and SEOPress. Paste the line into its robots.txt editor, save, and re-fetch the live file to confirm it survived. Other SEO plugins can do this too; the re-fetch is the test for any of them. On Shopify, the store's robots.txt is a template file, covered in the robots.txt starter.
Do not copy another site's line without reading it. On 10 Oct 2026 AIScan fetched robots.txt from 15 well-known sites. Four carried a Content-Signal line. cloudflare.com publishes search=yes, ai-input=yes, ai-train=no. stackoverflow.com publishes search=no, ai-train=no. aiscan.site publishes search=yes, ai-train=yes, ai-input=yes (permissive, on purpose). vercel.com publishes ai-train=yes, search=yes, ai-input=yes. Same syntax, opposite policies.
The use= field Cloudflare added on 1 July 2026
Cloudflare's managed robots.txt documentation lists a fourth, optional field next to search, ai-input and ai-train. It takes one of three values, from least to most permissive: use=immediate (interact, but store and reuse nothing), use=reference (index, excerpt and link back) and use=full (summarize and reproduce). For customers with managed robots.txt switched on, Cloudflare writes use=reference into the managed content. The line it serves, fetched 23 October 2026:
User-Agent: *
Content-signal: search=yes, ai-train=no, use=reference
Allow: /
If you hand-write the line, use= is optional. Leave it out unless you have a view on reuse.
Where the line goes, platform by platform
The directive is identical everywhere. Only the place you type it changes.
| Platform | Where | What to know |
|---|---|---|
| WordPress, Rank Math | Rank Math SEO > General Settings > Edit robots.txt (turn on Advanced Mode first) | Refuses if a physical robots.txt exists |
| WordPress, Yoast | Yoast SEO > Tools > File editor | Missing if DISALLOW_FILE_EDIT is true |
| WordPress, ThinkRank | The robots.txt editor in ThinkRank | One plugin for robots.txt, llms.txt and schema; imports from Rank Math, Yoast, AIOSEO and SEOPress |
| Shopify | Theme code editor, Templates > New File > robots.txt.liquid | Replaces Shopify's generated file, so keep the default-groups loop |
| Next.js | app/robots.ts, other key on the rule | Not in the docs' examples; confirmed in the source |
| Wix | SEO & GEO > Tools and settings > Robots.txt Editor > View File | Save Changes, then Save |
| Ghost | A robots.txt file in your theme | Ghost's own default has no AI line |
| Squarespace | Nowhere | The file cannot be edited |
Shopify. Shopify's robots.txt.liquid documentation shows how to add a line to an existing group: inside the default_groups loop, test for group.user_agent.value == '*' and print the string with {{ 'Disallow: /*?q=*' }}. A signal goes in the same slot: {{ 'Content-Signal: search=yes, ai-train=no' }}. Shopify documents that pattern for a Disallow rule; we adapted it for a signal line and have not run it on a live store, so fetch /robots.txt after saving and confirm the line sits once under User-agent: *.
Next.js. The Robots type in the robots.txt reference has no signal field. Its rules do accept other?: Record<string, string | number | Array<string | number>>, and the docs never show it. The resolver in the Next.js source (resolve-route-data.ts, read on the canary branch on 23 October 2026) writes each key and value as key: value inside the group, after the Allow and Disallow lines:
export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: '*',
allow: '/',
other: { 'Content-Signal': 'search=yes, ai-train=no' },
},
sitemap: 'https://example.com/sitemap.xml',
}
}
The output is Content-Signal: search=yes, ai-train=no on its own line in the User-Agent: * group. A static app/robots.txt also works if you would rather not generate it.
Wix. The click path is the one in robots.txt for AI bots on Wix. That guide also explains why a named group replaces the defaults. The same rule bites here: a Content-Signal line under User-agent: * is not inherited by a GPTBot group you add, because a crawler uses only its own group. Repeat the line inside any named group that allows crawling. We have not tested which crawlers read a signal from outside their matched group.
Ghost. Ship a robots.txt at the root of your theme, copy Ghost's default and add the line under User-agent: *. AI readiness setup on Ghost has the 203-byte default and the theme steps.
Squarespace. Squarespace generates the file and offers no editor. The only controls are the two checkboxes under Settings > Crawlers, covered in AI readiness setup on Squarespace. There is no way to add a Content-Signal line, and a scan will report B1 as informational.
Path 2: TDMRep for rights reservation
TDMRep exists because Article 4 of the EU copyright directive lets a rightsholder opt out of commercial text and data mining "in an appropriate manner, such as machine-readable means." You can express that three ways. Use one.
Site-wide file.
- Create
/.well-known/tdmrep.json. It must be a JSON array, even for one rule. - Add a rule with
locationandtdm-reservation:
[
{ "location": "/", "tdm-reservation": 1 }
]
- Optional: add
"tdm-policy": "https://yoursite.com/tdm-policy.json". The spec says a machine-readable policy usesapplication/jsonorapplication/ld+json. - Serve it as JSON with a 200. Fetch it with
curl -iand read the content type.
HTTP header. Send tdm-reservation: 1 (and optionally tdm-policy: <url>) on responses. The spec calls the header the preferred technique and says header values override the site file.
HTML meta. Add <meta name="tdm-reservation" content="1"> in the head of each page. This is the only option on hosts where you cannot set headers or serve a well-known file.
The spec asks publishers to use one technique. If you mix them, the later one overrides the earlier: header over file, meta over header.
Who uses it. AIScan fetched /.well-known/tdmrep.json from the same 15 sites on 10 Oct 2026. Three returned a real file: springer.com and nature.com (reservation 1 with a policy at dev.springernature.com) and elsevier.com (reservation 1, plus tdm-reservation and tdm-policy response headers). The other 12 returned 404 or 403. All three adopters are publishers who license content. A blog or SaaS site has no licence to offer, so tdm-reservation: 1 with no policy is the honest minimal form.
Path 3: ai.txt
An ai.txt file is often listed next to the two above. No maintained spec turned up. Spawning's ai.txt page returned "Source.Plus Spawning Under Maintenance" on 10 Oct 2026. Of the 15 sites fetched, vercel.com and springer.com returned 200 at /ai.txt, but both bodies were HTML pages (vercel.com's marketing shell, springer.com a "Client Challenge" page), not policy files. A status check alone would score both as present.
If you want a human-readable statement of terms, put it at a URL you control and link it from tdm-policy. That has a spec behind it.
What the line is worth today
Say the unflattering part first. On 6 July 2026 John Mueller of Google wrote on r/TechSEO: "none of the crawlers / llms use the 'content-signal' robots.txt directives. It was made up by a CDN, afaik it has no effects whatsoever for any crawler or llm." We have found no newer Google statement.
The counterweight is on the other side of the table. Cloudflare's BotBase for operators intake form asks bot operators to declare how they use content in Content Signals syntax, such as Content-Signal: search=yes, ai-train=no, use=reference. So the vocabulary is being used for declarations on the bot side, whatever Google does with it.
Adoption on the publisher side is thin. When AIScan read 96 publisher robots.txt files on 7 September 2026, exactly one carried a Content-Signal line (1.0%). Five more were Stack Exchange sites, whose robots.txt is served with HTTP 418, so a compliant crawler may discard the file. And a declaration is not enforcement: in our stealth-crawling study, a full Disallow: / was backed by an actual edge refusal only 45% to 67% of the time, depending on the token. A signal sits one step below a Disallow. The popular noai meta tag sits lower still: no crawler operator documents it at all, as our noai and noimageai vendor-docs table shows.
Also, naming a crawler is not the same as giving it a rule. The declaration census found 173 of 451 files naming an AI token, yet a token that shares a group with * gets no rule of its own.
Verify it landed
Scan first: npx aiscan-cli yoursite.com (or paste the URL at aiscan.site). It reads check:B1 for the Content-Signal line and check:B2 for explicit AI bot groups. AIScan does not look for tdmrep.json, ai.txt or the tdm-* headers, so test those by hand:
| Check | Command | Pass signal |
|---|---|---|
| Signal line present | curl -s https://yoursite.com/robots.txt | grep -i content-signal | One line, values you chose |
| TDMRep file | curl -si https://yoursite.com/.well-known/tdmrep.json | 200, JSON content type, body starts with [ |
| Control path | curl -si https://yoursite.com/.well-known/zz-not-real.json | 404. If it returns 200, your server soft-200s and the first check proves nothing |
| Header form | curl -sI https://yoursite.com/ | grep -i '^tdm-' | tdm-reservation: 1 |
The control path is the same trap described in correct 404s for AI agents.
When it does not work
- "The scan still says B1 is not found." The scanner reads
robots.txtat the root. A redirect to an HTML page or a line outside anyUser-agentgroup will not register. Re-fetch the live file. - "My
tdmrep.jsonreturns 200 but a crawler ignores it." Open it in a JSON validator. A bare object instead of an array is the usual cause. The spec says an agent that cannot parse it must treat the reservation as unset. - "A crawler I said
ai-train=noto still trained." Signals are requests. Per Cloudflare, combine them with WAF rules and bot management if you need refusal. Does blocking AI training protect your content? measures how often blocks are actually enforced. - "Cloudflare's managed robots.txt overwrote my edit." Managed robots.txt serves its own file with
search=yes, ai-train=no. Turn the feature off or edit the managed content instead. - "I am outside the EU. Does TDMRep matter?" The spec says the opt-out mechanism comes from the EU directive and that outside the EU the exception does not apply. A reservation still states your position in a form a crawler can read. It does not create rights.
Maintenance
- Re-read the IETF AIPREF drafts each quarter, including the
__usage_ai-trainingtoken draft. When a provider says it has shipped support, check that your group is still in the live file. - After any SEO plugin, CDN or theme change, re-run the scan and the four checks above.
- Keep the policy consistent with your blocks. Allowing
ClaudeBotin robots.txt while sayingai-train=nois a contradiction a lawyer will notice.
What to do next
Run npx aiscan-cli yoursite.com, read B1, add one Content-Signal line, then scan again. For the wider set of crawler decisions, read the AI crawler user-agent list and browse the AI readiness guides. The bot access checks page documents B1, B2 and B3.
Frequently asked questions
What is a Content-Signal line in robots.txt?
It is one line inside a User-agent group, such as Content-Signal: search=yes, ai-train=no. It states what a crawler may do with content after fetching it. The three signals are search, ai-input and ai-train, each set to yes or no.
Is a content signal the same as blocking a crawler?
No. Blocking refuses access. A signal states a preference about use after access. Cloudflare's announcement says signals are not technical countermeasures, so pair them with firewall or bot rules if you need refusal.
Does TDMRep work outside the EU?
It still states your position in a machine-readable form. The specification ties its opt-out to Article 4 of EU Directive 2019/790 and says the exception does not apply outside the EU, so the reservation does not create rights elsewhere.
Do I need an ai.txt file?
No. No maintained specification turned up on 10 Oct 2026, and Spawning's ai.txt page showed an under-maintenance notice. Use a Content-Signal line or tdmrep.json, which both have published documents behind them.
Which TDMRep technique should I use?
Use one. The site-wide file at /.well-known/tdmrep.json is simplest. The HTTP header is the technique the spec calls preferred. HTML meta tags work when you cannot set headers or serve a well-known file.
The scan says B1 is not found even though I added the line. Why?
The scanner reads robots.txt at the site root. A line placed outside a User-agent group, a cached copy, or a redirect to an HTML page will not register. Fetch the live file with curl and confirm the line sits inside a group.
My tdmrep.json returns 200 but crawlers ignore it. What is wrong?
Check that the body is a JSON array, not a bare object, and that the content type is JSON. The spec says an agent that cannot parse the file must treat the reservation as unset. Also run a control path to rule out a server that returns 200 for everything.
Cloudflare's managed robots.txt replaced my Content-Signal line. What now?
Managed robots.txt serves its own content, which includes search=yes and ai-train=no. Edit the managed settings or turn the feature off, then re-fetch robots.txt to confirm your line is the one being served.
Can I add a Content-Signal line to my Next.js robots.ts?
Yes, through the rule's other key: other: { 'Content-Signal': 'search=yes, ai-train=no' }. The Next.js docs do not show it, but the resolver in the source prints each key and value as a key: value line inside the group. Fetch /robots.txt after a build and confirm it appears under User-Agent: *.
I added the line on Wix but my GPTBot group does not show it. Why?
A crawler reads only its own most specific group. A Content-Signal line under User-agent: * is not inherited by a named GPTBot group. Repeat the line inside the named group if that group allows crawling, then save with Save Changes and Save and re-fetch /robots.txt.
Is the use= value required?
No. use= is an optional fourth field with three values: immediate, reference and full. Cloudflare adds use=reference to its managed robots.txt. If you write the line yourself and have no view on reuse, leave it out.

About the author
M Asif Rahman
Entrepreneur, curious about AI
I have been building companies for a long time, and lately most of my curiosity goes to AI. AIScan is a small personal project I built on a flight from Dubai to Narita. I use it to understand how ready the web is for AI agents, and I share what the scans teach me.
Related guides
AI readiness setup guide by platform (2026)
Verified 17, 18, 20 and 22 October 2026. Updated on 22 October 2026. An AIready site needs six things: a robots.txt that names AI crawlers D1, B2, a sitemap D2, a declared feed E5, an llms.txt C2,…
llms.txt on Astro, Docusaurus, Framer, Ghost, Hugo, Next.js, Replit, Shopify, Squarespace, Webflow and Wix
Updated on 26 October 2026. Every platform section was checked on the dates shown inside it. Squarespace, Webflow and Wix joined this guide on 26 October 2026, so all eleven platforms that had their…
Content Signals in robots.txt: 117 of 799 Sites Declare One
Of 799 sites in our scan database on 2 November 2026, 117 serve a robots.txt with a ContentSignal line 14.6%. Among the 677 sites that serve a usable robots.txt at all, that is 17.3%. Another 682…
