WordPress

Fix Mixed Content and "Not Secure" Warnings After Adding SSL

4 min readUpdated November 28, 2026

You installed an SSL certificate and your address now starts with https, yet the browser still shows a warning or no padlock. The usual cause is mixed content. This guide explains what it is and how to fix it on a WordPress site.

What is mixed content

A secure page can load many things: images, scripts, style files and fonts. Mixed content means the page itself is https, but some of those parts are still loaded from an http address. The browser sees the weak link and either blocks the item or shows a warning. The page may also look broken, with missing pictures or styles.

Step 1: confirm the certificate is fine

First test the certificate with our SSL checker. If it reports a valid certificate, the problem is mixed content and not the certificate. If it reports a problem, read check an SSL certificate with the SSL checker.

Step 2: use https in WordPress settings

In the admin area open Settings, then General. Both WordPress Address and Site Address should start with https. Save. If you cannot save because the admin is broken, edit the values in wp-config.php.

Step 3: send all visitors to the https version

Use one method to redirect http to https. Our force HTTPS video guide shows the cPanel way, and free SSL and force HTTPS explains the idea. Do not stack several redirect tools, because that can cause a loop. If it happens, read fix the too many redirects error.

Open the page in your browser and press F12 to open the developer tools. Look at the Console tab. Each mixed content item is listed with its address. Common sources are:

  • Images that were inserted when the site was still http.
  • Links in menus, widgets and the theme settings.
  • Old plugin or theme files that call an external http address.
  • Embedded content such as maps, videos and fonts.

Step 5: fix them

  • For a few items, edit the page and replace http with https in the address.
  • For many items, a search and replace tool for the database can update all old addresses at once. Make a backup before you use it. See the website backups guide.
  • For parts that come from a plugin or theme, check its settings or update it.
  • If an outside service does not support https, replace it.

Step 6: clear caches

Clear your caching plugin and your browser cache. Old saved pages may still contain http links.

Why it matters for SEO

Search engines prefer secure pages, and visitors trust the padlock. A warning on your page makes people leave. Our guide on core web vitals for WordPress owners lists other checks that help both people and ranking.

A quick test after the fix

Open your home page, a post, a contact page and a page with many images in a private window. Look for the padlock on each one. Then run the SSL checker again. If one page still shows a warning, open its developer tools and read the Console again, because that page may contain an old embed that the others do not have.

FAQ

Does the warning mean my site is hacked?

No. It means some part of the page is loaded in a weaker way. Fix the address and it goes away.

Do I need to fix every link in my posts?

Fix the ones that load content on the page, such as images and scripts. Plain links to other sites are not mixed content.

How long does it take to clear?

Once the addresses are fixed and the caches are cleared, the warning goes away at the next load.

More WordPress guides
Still need help?Our support team can look at your account and your case.
Open a support ticket

© 2026 Sulserv. All rights reserved.

Hosting. Domains. Support.System Status