• Resolved trkr81

    (@trkr81)


    I’m using the cloudfront url option, and while it does work well, it strips the https down to http (there’s no “s” for ssl) upon saving a post.

    If I can get this working, I might use a cname (i.e, cdn.mydomain.com) but I’m not sure how that will affect https.

    Any thoughts on why the image urls are being saved as http, instead of https?

    And yes,… they appear as https when editing the post. It changes when I click save to save the post.

    https://wordpress.org/plugins/amazon-s3-and-cloudfront/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter trkr81

    (@trkr81)

    I failed to mention, I’m referring to the “S3 and Cloudfront” plugin found here:
    https://wordpress.org/plugins/amazon-s3-and-cloudfront/

    Thanks

    Thread Starter trkr81

    (@trkr81)

    I found the problem. But just in case anyone else runs into this…

    If you are running a plugin that manages https for you, for example “WordPress https”, it will likely rewrite the url to http.

    Be aware of this of you are toggling the https plugin on and off. Why? Because each time you insert an image to media (which is uploaded to s3) the cloudfront url will use https by default.

    But when your https management plugin is activated, your urls will be inserted with http only.

    So, toggling it on and off during development may lead to some assets having http, while others have https.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘http(s) is changing to http upon saving. No ssl?’ is closed to new replies.