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

  1. David
    Posted 3 years 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?


  2. Mike Ems
    Plugin Author

    Posted 3 years ago #

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

  3. David
    Posted 3 years 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
    Posted 3 years 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. Mike Ems
    Plugin Author

    Posted 3 years 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

  • WordPress HTTPS (SSL)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.