# Excluding user profiles in robots.txt (or allow edit of file)

**URL:** <https://meta.discourse.org/t/excluding-user-profiles-in-robots-txt-or-allow-edit-of-file/15886>\
**Category:** Feature\
**Created:** [2014年五月22日 22:30 UTC](https://meta.discourse.org/t/excluding-user-profiles-in-robots-txt-or-allow-edit-of-file/15886 "2014-05-22T22:30:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![geek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/geek/32/102154_2.png) [@geek](https://meta.discourse.org/u/geek)\
**Post date:** [2014年五月22日 22:30 UTC](https://meta.discourse.org/t/excluding-user-profiles-in-robots-txt-or-allow-edit-of-file/15886/1 "2014-05-22T22:30:37Z")

</div>

After the latest Google Panda update, I found myself on the unhappy end of a 15% drop in visitors via Google, which led me to do some research on what exactly Google has indexed for my site.

According to a quick search using “site:discuss.howtogeek.com/users/” I noticed that all of the user profiles are being indexed in Google, despite having almost no useful information on any of them. So on my very small forum that’s 4,310 additional URLs that are indexed in Google despite having very little quality content on them.

I noticed this setting, which allows me to entirely disallow the forum from Google, but I think it would be better to just have a way to exclude user profiles in the robots.txt.

![](https://global.discourse-cdn.com/meta/original/2X/d/d78b2a128b1d286815498f7e0ad00b1437b035f7.png)

The ideal scenario would be if I could just edit the robots.txt in the settings, of course.

---

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [2014年五月22日 22:55 UTC](https://meta.discourse.org/t/excluding-user-profiles-in-robots-txt-or-allow-edit-of-file/15886/2 "2014-05-22T22:55:36Z")

</div>

Good catch. Web crawlers will see almost nothing there. My page as crawlers see it:

![](https://global.discourse-cdn.com/meta/original/2X/4/44621224f12bf81d3301c51c041d0522072515df.png)

Do we even need a setting for this? We could just add a rule to the robots.txt to disallow indexing of user pages. I don’t think any Discourse install would want them to be indexed.

---

<div class="post-metadata">

**Author:** ![geek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/geek/32/102154_2.png) [@geek](https://meta.discourse.org/u/geek)\
**Post date:** [2014年五月22日 23:07 UTC](https://meta.discourse.org/t/excluding-user-profiles-in-robots-txt-or-allow-edit-of-file/15886/3 "2014-05-22T23:07:56Z")

</div>

That definitely works as a quick fix, and personally I’d think the default should be to disallow indexing of users.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2014年五月23日 06:15 UTC](https://meta.discourse.org/t/excluding-user-profiles-in-robots-txt-or-allow-edit-of-file/15886/4 "2014-05-23T06:15:06Z")

</div>

Yeah, we can just disallow indexing of user pages for now via robots.txt as a quick fix.

At best they would just be links to topics the user participated in, and maybe an “about me” on the rare chance they filled it out.

Go ahead and do that tomorrow @neil.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2014年五月24日 04:19 UTC](https://meta.discourse.org/t/excluding-user-profiles-in-robots-txt-or-allow-edit-of-file/15886/5 "2014-05-24T04:19:34Z")

</div>

User profiles are now disallowed from indexing by default.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2014年五月24日 04:19 UTC](https://meta.discourse.org/t/excluding-user-profiles-in-robots-txt-or-allow-edit-of-file/15886/6 "2014-05-24T04:19:43Z")

</div>


