Hi guys,
I decided to use tags on discourse. But i don’t want tags to be indexed by google…
So I wonder how to add the “noindex” Robots meta tag on tag pages.
<meta name="robots" content="noindex" />
Thanks !
Hi guys,
I decided to use tags on discourse. But i don’t want tags to be indexed by google…
So I wonder how to add the “noindex” Robots meta tag on tag pages.
<meta name="robots" content="noindex" />
Thanks !
In the same boat here with Tag pages and User pages
Tag and User pages are already on the noindex list.
Hm. Ours doesn’t seem to have noindex tags on both Tag and User pages. I didn’t set up the forum, so I’m not sure if whoever did tinkered around with this. Where can I alter this?
The noindex directive is delivered via both the response header and in the robots.txt file:
➜ ~ curl https://meta.discourse.org/tag/planned -I -X GET
HTTP/2 200
date: Tue, 09 Feb 2021 14:38:52 GMT
...
x-robots-tag: noindex
...
➜ ~ curl https://meta.discourse.org/u/Falco -I -X GET
HTTP/2 200
date: Tue, 09 Feb 2021 14:39:38 GMT
...
x-robots-tag: noindex
...
https://meta.discourse.org/robots.txt
User-agent: *
...
Disallow: /u
Disallow: /my
Disallow: /tag
...