# 如何编辑 robot.txt 以索引用户资料？

**URL:** <https://meta.discourse.org/t/how-to-edit-robot-txt-for-indexing-user-profiles/113644>\
**Category:** Product Support\
**Created:** [2019 年4 月 6 日 21:43 UTC](https://meta.discourse.org/t/how-to-edit-robot-txt-for-indexing-user-profiles/113644 "2019-04-06T21:43:50Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

作者： ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)\
发布日期： [2023 年4 月 5 日 04:49 UTC](https://meta.discourse.org/t/how-to-edit-robot-txt-for-indexing-user-profiles/113644/9 "2023-04-05T04:49:12Z")

</div>

旧的，但有一个快速技巧：发送一封包含用户类别、标签等链接的 Gmail，然后让用户——比如管理员和版主——打开这些链接。这样 Googlebot 就不再遵循 robots.txt 了，并且会索引它们。

其余的，一如既往，取决于 Google 是否会深入跟踪或忘记。

这个话题，以及许多类似的话题，在这里给人一种 robots.txt 是严格规则的印象。它不是。它只是一条指南，仅此而已。

垃圾邮件/盗窃的担忧是合理的，但垃圾机器人不在乎 robots.txt 中的内容。如果某些东西是可访问的，它们就会去那里。

---

_[View the full topic](https://meta.discourse.org/t/how-to-edit-robot-txt-for-indexing-user-profiles/113644)._
