WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS (SSL)
[resolved] https links on http pages are being converted to http. (5 posts)

  1. David
    Member
    Posted 1 year ago #

    We have our site http://www.cv.com and on that page there is a required anchor tag that is https (https://booking.cv.com) but the plug in changes the link to http://booking.cv.com.

    in the debug console:
    [12:16:00.212] [FIXED] Element: <script> https://booking.cv.com/xxx/js/remote.js?js=1363115853 => http://booking.cv.com/xxx/js/remote.js?js=1363115853

    Is there a way to have it ignore the booking.cv.com host?

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

  2. Mvied
    Member
    Plugin Author

    Posted 1 year ago #

    You can add booking.cv.com or more specifically booking.cv.com/xxx/js/remote.js as a URL Filter.

  3. David
    Member
    Posted 1 year ago #

    I did add booking.cv.com/xxx in the URL Filter previously and that didn't prevent the plugin from changing the code on the page. Here is the example when the page is rendered from our http://staging.cv.com:

    <script type="text/javascript" src="http://booking.cv.com/xxx/js/baseurl.js?js=1363279084"></script>
     	    <script type="text/javascript" src="http://booking.cv.com/xxx/js/remote.js?js=1363279084"></script>

    Are there wildcards to append/prepend?

  4. David
    Member
    Posted 1 year ago #

    I would like it to be:

    <script type="text/javascript" src="https://booking.cv.com/xxx/js/baseurl.js?js=1363279084"></script>
    <script type="text/javascript" src="https://booking.cv.com/xxx/js/remote.js?js=1363279084"></script>

    Even though it is called from a http page.

  5. Mvied
    Member
    Plugin Author

    Posted 1 year ago #

    No, the plugin is coded to do that. Any HTTPS elements on an HTTP page are converted back to HTTP. This is by design. However, I don't think it would cause any harm to make the plugin leave external HTTPs elements on HTTP pages as HTTPS. I'll get it into the next release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.