# 如何编辑 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:** 1

<div class="post-metadata">

作者： ![thegurjyot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thegurjyot/32/120516_2.png) [@thegurjyot](https://meta.discourse.org/u/thegurjyot)\
发布日期： [2019 年4 月 6 日 21:43 UTC](https://meta.discourse.org/t/how-to-edit-robot-txt-for-indexing-user-profiles/113644/1 "2019-04-06T21:43:50Z")

</div>

I want the user profiles on my website to get indexed in Google. I know it might attract a lot of spam but we can handle that, although getting user profiles indexed in Google is more important for us. So is there a way to do this?  
I checked the old topics on meta and they suggested to edit robot.txt. Is the answer still the same? And if the yes, then how to edit the robot.txt?

---

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