WordPress.org

Forums

WP Slimstat
[resolved] Not compatible with HTTPS! (7 posts)

  1. dipwick
    Member
    Posted 2 years ago #

    Hello,

    I'm using the "WordPress HTTPS (SSL)" plugin to secure some of the pages on my site. SlimStat produces insecure elements, to the extent that I've had to completely deactivate SlimStat for the secure pages to validate.

    I have the most recent version of SlimStat. This issue was addressed before: http://wordpress.org/support/topic/https-connection-and-failure-with-wp-slimstatjs

    ...but I'm not sure if a fix was implemented (and if so, it doesn't seem to be working!)

    Any help would be appreciated!

    http://wordpress.org/extend/plugins/wp-slimstat/

  2. camu
    Member
    Plugin Author

    Posted 2 years ago #

    Hi there,

    Your love for exclamation marks is just flattering :) Jokes aside, WP SlimStat should generate urls according to your wordpress settings. I will run some tests on my dev environment and see if there's anything that needs to be tweaked on either my or your end.

    Ps: a vote for my plugin would be a nice way to say thank you!!

  3. dipwick
    Member
    Posted 2 years ago #

    Thanks for the quick reply! (Oops, another exclamation mark)

    The error message from the console in Chrome is:

    The page at [URL] displayed insecure content from [URL]/wp-content/plugins/wp-slimstat/wp-slimstat-js.php.

    XMLHttpRequest cannot load [URL]/wp-content/plugins/wp-slimstat/wp-slimstat-js.php. Origin [URL] is not allowed by Access-Control-Allow-Origin.

    Any thoughts?
    Thanks again.

  4. camu
    Member
    Plugin Author

    Posted 2 years ago #

    Would it be possible to know the URL where this is happening?

    Thanks

  5. dipwick
    Member
    Posted 2 years ago #

    I think I should keep that to myself for my client's privacy, sorry. I just reactivated SlimStat for a second to generate that error, then deactivated it again so the secured pages would display without insecure content.

  6. camu
    Member
    Plugin Author

    Posted 2 years ago #

    I understand. The thing is that I was not able to reproduce the issue on my local server: the path to the tracking script is correctly pointing to the HTTPS resource, so there must be something in your configuration preventing the script from working. Can you check in your source code if the path to your wp-slimstat-js.php has HTTPS?

    WP SlimStat is using home_url to generate that URL:

    http://codex.wordpress.org/Function_Reference/home_url

    According to the codex, the appropriate protocol will be used, that's why I'm confused. Maybe it's a conflict with some other plugin?

    If you want, you can contact me in private to give me more info:

    http://www.duechiacchiere.it/contatto

    Thanks

  7. camu
    Member
    Plugin Author

    Posted 2 years ago #

    Marking as resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic