nexo
2019 年9 月 28 日 03:24
1
Hey guys,
We don’t use categories on our forum, we’ve done everything to hide them and use tagging instead. I saw that there’s a Categories meta link on search engines and I want to know how we can remove it. Thanks
As well as removing the tag in title names:
2 个赞
Stranik
(Evgeny)
2019 年9 月 28 日 04:15
2
Maybe this can help you:
PR was just merged:
https://github.com/discourse/discourse/commit/6515ff19e5c8e62ba3aaecb5947eaccdcbbaf0dd
If you update to latest tests-passed, you’ll be able to customize robots.txt at /admin/customize/robots. The page is not linked to from anywhere in the UI, you’ll have to copy and paste the URL manually into your browser.
Note: if you override the file, any later changes to the site settings that modify robots.txt (e.g. whitelisted crawler user agents etc.) won’t apply to the file…
Where you yourself can set the rules for categories.
2 个赞
nexo
2019 年9 月 28 日 04:19
3
Thanks! Is this how I would do that?
Stranik
(Evgeny)
2019 年9 月 28 日 04:31
4
If you want to prohibit something additionally, then you need to add rules (not clean up).
Add:
Disallow: /c/
Learn more about “Disallow”
You do not need to remove the rules, you need to add them.
5 个赞
system
(system)
关闭
2019 年10 月 28 日 04:31
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.