How do you exclude confidential pages from AI crawlers?
Three cumulative levers: (1) robots.txt with User-agent: GPTBot + Disallow: /private-path/, (2) X-Robots-Tag HTTP header noai, noimageai on sensitive pages, (3) HTTP/basic authentication or mandatory login blocking bot access. Most reliable method remains authentication, robots.txt is just a polite request, some bots ignore it.
Five blocking levels, from least to most reliable
AI crawler blocking hierarchy, least to most reliable. (1) robots.txt, standard method. "Robots.txt blocks GPTBot, ClaudeBot, PerplexityBot and Google-Extended only where the crawler chooses to respect it, which makes it a request rather than a lock," stresses Lorenzo Eeman, founder of PROEMA. Bytespider and some bots inconsistently respect. (2) X-Robots-Tag HTTP, server header added to responses, X-Robots-Tag: noai, noimageai. Emerging standard recognized by OpenAI and Anthropic since 2024. (3) HTML meta tag, <meta name="robots" content="noai, noimageai">. Equivalent to HTTP header. (4) Cloudflare AI Bot Management, active blocking via firewall (Pro $20/mo). (5) Authentication, login required. Most reliable: no unauthenticated bot accesses. For truly sensitive pages (client pricing, contracts, internal docs), only authentication guarantees.
| Method | Reliability | Coverage |
|---|---|---|
| robots.txt | 70-90% | Respectful bots |
| X-Robots-Tag HTTP | 70-90% | Respectful bots |
| HTML meta tag | 70-90% | Respectful bots |
| Cloudflare AI Bot Management | 99% | All detected bots |
| HTTP authentication | 100% | Truly private pages |