• Resolved jenderks

    (@jenderks)


    I was hoping this would help with images being served as http:// on my https:// site, but it didn’t. Any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter jenderks

    (@jenderks)

    Sorry, should have given you the link…duh
    https://fourfincreative.com (look under our work)

    Plugin Author Fact Maven

    (@factmaven)

    After investigating, this is the image that’s causing the mixed content warning:

    Mixed Content

    Looking at the source code, here’s a snippet of what you currently have:

    
    <section class="section-contact" id="section-contact" style="background-image: url( http://fourfincreative.com/online/wp-content/uploads/2014/03/iStock_000045557738_Small.jpg);">
    

    This issue can be easily fixed on your end by changing manually to the following:

    
    <section class="section-contact" id="section-contact" style="background-image: url(//fourfincreative.com/online/wp-content/uploads/2014/03/iStock_000045557738_Small.jpg);">
    

    Q: Why doesn’t Remove HTTP remove the protocol in this case?
    We only have protocols removed from the following sources:
    script,link,base,img,form,a,meta,iframe,svg

    In previous versions, we did have a more aggressive algorithm to remove any reference of http:// or https://. However, we discovered that it was too aggressive and caused issues with some plugins.

    I also see that your other <section> tags use protocol-relative URLs:

    
    <div class="services-bg" style="background-image: url(//fourfincreative.com/online/wp-content/uploads/2014/03/smallboat.jpg);"></div>
    <div class="blog-bg" style="background-image: url( '//fourfincreative.com/online/wp-content/uploads/2014/03/blog.jpg' );"></div>
    
    Thread Starter jenderks

    (@jenderks)

    Thank you! That did help with the mixed content warning. But the real issue is with my theme calling the portfolio section using http … can’t see the work section on https. I was hoping your plugin could help correct their oversight, but I’ll try to reach out to them again.

    Plugin Author Fact Maven

    (@factmaven)

    In your case, it would be quicker to make the fix on your end since it’s only one image that’s causing the issue. If this is all content-related, you can ensure that all of your links are pointing to HTTPS by following these steps.

    Until then, if we can figure out a way on our end to update our algorithm to also fix it, we will definitely push it in the next update.

    • This reply was modified 7 years, 11 months ago by Fact Maven.
    Plugin Author Fact Maven

    (@factmaven)

    Just revisited your website and I see you are no longer experiencing mixed content issues. Was this fixed manually though your theme?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Didn’t help with my images’ is closed to new replies.