My website shows as insecure due to mixed content?

Mixed content is when your site is served over HTTPS, but some things on the page are still served over HTTP. You will see a warning "Not Secure".
But even with an SSL certificate installed properly, if there’s anything on your site that isn’t encrypted, the browser will label the site as insecure.

What does Mixed Content mean?

Mixed content = half-secure, half-unsecure site.

As an example:
Loading pages from: yourdomain.com But images, scripts or styles are loaded from http://www.yourdomain.com/file.jpg This is a mixture of secure and non-secure content which will cause warnings in the browser.

Why is that?

Mixed content typically happens when:

Mixed-Media

There are 2 types of:

1. Passive mixed content

You will usually get a security warning, but you can still load the site.

2. Mixed Content Active Content

This is more serious and can break site functionality or cause security problems.

How to Fix Mixed Content Errors

Step 1: Update WordPress URL See:

The text employs both:
https://yourdomain.com

Step 2: Search & Replace URLs in database

Search & Replace:
http://yourdomain.com -> https://yourdomain.com

It updates old links in posts, pages and options.

Change http: URLs to https:

Step 4: Plugin (optional)

Add ons:

They will automatically fix mixed content issues for you.

How to Tell It’s Fixed

Once you have it fixed, go to your site and:

Conclusion

Mixed content occurs when an HTTPS secured page pulls some resources from an insecure HTTP site. Once these URLs are fixed, you will have a completely secure site, no more warning messages popping up in the browser and SSL security correctly applied to the entire site.