WordPress.org

Ready to get started?Download WordPress

Forums

WP jQuery Lightbox
mixed http and https installation problems (7 posts)

  1. rfc1437
    Member
    Posted 3 years ago #

    My blog (http://hugo.rfc1437.de/) runs both under http and https. Two plugins still pull their javascript from the http address even when I access the https version. One of them is wp jquery lightbox (which I absolutely love btw). Looks like there need to be a few site_url() calls thrown in to correctly link to the javascript code.

  2. ulfben
    Member
    Plugin Author

    Posted 3 years ago #

    Try the development version and let me know if it helps.

  3. rfc1437
    Member
    Posted 3 years ago #

    I actually use 1.3.3 now, but the mixed http/https problem still is there. You can see it on https://hugo.rfc1437.de/category/galerie/ - both the lightbox.min.css and the jquery-lightbox.min.js are loaded via http instead of https.

  4. rfc1437
    Member
    Posted 3 years ago #

    after looking into this whole thing for a while now (several other places with problems with proper http/https handling showed up) it seems that in some cases it is needed to use is_ssl() to check for current scheme and then str_replace on urls to turn them to the needed scheme. An idea might be to add a filter to all places where jquery-lightbox outputs URLs and hook a filter function to that single place to handle this problem.

  5. ulfben
    Member
    Plugin Author

    Posted 3 years ago #

    I'll have to do some research on this for the next release. Thanks for reporting!

  6. ythepyas
    Member
    Posted 3 years ago #

    Hi. Maybe you guys can help me. I installed wordpress using https (site accessible via both http and https). The default behavior uses https when loading the home page. How do I disable this?

    The RewriteEngine rule in the .htaccess file is commented out, so redirection (I don't believe) is happening from there. Is there a file in WP that specifies whether to use http or https? Thanks.

  7. ulfben
    Member
    Plugin Author

    Posted 2 years ago #

    I'm now using the "path-API" of WP3.0 for all URLs and directories. If there are still issues with mixed installations I'd like to know, but ultimately it would have to be considered an issue with WordPress core.

    http://wordpress.org/extend/plugins/wp-jquery-lightbox/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic