WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS (SSL)
WP SSL non non-secure pages: https:// => http:// change (1 post)

  1. fktc
    Member
    Posted 6 months ago #

    Hi all,

    my site is calling an external JavaScript through a function that calls an external https:// url through a sidebar text widget. "Remove Unsecure Elements" is set to false.

    On pages where "Secure Post" is active, this works perfectly
    On pages where "Secure Post" is inactive, the plugin removes the "s" from the url and rewrites the URL into http://<path>, leading to a 404 response from the external site

    From the debug log:
    [FIXED] Element: <script> https://ssl.<path&gt; => http://ssl.<path&gt;
    [END WordPress HTTPS Debug Log]

    How can I prevent this rewriting? Any help would be greatly appreciated.

    Thanks!
    fktc

    https://wordpress.org/plugins/wordpress-https/

Reply

You must log in to post.

About this Plugin

About this Topic