How to edit robot.txt for indexing user profiles?

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?

User profiles are disallowed as the version which is seen by the crawler contains no useful information.

It’s not a question of whether the server can handle it or “take the hit”, it’s the tens of thousands of effectively empty pages which will waste the crawl time allocated to your site by the search engines.

2 Likes

You are absolutely right, for most websites your answer makes absolute sense. But, my use case is slightly different and that’s why I wanted to know how to index user profiles. Even if tons of useless pages (user profiles) gets indexed, then also that’s what I need for my use case.
If there’s a way to achieve it then, please let me know. :slight_smile:

I am also want to index the Categories and Tags.
Is there a way to edit the robots.txt?

Search meta, the reasons this is disabled is well documented.

1 Like

@Stephen, now that we can “play” with robot.txt here -> /admin/customize/robots do you guys advise to allow those two -> Disallow: /tags - Disallow: /tags/ ?

2 Likes

We do not advise messing with this at all.

4 Likes

Old one, but there is one fast trick: send a gmail where is link to user category, tags etc. and let users — like admins and mods — open those links. Then googlebot doesn’t follow robots.txt anymore and will index those.

Rest is, as usual, matter of Google will it follow deeper or forget.

This topic, and quite many similar ones, gives an image here where robots.txt would a strict rule. No it is not. It is just a guideline, nothing else.

And spam/steeling fear is valid, but trashy bots don’t care what is in robots.txt. If something is reachable they will go there.

1 Like