# 删除每个主题链接中的 /2、/3、/4 等链接

**URL:** <https://meta.discourse.org/t/removing-the-2-3-4-etc-links-for-each-reply-within-a-topic-url/209648>\
**Category:** Development\
**Tags:** seo\
**Created:** [2021 年11 月 19 日 15:57 UTC](https://meta.discourse.org/t/removing-the-2-3-4-etc-links-for-each-reply-within-a-topic-url/209648 "2021-11-19T15:57:21Z")\
**Posts on this page:** 1\
**Showing post:** 30

<div class="post-metadata">

**Author:** ![SethWilliams](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sethwilliams/32/238634_2.png) [@SethWilliams](https://meta.discourse.org/u/SethWilliams)\
**Post date:** [2024 年1 月 20 日 01:29 UTC](https://meta.discourse.org/t/removing-the-2-3-4-etc-links-for-each-reply-within-a-topic-url/209648/30 "2024-01-20T01:29:17Z")

</div>

这个话题已经很长时间没有更新了。我想知道：是否有人测试过这个_实验性_功能？现在已经过去两年多了，我很想知道这是否仍被视为实验性功能，或者是否有人能确认它解决了问题？

> [@Falco](#):
>
> > [@Falco](#):
> >
> > 向这些页面的响应负载添加 `X-Robots-Tag: noindex` 标头。
> 
> 这已经添加了。如果你想启用这个_实验性_功能，你需要将值切换到隐藏的站点设置 `SiteSetting.allow_indexing_non_canonical_urls`。
> 
> 请与我们分享结果。

与 @RGJ 在 21 年 11 月所做的类似，我发现了一个使用 Discourse 的[大型公共论坛 (Python)](https://discuss.python.org/)，并进行了一次[谷歌搜索，查找其论坛中一个有很多回复的主题](https://www.google.com/search?q=site:discuss.python.org+%22About+the+Ideas+Category%22)，看看它是否会显示来自同一主题的大量单独回复。

令我高兴的是，谷歌没有向我显示大量单独回复的结果！唯一的结果是主题本身以及它所属的类别！这是一个好迹象！

不过，当我进行与 @RGJ 在 21 年 11 月进行的[相同搜索](https://www.google.com/search?q=site:meta.discourse.org+%22Babble+-+A+Chat+Plugin%22)时，该特定搜索的问题仍然存在。

我还对这个 Discourse 社区论坛上的另一个主题进行了[新的测试搜索](https://www.google.com/search?q=site%3Ameta.discourse.org+%22Jitsi+Video+Conference%22)，发现了一个类似的问题，有多个结果来自同一个主题。

很高兴看到这个问题并不_总是_存在于_所有_ Discourse 论坛上……但我不知道为什么这个问题会在 Python 论坛上得到解决，而在 Discourse 论坛上仍然存在。

有人有什么想法可以解决这个问题吗？

我正在考虑将一个现有的论坛从 NodeBB 迁移到 Discourse，但在这样做之前，我需要知道有一种方法可以解决这个问题，以免给我们的域名造成 SEO 噩梦。

---

_[View the full topic](https://meta.discourse.org/t/removing-the-2-3-4-etc-links-for-each-reply-within-a-topic-url/209648)._
