How to enable SSL support on DISQUS?

柔情痞子 提交于 2019-12-24 16:41:14

问题


How do I enable HTTPS/SSL support for DISQUS?

I'm aware that it has been implemented, but I'm unable to find out how to enable it in WordPress.


回答1:


We updated the Disqus plugin for WordPress in version 2.71 (change log) to support SSL. There's nothing you need to do other than load your itself via SSL — if the page is loaded via HTTPS, Disqus will load via HTTPS. Specifically, the embed (embed.js) and the comment counts on your site's front page (count.js) will load via HTTPS, which redirects them to be called via securecdn.disqus.com instead of mediacdn.disqus.com.

Note that it may take up to 24 hours for this to take effect on your site once you first transition to calling pages via HTTPS. Also, because of this caching, keep in mind that each time Disqus is called via HTTP instead of HTTPS this same wait may occur. If that's not desirable we'd recommend appending ?https to the end of the embed.js and count.js calls in the plugin which will force them to be loaded via HTTPS.



来源:https://stackoverflow.com/questions/9780140/how-to-enable-ssl-support-on-disqus

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!