重复内容

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.

2 个赞

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.

1 个赞

Covered here: Embedding Discourse Comments via Javascript

2 个赞

Maybe one year later: is there any other solution for the duplicate content issue?

Like add a canonical url in the discourse forum post or no-index the forum post.

2 个赞

Maybe 9 months later: this is something that keeps coming up with us too. We started posting only the excerpt to Discourse, but our members don’t like to be bounced back to the site to read the full article.

1 个赞

Well, you can’t have it both ways, so I’m not sure what you’re proposing here.

1 个赞

My proposal would be to offer some flexibility, so there is a choice of what type of community to make without getting dinged by Google for duplicate content:

  • Give members of a blog that uses Discourse the full privilege of reading and responding to an article on Discourse.
  • Make Discourse the ‘clubhouse’ that only shows an excerpt of the article. This does not require a canonical url set to the blogpost.

The first option would require a canonical url pointing to the blogpost that is not on Discourse. The easiest way to offer this flexibility imho is an option to set the canonical url for a topic.

Yes, this is a thing. Google don’t like duplicate copies of articles.

Your options here seem pretty simple:

  • post excerpts
  • post full articles to categories which aren’t visible to anonymous (you could substitute everyone with TL0)
  • post dupes and get dinged

Right?

1 个赞

An embed set canonical url site setting was recently added to Discourse. When this setting is enabled, the canonical URL for topics that have an embed URL will be set to the topic’s embed URL. For sites using the WP Discourse plugin, enabling this setting will cause the canonical URL of any posts published from WordPress to be set to the WordPress post’s URL.

5 个赞

This turned out to work great. It was just not obvious to me how to create a topic with a canonical URL. After some experimentation I found out you have to enter the original URL as topic title.

2 个赞

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

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

1 个赞

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

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

1 个赞

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

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

1 个赞

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

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

是的,您只需要这样做。

1 个赞