http 和 https 上的相同 disqus 线程
Same disqus thread on http and https
我在 github 上有一个带有 disqus 评论框的 jekyll 博客,但是当有人通过 https 发表评论时,这些评论与通过 http 发表评论的评论出现在不同的线程中。
有没有办法让两个 url 共享同一个 disqus 线程?
谢谢
以下是如何避免拆分线程的说明:
https://help.disqus.com/customer/en/portal/articles/2158629
基本上,在嵌入代码中定义 url
和 identifier
配置变量,以便线程与规范 URL 而不是 window URL.
配置的相关部分如下:
var disqus_config = function () {
this.page.url = PAGE_URL; // The page's canonical URL
this.page.identifier = PAGE_IDENTIFIER; // The page's unique identifier
}
我在 github 上有一个带有 disqus 评论框的 jekyll 博客,但是当有人通过 https 发表评论时,这些评论与通过 http 发表评论的评论出现在不同的线程中。
有没有办法让两个 url 共享同一个 disqus 线程?
谢谢
以下是如何避免拆分线程的说明:
https://help.disqus.com/customer/en/portal/articles/2158629
基本上,在嵌入代码中定义 url
和 identifier
配置变量,以便线程与规范 URL 而不是 window URL.
配置的相关部分如下:
var disqus_config = function () {
this.page.url = PAGE_URL; // The page's canonical URL
this.page.identifier = PAGE_IDENTIFIER; // The page's unique identifier
}