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 !
Hier bin ich mit den Tag-Seiten und Benutzerseiten ebenfalls in derselben Situation.
Tag- und Benutzerseiten stehen bereits auf der noindex-Liste.
Hm. Bei uns scheinen auf den Seiten für Tags und Benutzer keine noindex-Tags vorhanden zu sein. Ich habe das Forum nicht eingerichtet, daher weiß ich nicht, ob derjenige, der es getan hat, daran herumgebastelt hat. Wo kann ich das ändern?
Die noindex-Anweisung wird sowohl über den Antwort-Header als auch in der robots.txt-Datei übermittelt:
➜ ~ 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
...```