Skip to content
Fix Library

Mixed content and missing SSL padlock: fix

Padlock missing or 'Not secure' on WordPress? Find mixed content, fix addresses and force HTTPS safely. Call (804) 375-4450 for help.

At a glance

A missing padlock on an HTTPS WordPress site is almost always mixed content: the page is secure but some images, scripts or styles still load over HTTP. This guide shows how to find the insecure items in the browser console, fix the stored URLs and the two address settings, and force HTTPS in one place only.

Updated November 29, 2026 · For WordPress site owners seeing Not secure or a missing padlock

  • For WordPress owners whose HTTPS site shows Not secure or no padlock
  • Usual cause old http:// URLs stored in content, settings or page builders
  • Tools browser developer console, Settings then General, WP-CLI search-replace
  • Safety back up first and dry-run any database replace
  • Emergency help engineer reply inside 15 minutes with service credits
  • Pricing Emergency Rescue is pay-only-if-fixed
  • Start call (804) 375-4450 or post a project

A missing padlock on an HTTPS WordPress site almost always means mixed content: some images, scripts or styles still load over HTTP. Fix the stored URLs to HTTPS, check the two address settings, and force HTTPS in one place only.

What does this error mean?

The certificate may be fine. The page itself is secure, but one or more resources inside it are not, so the browser shows "Not secure" or a warning icon. A real certificate problem looks different: a full-page warning.

Is it mixed content or a certificate problem?

What you seeLikely causeFirst move
Padlock missing, page loads normallyMixed contentRead console warnings
Full-page browser warningExpired, wrong or untrusted certificateFix the certificate first
Warning on www onlyCertificate misses the www nameReissue to cover both names
Redirect loop after forcing HTTPSHTTPS forced in several placesKeep a single rule
Only checkout looks insecureInsecure script on the payment pageTreat as urgent
A certificate that is valid but covered by insecure resources

What causes it?

01Stored `http://` URLs

In posts, widgets, theme options and page-builder data.

02Address settings

WordPress Address and Site Address still set to http://.

03Hard-coded links

In a theme or plugin template.

04External resources

Loaded from an insecure source.

Post a project
05CDN or proxy

Serving some assets over HTTP.

SSL setup and fix

What safe steps should I try?

Back up the files and database first.

  1. Read the console

    Open the page with the developer console and note each mixed content URL.

  2. Check the addresses

    In Settings, then General, both addresses must begin with https://. If you cannot save, they may be defined in wp-config.php.

  3. Check the certificate

    In the padlock details look at expiry and the names covered, including www.

  4. Update stored URLs

    Preview first, then run for real (see below).

  5. Fix theme and plugin settings

    Logo, background images and page-builder assets, then regenerate CSS caches.

  6. Choose one place to force HTTPS

    The host's setting or one redirect rule, not several.

  7. Purge caches

    including the CDN, and re-check the console.

How do I update stored URLs?

With SSH access, preview first:

wp search-replace 'http://example.com' 'https://example.com' --dry-run

If the counts look right, run it again without --dry-run. WP-CLI handles serialised data correctly.

How do I sort the console warnings?

Warning typeWhere it hidesFix
Image in a postPost contentStored-URL fix
Logo or backgroundTheme settingsRe-save the setting
Script or style from a pluginPlugin settingsUpdate or reconfigure the plugin
Third-party embedPasted embed codeUse the HTTPS version
Builder assetGenerated CSSRegenerate CSS

Worked example: one stubborn image

Imagine a site where the console reports a single insecure item, a hero image, after everything else has been fixed. The theme customiser stores the image URL in its own settings, and a page builder stores a copy in its generated CSS file. The fix is to re-save the image in the theme setting, then regenerate the builder's CSS so the old http:// link is not served from a cached stylesheet. Mixed content hides in places a content search does not reach.

What should I check after the fix?

  • [ ] Both addresses in Settings, then General, start with https://
  • [ ] The certificate is valid for the exact hostname, www included
  • [ ] The console shows no mixed content on the home page, a post, a page and checkout
  • [ ] Only one place forces HTTPS
  • [ ] Caches and the CDN were purged
  • [ ] The sitemap and canonical tags use https://
  • [ ] The HTTP version redirects to HTTPS once, not through a chain

How do we fix it?

Our SSL setup and fix service installs or renews the certificate, corrects stored URLs and sets one clean redirect. If a store is affected, we pair it with the WooCommerce checkout fix. Emergency support responds within 15 minutes with service credits, and Emergency Rescue is pay-only-if-fixed.

Padlock still missing?

An engineer can find the last insecure URL.

FAQ

Questions people ask

11 answers. Can't find yours? Ask an engineer.

What is mixed content?

An HTTPS page that still loads images, scripts or styles over plain HTTP. Browsers may block them or drop the padlock, even though the certificate itself is valid.

Link to this answer
How do I find the insecure items?

Open the browser developer console on the page. Mixed content warnings list each insecure URL, so you can group them into post content, theme settings, plugin assets and third-party embeds and fix each group.

Link to this answer
Can I fix it with a plugin?

Plugins can rewrite URLs on the fly, but fixing the stored URLs is cleaner and faster. Treat a rewriting plugin as a stopgap, not the permanent answer.

Link to this answer
Why do I get too many redirects after forcing HTTPS?

HTTPS is often being forced in more than one place, such as the host, a plugin, .htaccess and a CDN, and the rules loop. Keep one rule and set the CDN to connect to your server over HTTPS.

Link to this answer
Will fixing mixed content affect my search rankings?

It does not by itself raise rankings, but a single clean HTTPS version, with matching canonical tags and sitemap, avoids duplicate and insecure URLs.

Link to this answer
Is a missing padlock a certificate problem?

Not usually. If the certificate is valid, unexpired and covers your exact hostname, the cause is mixed content. A full-page browser warning before the site loads is a certificate problem instead.

Link to this answer
Why does one image still show insecure after I fixed everything?

Themes and page builders often store the old URL in their own settings or in a generated CSS file. Re-save the setting, regenerate the builder's CSS and purge caches, then reload with the console open.

Link to this answer
Should I run a database search and replace?

Only with a backup and a dry run first. WP-CLI search-replace handles serialised data correctly, while a plain SQL replace can corrupt it. Check the counts before running it for real.

Link to this answer
Can mixed content break my checkout?

Yes. Browsers can block insecure scripts, which may stop a payment form or slider loading. If checkout is affected, treat it as urgent and call the help desk.

Link to this answer
Do I need to fix both www and non-www?

Yes. Both versions of the domain must resolve securely and redirect once to your preferred version. A certificate that misses the www name leaves visitors on a warning page.

Link to this answer
How long does it take to fix?

A single stubborn URL can take minutes. A site with page-builder content, a CDN and several redirect layers takes longer to untangle. We diagnose first and tell you what we found before changing anything.

Link to this answer

Want an engineer on it?

Tell us what is wrong in plain words. A person reads it, today.