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
On this page
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 see | Likely cause | First move |
|---|---|---|
| Padlock missing, page loads normally | Mixed content | Read console warnings |
| Full-page browser warning | Expired, wrong or untrusted certificate | Fix the certificate first |
Warning on www only | Certificate misses the www name | Reissue to cover both names |
| Redirect loop after forcing HTTPS | HTTPS forced in several places | Keep a single rule |
| Only checkout looks insecure | Insecure script on the payment page | Treat as urgent |
What causes it?
In posts, widgets, theme options and page-builder data.
WordPress Address and Site Address still set to http://.
In a theme or plugin template.
Loaded from an insecure source.
Post a project05CDN or proxyServing some assets over HTTP.
SSL setup and fixWhat safe steps should I try?
Back up the files and database first.
- Read the console
Open the page with the developer console and note each mixed content URL.
- Check the addresses
In Settings, then General, both addresses must begin with
https://. If you cannot save, they may be defined inwp-config.php. - Check the certificate
In the padlock details look at expiry and the names covered, including
www. - Update stored URLs
Preview first, then run for real (see below).
- Fix theme and plugin settings
Logo, background images and page-builder assets, then regenerate CSS caches.
- Choose one place to force HTTPS
The host's setting or one redirect rule, not several.
- 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-runIf the counts look right, run it again without --dry-run. WP-CLI handles serialised data correctly.
Without SSH, correct the two addresses in Settings, then General. Re-save the logo, background and widget settings, then use your page builder's option to regenerate CSS.
A rewriting plugin can hide the symptom while you work. Remove it once the stored URLs are fixed, so it is not a permanent dependency.
How do I sort the console warnings?
| Warning type | Where it hides | Fix |
|---|---|---|
| Image in a post | Post content | Stored-URL fix |
| Logo or background | Theme settings | Re-save the setting |
| Script or style from a plugin | Plugin settings | Update or reconfigure the plugin |
| Third-party embed | Pasted embed code | Use the HTTPS version |
| Builder asset | Generated CSS | Regenerate 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,
wwwincluded - [ ] 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.
An engineer can find the last insecure URL.
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 answerHow 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 answerCan 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 answerWhy 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 answerWill 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 answerIs 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 answerWhy 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 answerShould 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 answerCan 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 answerDo 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 answerHow 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 answerWant an engineer on it?
Tell us what is wrong in plain words. A person reads it, today.