[Resolved] Mixed content fixer seems to be messing with external image embeds

Home Forums Mixed content in my site Mixed content fixer seems to be messing with external image embeds

This topic contains 3 replies, has 2 voices, and was last updated by  Greg Burkett 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #106563 Reply

    Greg Burkett

    Hey there! First off, I adore this plugin and this is the first snag I’ve run into with it.. So hoping it might be a simple fix 🙂

    I’ve created a test post to demo the issue, but the mixed content filter is replacing the src attrib of an external image on this page: https://graceconnect.us/test/

    That img url is set to http:// in post editing, and gets turned to https:// by RS-SSL, and it’s causing those image URLs to break. I deactivate the plugin and the issue goes way. I don’t have multi-site running, and I don’t have Photon.

    Any ideas what may be the issue? Other things to check? I’ve tried changing the mixed content hook (in RSSSL plugin’s settings) and that didn’t seem to have any effect. Thanks in advance!

    #106569 Reply

    Greg Burkett

    Another note.. Interestingly there’s a href link to the same external site, which correctly gets ignored by the mixed content filter, however the image src url DOES get filtered to https. Odd.

    #106571 Reply

    Hi Greg,

    That is the correct behaviour. Otherwise your site will get mixed content, which is not what you want. These images break because these are loaded from a domain without an SSL certificate. The best solution would be to download these to your site instead of hotlinking them. The pro plugin scans your entire site for such images, and offers the option to automatically download and insert them. Or you can do this manually.

    That said, there is a way to prevent the plugin from fixing these images, though it is not recommended: your users might get big “not secure site” warnings.

    Here’s an explanation how to do this:
    https://really-simple-ssl.com/knowledge-base/exclude-url-mixed-content-fixer/

    #106574 Reply

    Greg Burkett

    Ahhhhhh… DUH. Of course, *facepalm*.

    Wasn’t really thinking that through. I hadn’t had my coffee yet 🙂

    Thanks for the super fast reply and helpful suggestions.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Mixed content fixer seems to be messing with external image embeds
Your information: