# Robots.txt

**Robots.txt** 是放置在网站根目录下的一个纯文本文件，依据《机器人排除协议》（Robots Exclusion Protocol）告知自动化爬虫哪些部分可以抓取。文件中的指令是请求爬虫予以遵守的意愿表达，而非一种访问授权形式，是否遵守取决于爬虫自愿选择遵从。<sup>[1](https://www.rfc-editor.org/rfc/rfc9309.html)</sup> 这一约定由机器人作者们于1994年6月30日在一个邮件列表上达成，从未被任何人强制执行，后来成为事实标准，并于2022年9月正式化为IETF RFC 9309。<sup>[2](https://web.archive.org/web/20071002042544/www.robotstxt.org/wc/norobots.html)</sup><sup> • </sup><sup>[1](https://www.rfc-editor.org/rfc/rfc9309.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 法律效力 | 无。规则是请求，不是访问授权；该协议不具法律约束力，遵守与否取决于爬虫的善意。<sup>[1](https://www.rfc-editor.org/rfc/rfc9309.html)</sup><sup> • </sup><sup>[3](https://arxiv.org/html/2505.21733)</sup> |
| 标准 | RFC 9309，2022年9月发布，距1994年共识已过28年；它正式规定了通配符匹配、最长匹配优先、错误处理和缓存指引。<sup>[1](https://www.rfc-editor.org/rfc/rfc9309.html)</sup><sup> • </sup><sup>[4](https://www.zyte.com/blog/robots-txt-overview/)</sup><sup> • </sup><sup>[5](https://indico.cern.ch/event/1149330/contributions/5074600/attachments/2524742/4346236/ossym2022-robotstxt-sn.pdf)</sup> |
| 匹配 | 最具体的规则（八位组最多者）胜出；允许规则与等效的禁止规则打平时，允许规则胜出；未匹配的URL默认允许。<sup>[1](https://www.rfc-editor.org/rfc/rfc9309.html)</sup> |
| 限制 | 解析器必须至少接受500 KiB；除非文件无法访问，爬虫使用缓存副本不应超过24小时。<sup>[1](https://www.rfc-editor.org/rfc/rfc9309.html)</sup> |
| 它做不到的事 | 它不能把页面从搜索结果中隐藏：被禁止的URL仍可被索引（只是不显示摘要），而将robots.txt与noindex结合使用是自相矛盾的。<sup>[6](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec)</sup><sup> • </sup><sup>[7](https://seoprocheck.com/indexing-crawl/meta-robots-x-robots-tag-reference/)</sup> |
| 采用率 | 一项2026年的抓取调查中，1.516亿个活跃网站里有59.9%拥有robots.txt；已发现的文件中24.4%未限制任何内容。<sup>[8](https://www.stackscan.com/blog/robots-txt-statistics)</sup> |
| AI时代 | 一项研究中，60.0%的声誉良好的网站至少禁止一个AI爬虫，而虚假信息网站仅为9.1%；欧盟《人工智能法案》的通用人工智能行为准则要求签署方将robots.txt视为机器可读的退出机制并予以尊重。<sup>[9](https://dl.acm.org/doi/abs/10.1145/3774904.3792625)</sup><sup> • </sup><sup>[4](https://www.zyte.com/blog/robots-txt-overview/)</sup> |

## robots.txt是什么

该文件位于固定位置`https://example.com/robots.txt`，由若干组面向指定用户代理的行组成。网站所有者用它依据《机器人排除协议》向网络机器人下达关于其网站的指示。<sup>[10](https://www.robotstxt.org/robotstxt)</sup> `Disallow`指令表达的是偏好而非封锁：只有当爬虫自愿读取该文件并予以遵守时才生效。<sup>[4](https://www.zyte.com/blog/robots-txt-overview/)</sup> 1994年的原始文件明确声明，它并非由标准机构背书的正式标准，无人强制执行，也不保证所有当前及未来的机器人都会使用它。<sup>[2](https://web.archive.org/web/20071002042544/www.robotstxt.org/wc/norobots.html)</sup>

这种自愿性质有实际后果。无视该文件的爬虫不会遇到任何技术障碍，协议自身的标准也警告说，它不能替代有效的内容安全措施。<sup>[1](https://www.rfc-editor.org/rfc/rfc9309.html)</sup> 1996年的草案规范向管理员表达了同样的观点：该方法出于自愿，不足以保证机器人不会访问URL空间中受限制的部分，未使用适当的身份验证可能导致受限信息暴露。<sup>[11](http://www.robotstxt.org/norobots-rfc.txt)</sup>

## 语法与解析规则

**组与用户代理。** 文件由以`User-agent:`开头的若干行组构成。具名组优先于`*`（通配符）组；在自身组中被指名的机器人不会继承`*`组的规则。<sup>[12](https://rctrl.com/blog/robots-txt-ai-complete-directive-reference)</sup> 谷歌的爬虫通过寻找与爬虫匹配的最具体用户代理所在组来确定正确的组；组在文件中的顺序无关紧要，各组不与`*`组合并，googlebot的各变体均按googlebot对待。<sup>[6](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec)</sup>

**Disallow、Allow与优先级。** `Disallow`指定相对于根目录的路径，代理不应抓取；路径必须以`/`开头，目录路径以`/`结尾。<sup>[13](https://developers.google.com/crawling/docs/robots-txt/create-robots-txt)</sup> `Allow`用于覆盖禁止规则，允许抓取被禁止目录中的某个子目录或页面。<sup>[13](https://developers.google.com/crawling/docs/robots-txt/create-robots-txt)</sup> RFC 9309要求匹配从路径的第一个八位组开始，并要求使用最具体的匹配（即八位组最多者）；如果允许规则与禁止规则等效，应使用允许规则；如果没有规则匹配，则该URI允许，且`/robots.txt`本身隐式允许。<sup>[1](https://www.rfc-editor.org/rfc/rfc9309.html)</sup> 谷歌实施同样的最长匹配方案，在规则冲突时（包括含通配符的规则），使用限制最少的规则。<sup>[6](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec)</sup>

**通配符与锚点。** 谷歌支持`*`（匹配零个或多个字符）和`$`（指定URL结尾）；规则依据RFC 9309第2.2.2节，以百分号编码形式与URL进行比较。<sup>[6](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec)</sup> 除`sitemap`外，所有规则都支持`*`通配符，用于路径前缀、后缀或整个字符串。<sup>[13](https://developers.google.com/crawling/docs/robots-txt/create-robots-txt)</sup>

**Crawl-delay与Sitemap。** Crawl-delay（请求之间的最小建议延迟）根本不在RFC 9309中：谷歌明确忽略它，而必应、Yandex、Anthropic及大多数AI爬虫将其作为事实上的扩展予以遵守。<sup>[12](https://rctrl.com/blog/robots-txt-ai-complete-directive-reference)</sup> `sitemap`字段必须是完全限定的绝对[URL](https://www.edgepedia.org/zh/url)，可以出现多次且无数量限制，且不绑定任何用户代理。<sup>[6](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec)</sup>

**大小、缓存与错误。** RFC 9309要求解析器施加至少500 KiB的解析限制，并规定除非文件无法访问，爬虫使用缓存版本不应超过24小时。<sup>[1](https://www.rfc-editor.org/rfc/rfc9309.html)</sup> 谷歌执行500 KiB限制，忽略超出部分，将文件缓存最多24小时（无法刷新时可能更久），并可能根据[Cache-Control](https://www.edgepedia.org/zh/cache-control)标头调整缓存。<sup>[6](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec)</sup> 谷歌将除429以外的所有4xx错误视为robots.txt不存在，即无抓取限制；遇到5xx时停止抓取12小时，然后使用最后一份良好的缓存版本30天，若问题仍未解决，则此后视同文件不存在。<sup>[6](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec)</sup> 缓存有一个已知的操作隐患：包括Googlebot、Yahoo! Slurp和MSNbot在内的主要搜索爬虫都会缓存robots.txt文件，因此在文件修改期间，这些机器人可能暂时不遵守新规则。<sup>[14](https://archives.iw3c2.org/www2007/htmlposters/poster1034/index.html)</sup>

## 《机器人排除协议》标准（RFC 9309）

该协议的标准化之路历经三十年。1994年机器人邮件列表达成共识后，1996年出现了一份非官方的RFC提案；随后该方法被所有主要网络搜索引擎采用，但实现各异，这导致了2019年的RFC草案，最终于2022年形成RFC 9309。<sup>[5](https://indico.cern.ch/event/1149330/contributions/5074600/attachments/2524742/4346236/ossym2022-robotstxt-sn.pdf)</sup> 2019年的互联网草案draft-koster-rep-07由原协议创造者马丁·科斯特（Martijn Koster）撰写，将协议描述为服务所有者控制名为爬虫的自动客户端如何访问其内容的方法。<sup>[15](https://datatracker.ietf.org/doc/html/draft-koster-rep-07)</sup>

RFC 9309明确并扩展了科斯特1994年最初定义的方法，增加了定义语言、错误处理和缓存指引。<sup>[1](https://www.rfc-editor.org/rfc/rfc9309.html)</sup> 它正式规定了使用`*`和`$`模式标记的细粒度访问规则，以及解决相互竞争的允许与禁止指令的实用定义；Sitemap和Crawl-delay等扩展被允许但不要求必须遵守，并非所有提议的指令都被采纳，例如Visit-time。<sup>[5](https://indico.cern.ch/event/1149330/contributions/5074600/attachments/2524742/4346236/ossym2022-robotstxt-sn.pdf)</sup> 从1994年共识到2022年RFC，标准化工作历时28年。<sup>[4](https://www.zyte.com/blog/robots-txt-overview/)</sup>

## robots.txt做不到的事

**抓取不等于索引。** 谷歌无法索引被禁止抓取的页面内容，但仍可能索引该URL并在结果中显示（不附摘要），因为URL可以从外部链接被发现。<sup>[6](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec)</sup> 将robots.txt封锁与`noindex`元标签结合使用会适得其反，因为爬虫遵守robots.txt，不抓取该页面，因此永远不会遇到`noindex`，而该URL仍可能继续出现在搜索结果中。<sup>[7](https://seoprocheck.com/indexing-crawl/meta-robots-x-robots-tag-reference/)</sup>

**页面级控制。** Robots元标签由网络标准社区于1996年开发，即在元标签被提议用于HTML几个月之后，据传早于谷歌成立。<sup>[16](https://developers.google.cn/search/blog/2025/03/robots-refresher-page-level)</sup> X-Robots-Tag HTTP响应标头将同样的页面级控制扩展到非HTML内容，如PDF、文档文件和图像。<sup>[16](https://developers.google.cn/search/blog/2025/03/robots-refresher-page-level)</sup> 由于页面级指令随URL本身发送，爬虫只有在robots.txt不禁止抓取该URL时才能遵守它们；谷歌推荐的做法是：用robots.txt进行封锁网站大部分内容的宽泛控制，用页面级控制处理单个页面。<sup>[16](https://developers.google.cn/search/blog/2025/03/robots-refresher-page-level)</sup>

**不是安全控制。** 该协议仍是技术建议和惯例，而非具有法律约束力的法规，也不是用于隐藏机密信息的安全功能。<sup>[5](https://indico.cern.ch/event/1149330/contributions/5074600/attachments/2524742/4346236/ossym2022-robotstxt-sn.pdf)</sup> RFC 9309指出，在robots.txt文件中列出路径会将其公之于众，从而使路径可被发现，并建议改用HTTP身份验证等应用层控制。<sup>[1](https://www.rfc-editor.org/rfc/rfc9309.html)</sup>

## 数据一览

不同调查的采用率统计各有差异，此处按实测数据呈现。一项2026年对151,649,745个活跃网站的抓取调查发现，59.9%拥有robots.txt（90,797,323个站点），29.1%没有文件，6.7%以401/403拒绝，4.2%返回服务器错误——RFC 9309要求爬虫将其视为完全禁止。<sup>[8](https://www.stackscan.com/blog/robots-txt-statistics)</sup> Zyte的一项行业分析给出的比例更高，为全网75%。<sup>[4](https://www.zyte.com/blog/robots-txt-overview/)</sup>

**文件内容。** 在2026年的抓取调查中，24.4%的robots.txt文件未限制任何内容，8.8%告知所有未列出的爬虫不得进入，35.8%的文件要么不限制任何内容，要么不足五十字节。<sup>[8](https://www.stackscan.com/blog/robots-txt-statistics)</sup> 只有150,935个网站（占拥有robots.txt站点的0.17%）禁止Googlebot访问整个站点。<sup>[8](https://www.stackscan.com/blog/robots-txt-statistics)</sup> 指令数量普遍偏低：48.1%的文件包含1至5条Disallow规则，24.4%不含任何Disallow规则，18.0%含6至20条，8.2%含21至50条，1.3%超过50条。<sup>[8](https://www.stackscan.com/blog/robots-txt-statistics)</sup> 另一项抓取数据集分析发现，文件大小中位数为834字节、31行（23行有效），第95百分位为15.8 KB，观测到的最大值为248.3 KB、4,998行；中位数文件包含9条Disallow和1条Allow指令。<sup>[17](https://thunderbit.com/blog/robots-txt-problems)</sup> 97.4%的文件至少有一条指令使用通配符`*`用户代理。<sup>[18](https://paulcalvano.com/2025-08-21-ai-bots-and-robots-txt/)</sup>

**Crawl-delay与站点地图的实际情况。** 12.0%的文件（1,090万站点）声明了Crawl-delay，其中74.4%将其设为10——这是托管面板写入的模板值，而非经过调优的决定。<sup>[8](https://www.stackscan.com/blog/robots-txt-statistics)</sup> 在83个知名主机中，62个（75%）包含Sitemap行，15个（18%）设置了Crawl-delay。<sup>[19](https://aiwebsitepipeline.com/robots-directive-stats.html)</sup> 在抓取调查中，31.4%的文件未声明站点地图。<sup>[8](https://www.stackscan.com/blog/robots-txt-statistics)</sup>

**遵守情况。** 一项2006至2007年的调查发现，拥有robots.txt的网站比例在11个月内从35%升至38.5%，其中报纸（46%）、美国大学（45.9%）和政府（44%）网站的采用率最高。<sup>[14](https://archives.iw3c2.org/www2007/htmlposters/poster1034/index.html)</sup> 2008年的一项后续调查覆盖约600万站点，延续了2007年对约7,593个站点的调查，该调查发现了robots.txt采用中存在偏差的证据。<sup>[20](https://dl.acm.org/doi/10.1145/1367497.1367711)</sup> 在行为方面，一项对130个自称为机器人的程序开展的为期40天的受控研究发现，机器人对更严格的robots.txt指令遵守率更低。<sup>[21](https://dl.acm.org/doi/10.1145/3730567.3764471)</sup> 一项更大规模的实证研究在三个版本的robots.txt上得出了相同结论：指令越严格（例如禁止访问某些页面），遵守率越低。<sup>[3](https://arxiv.org/html/2505.21733)</sup> 在该研究中，SEO机器人对robots.txt最为尊重，而搜索引擎爬虫的遵守率处于最低之列，AI助手和AI数据抓取器介于两者之间。<sup>[3](https://arxiv.org/html/2505.21733)</sup>

## AI爬虫与近期变化

RFC 9309发布于一个关键时刻，恰逢OpenAI的ChatGPT等大语言模型问世（同样于2022年底首次亮相），引发了关于该标准在AI时代作用的疑问。<sup>[22](https://arxiv.org/pdf/2503.06035)</sup> 根据Longpre等人2025年的一项研究，随着生成式AI模型在2022年前后出现，robots.txt文件的部署及其施加的限制均急剧上升，这一趋势与为训练目的而加大内容抓取有关。<sup>[3](https://arxiv.org/html/2505.21733)</sup>

**公开声明的政策。** 大多数领先AI爬虫的运营方公开声明其机器人遵守robots.txt：OpenAI文档中的GPTBot和OAI-SearchBot，Anthropic文档中的ClaudeBot、Claude-SearchBot和Claude-User，Perplexity文档中的PerplexityBot，以及[Common Crawl](https://www.edgepedia.org/zh/common-crawl)文档中的CCBot。<sup>[23](https://lumina-seo.com/blog/robots-txt-guide/)</sup> 在83个知名主机中，39个（47%）在其robots.txt中至少指名一个AI爬虫。<sup>[19](https://aiwebsitepipeline.com/robots-directive-stats.html)</sup>

**实测封锁情况。** 一项精选数据集研究发现，60.0%的声誉良好的网站至少在robots.txt中禁止一个AI爬虫，而虚假信息网站为9.1%，声誉良好的网站平均禁止15.5个AI用户代理。<sup>[9](https://dl.acm.org/doi/abs/10.1145/3774904.3792625)</sup> 即使在对AI友好的发布者中，采用情况也不统一：2026年8月17日，Common Crawl为32个发布llms.txt文件的站点抓取了robots.txt，发现其中没有一个封锁CCBot；五个文件指名CCBot只是为了写`Allow: /`，十一个文件指名它但排除了少数路径。<sup>[24](https://commoncrawl.org/blog/a-content-analysis-of-llms-txt-files-from-the-july-2026-crawl-archive)</sup>

**文件之外的执行。** [Cloudflare](https://www.edgepedia.org/zh/cloudflare)认为，单靠robots.txt指令无法解决问题：发布一个文件任何人都能做到，但这样的文件无法确定来访的是哪个爬虫、了解其目的，或阻止无视它的爬虫。<sup>[25](https://blog.cloudflare.com/accountable-mixed-use-ai-crawlers/)</sup> 2026年9月15日，Cloudflare宣布了针对AI抓取的“可问责”（Accountable）认定，并推出了“禁止AI训练”（Disallow AI Training）设置，任何客户均可使用——它发布robots.txt指令，同时在网络边缘封锁仅用于训练的爬虫，包括亚马逊、Anthropic、Meta和OpenAI运营的爬虫，且不影响搜索。<sup>[26](https://www.cloudflare.com/press/press-releases/2026/cloudflare-helps-end-the-search-or-ai-training-tradeoff/)</sup><sup> • </sup><sup>[25](https://blog.cloudflare.com/accountable-mixed-use-ai-crawlers/)</sup> 在监管方面，欧盟《人工智能法案》的通用人工智能行为准则要求签署的GPAI提供方将robots.txt视为机器可读的退出方式，这对签署方是具有约束力的承诺。<sup>[4](https://www.zyte.com/blog/robots-txt-overview/)</sup> 一项覆盖400万个域名的研究，将robots.txt与较新的许可导向文件（ai.txt）和描述导向文件（llms.txt、llms-full.txt）一并分析，发现robots.txt仍占主导地位。<sup>[27](https://dlnext.acm.org/doi/10.1145/3831956.3831960)</sup>

## 常见错误与操作风险

在对83个主要主机的普查中，记录了20个将`crawl-delay`放入googlebot组的案例（尽管谷歌在此处无视它），2个在robots.txt中包含`noindex`行（该指令在该文件中无效），以及1个返回完整HTML页面代替robots.txt。<sup>[19](https://aiwebsitepipeline.com/robots-directive-stats.html)</sup> 2007年的WWW调查发现，即便在当时错误使用也相当普遍：13个命名错误的robots.txt文件，23个在User-Agent字段使用通用名称的文件，282个规则含糊的文件，以及18个规则冲突的文件，作者认为这意味着需要一个更明确规定的正式标准。<sup>[14](https://archives.iw3c2.org/www2007/htmlposters/poster1034/index.html)</sup>

**暴露敏感路径。** 后果最严重的错误是把robots.txt当作列出秘密的地方。2026年的抓取调查发现，1.1%的文件（98.62万站点）提及`password`，70.88万提及`backup`，54.58万提及`.env`，18.67万提及`.sql`，7.89万提及`.git`。<sup>[8](https://www.stackscan.com/blog/robots-txt-statistics)</sup> 由于该文件在设计上就是公开的，每一条这样的行都在向任何访客（无论人还是自动化程序）昭示一个候选路径。标准本身给出的防御规则是：将敏感路径排除在robots.txt之外，并用HTTP身份验证等应用层控制加以保护。<sup>[1](https://www.rfc-editor.org/rfc/rfc9309.html)</sup>

**不适用的配置。** 从托管模板复制的Crawl-delay值说明了一个更普遍的模式：声明该指令的1,090万个文件中有74.4%将其设为10，而谷歌完全无视该指令，因此该设置对谷歌的爬虫毫无效果。<sup>[8](https://www.stackscan.com/blog/robots-txt-statistics)</sup><sup> • </sup><sup>[12](https://rctrl.com/blog/robots-txt-ai-complete-directive-reference)</sup> 将robots.txt封锁与`noindex`元标签结合使用，失败的原因在结构上相同：爬虫从不抓取该页面，因此永远不会看到页面级信号。<sup>[7](https://seoprocheck.com/indexing-crawl/meta-robots-x-robots-tag-reference/)</sup> 实际的职责分工是：robots.txt用于宽泛的抓取控制，页面级指令（仅在可抓取的URL上生效）用于单个页面的索引决策。<sup>[16](https://developers.google.cn/search/blog/2025/03/robots-refresher-page-level)</sup>

## References

1. [RFC 9309: Robots Exclusion Protocol, IETF](https://www.rfc-editor.org/rfc/rfc9309.html)
2. [A Standard for Robot Exclusion (1994), archived primary source](https://web.archive.org/web/20071002042544/www.robotstxt.org/wc/norobots.html)
3. [Scrapers Selectively Respect robots.txt Directives: Evidence From a Large-Scale Empirical Study, arXiv](https://arxiv.org/html/2505.21733)
4. [75% of the web uses robots.txt - here's how, Zyte](https://www.zyte.com/blog/robots-txt-overview/)
5. [The robots.txt standard: implementations and usage, CERN Open Science Symposium 2022](https://indico.cern.ch/event/1149330/contributions/5074600/attachments/2524742/4346236/ossym2022-robotstxt-sn.pdf)
6. [How Google Interprets the robots.txt Specification, Google](https://developers.google.com/crawling/docs/robots-txt/robots-txt-spec)
7. [Meta Robots and X-Robots-Tag: The Complete Reference, SEOProCheck](https://seoprocheck.com/indexing-crawl/meta-robots-x-robots-tag-reference/)
8. [Robots.txt Statistics 2026: What 90.8 Million Websites Actually Configure, StackScan](https://www.stackscan.com/blog/robots-txt-statistics)
9. [Is Misinformation More Open? A Study of robots.txt Gatekeeping on the Web, ACM WWW](https://dl.acm.org/doi/abs/10.1145/3774904.3792625)
10. [The Web Robots Pages, robotstxt.org](https://www.robotstxt.org/robotstxt)
11. [A Method for Web Robots Control (1996 draft RFC text)](http://www.robotstxt.org/norobots-rfc.txt)
12. [Robots.txt for AI: The 2026 Directive Reference, RankControl](https://rctrl.com/blog/robots-txt-ai-complete-directive-reference)
13. [Create and Submit a robots.txt File, Google](https://developers.google.com/crawling/docs/robots-txt/create-robots-txt)
14. [A Large-Scale Study of Robots.txt, WWW 2007 poster](https://archives.iw3c2.org/www2007/htmlposters/poster1034/index.html)
15. [draft-koster-rep-07, Robots Exclusion Protocol Internet-Draft, IETF](https://datatracker.ietf.org/doc/html/draft-koster-rep-07)
16. [Robots Refresher: page-level granularity, Google Search Central](https://developers.google.cn/search/blog/2025/03/robots-refresher-page-level)
17. [How robots.txt Became the Web's Policy Mess, Thunderbit](https://thunderbit.com/blog/robots-txt-problems)
18. [AI Bots and Robots.txt, Paul Calvano](https://paulcalvano.com/2025-08-21-ai-bots-and-robots-txt/)
19. [What robots directives major websites actually use, measured on 83 hosts](https://aiwebsitepipeline.com/robots-directive-stats.html)
20. [A larger scale study of robots.txt, ACM WWW 2008](https://dl.acm.org/doi/10.1145/1367497.1367711)
21. [Bot compliance study over 40 days of controlled robots.txt experiments, ACM](https://dl.acm.org/doi/10.1145/3730567.3764471)
22. [The liabilities of robots.txt, arXiv](https://arxiv.org/pdf/2503.06035)
23. [Robots.txt Guide for SEO and AI Crawlers (2026), Lumina SEO](https://lumina-seo.com/blog/robots-txt-guide/)
24. [A Content Analysis of llms.txt Files from the July 2026 Crawl Archive, Common Crawl](https://commoncrawl.org/blog/a-content-analysis-of-llms-txt-files-from-the-july-2026-crawl-archive)
25. [Have it both ways: stay discoverable in search while disallowing AI training, Cloudflare Blog](https://blog.cloudflare.com/accountable-mixed-use-ai-crawlers/)
26. [Cloudflare Helps End the Search-or-AI-Training Tradeoff, Cloudflare press release](https://www.cloudflare.com/press/press-releases/2026/cloudflare-helps-end-the-search-or-ai-training-tradeoff/)
27. [From robots.txt to ai.txt: Mapping the Evolution of Web Permissions in the Age of AI, ACM SIGCOMM CCR](https://dlnext.acm.org/doi/10.1145/3831956.3831960)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › 标题：Mo至Z

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/robots-txt

English original: https://www.edgepedia.org/robots-txt
