重复内容

I was wondering the same thing about duplicate synchronized WP/Discourse content from this topic: https://meta.discourse.org/t/risk-of-duplicate-content-with-synchronized-wp-posts-discourse-topics/91737

But it got closed by Jeff Atwood saying there are already existing topics. I couldn’t find any topics that addressed this question. Please advise.

I searched before posting and I didn’t find any either, a bit confused. Maybe I didn’t use the right keywords?

It’s been brought up a few times, but I don’t think there is a topic dedicated to it. There is a topic on Feverbee that I contributed to: https://experts.feverbee.com/t/is-it-possible-for-the-feverbee-blog-posts-to-be-pulled-in-full/6192. It is possible to set the Canonical URL of a WordPress post so that it matches the Discourse topic. Beyond that, I don’t think there is anything the plugin can do about the duplicate content issue.

Covered here: Embedding Discourse Comments via Javascript

也许一年过去了:对于重复内容问题,还有其他解决方案吗?

比如在 Discourse 论坛帖子中添加规范 URL,或者对论坛帖子设置 no-index。

大约 9 个月后:这也是我们反复遇到的问题。我们开始只在 Discourse 上发布摘要,但我们的会员不喜欢被引导回网站去阅读全文。

好吧,你不可能两头兼顾,所以我不太清楚你在这里想提出什么。

我的建议是提供一定的灵活性,让用户可以选择创建何种类型的社区,而不会因重复内容被 Google penalize:

  • 允许使用 Discourse 的博客成员拥有在 Discourse 上阅读和回复文章的完整权限。
  • 将 Discourse 打造为“俱乐部”,仅展示文章摘要。这不需要将规范链接(canonical URL)设置为博客文章。

第一种方案需要设置一个指向非 Discourse 平台博客文章的规范链接。在我看来,提供这种灵活性的最简单方法是增加一个选项,允许为每个主题设置规范链接。

是的,这确实存在。谷歌不喜欢重复的文章副本。

你这里的选项看起来相当简单:

  • 发布摘录
  • 向对匿名用户不可见的分类发布完整文章(你可以将“所有人”替换为“TL0”)
  • 发布重复内容并因此被扣分

对吧?

Discourse 最近新增了“嵌入设置规范 URL”站点设置。启用此设置后,对于包含嵌入 URL 的话题,其规范 URL 将被设置为该话题的嵌入 URL。对于使用 WP Discourse 插件的网站,启用此设置将导致从 WordPress 发布的任何帖子的规范 URL 被设置为该 WordPress 帖子的 URL。

[quote=“simon, 帖子:13, 主题:91745”]
最近为 Discourse 添加了一个“嵌入设置规范 URL

@simon “嵌入式网址”具体是指什么?我也看到了“嵌入式主题”这个术语。我不确定它们的意思。

嵌入 URL 是可以与主题关联的属性。WP Discourse 插件将嵌入 URL 设置为 WP 文章的永久链接。因此,如果您使用站点设置 embed set canonical url,WP 文章的永久链接将成为 Discourse 主题的规范 URL(即,它将出现在 head 中作为规范链接)。

谢谢。embed url 属性只能通过 API 设置吗?

是的,您只能通过 API 进行设置。它被用于各种涉及从第三方服务导入内容的功能。

关闭还是删除?embed set canonical url 能完全解决重复内容 SEO 问题吗?

是的,如果使用得当,它确实可以。请查看以上内容,特别是 Simon 的帖子,如果您有任何具体问题或疑虑,请告知我们。

我的用例是使用 Discourse WordPress 插件 并启用 embed set canonical url 选项,从而自动从 WordPress 创建 Discourse 中的讨论。

一旦我将 WordPress 连接到 Discourse 并自动创建新主题,除了启用 embed set canonical url 选项之外,我还需要做什么吗?

是的,您只需要这样做。