WordPress.org

Support

Support » Plugins and Hacks » GeneralStats » [Resolved] [Plugin: GeneralStats] Ajax refresh goes through https even if site is http

[Resolved] [Plugin: GeneralStats] Ajax refresh goes through https even if site is http

  • This is similar to the problem in core with image headers: http://core.trac.wordpress.org/ticket/14835

    What happens is that for some reason generalstats is making an https call to https://mysite.com/wp-admin/admin-ajax.php even though I’m connecting to http://mysite.com/ via http.

    That’s because my admin interface is accessed through https with a self-signed certificate, which breaks silently with Ajax (no browser warning popup in this case). What GeneralStats should do is check what protocol the page is using, just as in the core ticket above and invoke http if the site is http.

    Otherwise, Ajax refresh will not work with sites with a self-signed certificate.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: GeneralStats] Ajax refresh goes through https even if site is http’ is closed to new replies.
Skip to toolbar