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.
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.
Mixed content typically happens when:
Your website code URLs are old URLs, and they use HTTP protocol.
WordPress database still contains http:// links.
Hardcoded http photo or script.
Themes and plugins loading external http resources http://
There are 2 types of:
Pictures
Video Snippets
Sound files
You will usually get a security warning, but you can still load the site.
JavaScript
CSS files
Application Programming Interfaces
This is more serious and can break site functionality or cause security problems.
Website Address (URL)
Website URL
The text employs both:
https://yourdomain.com
Search & Replace:
http://yourdomain.com -> https://yourdomain.com
It updates old links in posts, pages and options.
Theme files
Add-ons
User Code
Change http: URLs to https:
Add ons:
Better Search Engine Replacement (Better Search Replacement)
Really Simple SSL Plugin
They will automatically fix mixed content issues for you.
Once you have it fixed, go to your site and:
Locate padlock
Browser Console Mixed Content Warnings
Use HTTPS to load all your resources
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.