Sub topic 3
Meta Robots Tags and X-Robots-Tag Headers
Meta robots tags and X-Robots-Tag headers
A meta robots tag is an HTML element in a page's <head>. It tells search engines and some crawlers how to index or reuse that page:
<meta name="robots" content="noindex, nosnippet">The X-Robots-Tag is an HTTP response header that carries the same directives. Use it for non-HTML files such as PDFs, or when you cannot edit the page template:
X-Robots-Tag: noarchiveA crawler must fetch the page to read either signal. If robots.txt blocks the URL, the crawler never sees a noindex, so do not block a page you want deindexed.
Expressing usage preferences: Content Signals and IETF AI preferences
Content Signals are machine-readable usage preferences, such as ai-train=no or search=yes, that some hosts publish inside robots.txt. The IETF AI preferences working group is drafting a standard vocabulary for the same purpose. Both are still preferences: a crawler has to choose to honor them.
TDMRep and ai.txt
TDMRep (Text and Data Mining Reservation Protocol) lets you reserve text-and-data-mining rights with a TDM-Reservation: 1 response header or a /.well-known/tdmrep.json file. ai.txt is an informal proposal that is not an official standard. Treat both as statements of your rights, not as access controls.
When you need enforcement, not etiquette
If blocking is a hard requirement, you need controls the server applies:
| Control | What it does | Limit |
|---|---|---|
| Bot verification | Accepts a crawler only if its IP range or reverse DNS matches the vendor | Requires the vendor to publish details |
| Rate limiting | Slows or rejects high-volume clients | Does not stop slow crawlers |
| WAF rules | Blocks requests by user agent or pattern | User agents are easy to spoof |
| Authentication | Requires a login | Hides content from everyone |
Checking what crawlers actually do
Search your access log for AI crawler user agents:
grep -c "GPTBot" access.log
grep "GET /llms.txt" access.log | grep -E "GPTBot|ClaudeBot|PerplexityBot"A request in the log proves the crawler visited. It does not prove the crawler obeyed your rules.
A practical checklist for adopting or ignoring a proposal
- Who publishes the proposal, and is it a recognized standards body?
- Who consumes it, and has a named vendor said it reads the file?
- What evidence of adoption exists, such as your own logs or published crawler documentation?
- Does it replace a control you need, or only add a signal?
> Exercise placeholder removed.
Exercise
A page must not appear in search results, and it is a PDF. Which mechanism fits, and why must robots.txt not block that PDF?
Show answer
Send an X-Robots-Tag: noindex HTTP header with the PDF. If robots.txt blocks the PDF, the crawler cannot fetch it and never sees the noindex header.