WordPress.org

Support

Support » Plugins and Hacks » WP jQuery Lightbox » mixed http and https installation problems

mixed http and https installation problems

  • 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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author ulfben

    @ulfben

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

    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.

    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.

    Plugin Author ulfben

    @ulfben

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

    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.

    Plugin Author ulfben

    @ulfben

    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/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘mixed http and https installation problems’ is closed to new replies.
Skip to toolbar