I have a WordPress site with SSL Certificate.

Some of my web pages (i.e. https://www.example.com/contact) don't display the green SSL Lock in the address bar but display https://

I noticed a bunch of errors due to image files, like in the screenshot below that appear on those pages. What is an easy and fast way to convert all http requests to https?

Mixed Content Warning Screenshot
(source: css-tricks.com)


From your screenshot, it looks like you are displaying images from another website (nga.gov), for example:


After checking out the links with the mixed content warning, I can see that SSL is set up for this website, which is good. However, their links still default to HTTP, for whatever reason.

To fix this on your end, simply change the protocol from http:// to https://.


You shouldn't get a warning once you manually update the links to the HTTPS protocols.

Additionally, you can consider using a plugin such as Remove HTTP which strips the protocols from all of your URLs to help fix your mixed content warnings.

|improve this answer|||||
  • I'm using a child theme. Should I make this change in the parent theme too? – Alt-Rock Ninja Dec 16 '16 at 3:19
  • Make the changes where ever you added those links. If they were added in your parent theme as well, then yes. – Ethan Jinks O'Sullivan Dec 16 '16 at 3:25
  • Is the parent theme considered inactive because I am using a child theme? If so, why change those links if inactive? – Alt-Rock Ninja Dec 16 '16 at 3:31
  • No, because the child theme is dependent on the parent theme. However, the child theme writes over any additional change on top of the parent theme. So you could get away with just making the change on your child theme theoretically. – Ethan Jinks O'Sullivan Dec 16 '16 at 3:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.