WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS (SSL)
[resolved] [Plugin: WordPress HTTPS] encryption errors (3 posts)

  1. agustin320
    Member
    Posted 3 years ago #

    hello, i checked my website for anny errors, but the https still doenst apear to be ok, here is my website http://www.thedot.mx

  2. Mvied
    Member
    Plugin Author

    Posted 3 years ago #

    The code from Disqus is loading a JavaScript file over HTTP - http://disqus.com/forums/thedotmx/count.js

    Lines 137 to 158 on your home page's source:

    <script type="text/javascript">
     // <![CDATA[
      var disqus_shortname = 'thedotmx';
      var disqus_domain = 'disqus.com';
      (function () {
       var nodes = document.getElementsByTagName('span');
       for (var i = 0, url; i < nodes.length; i++) {
        if (nodes[i].className.indexOf('dsq-postid') != -1) {
         nodes[i].parentNode.setAttribute('data-disqus-identifier', nodes[i].getAttribute('rel'));
         url = nodes[i].parentNode.href.split('#', 1);
         if (url.length == 1) url = url[0];
         else url = url[1]
         nodes[i].parentNode.href = url + '#disqus_thread';
        }
       }
       var s = document.createElement('script'); s.async = true;
       s.type = 'text/javascript';
       s.src = 'http://' + disqus_domain + '/forums/' + disqus_shortname + '/count.js';
       (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
      }());
     //]]>
    </script>

    Unfortunately, you can't load http://disqus.com/forums/thedotmx/count.js over HTTPS, so your only choice would be to remove it from the pages you want to be HTTPS.

    Hopefully that helps. :)

  3. agustin320
    Member
    Posted 3 years ago #

    oh, ok thank you a lot!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic