WordPress Not Secure After SSL: Fix Mixed Content

WordPress still not secure after SSL? Scan your page for http links with our free tool, then fix settings, old post links and theme files to get the padlock.

Share this post
7 min read

Last updated December 2, 2026

You installed an SSL certificate, but the browser still shows “Not secure” or no padlock. Some pages may even look broken.

This is mixed content. The page loads over https, but some images, styles or scripts still load over plain http.

This guide finds every http link with a free scanner, then fixes each one where it lives.

Key Takeaways

  • Mixed content means http files on an https page.
  • Browsers now upgrade http images, audio and video, but block http scripts, styles and fonts, MDN says.
  • Set both WordPress addresses in Settings, General to https first.
  • Replace old links in the database with a search and replace tool, after a dry run and a backup.
  • Clear plugin, server and browser caches after every change.
Back up first. Database replacements touch every post. Take a full backup before you run one.

Scan Your Page for http Links

Paste your page source into the scanner. It lists each http link and whether browsers block it.

Mixed content scanner

Open your page, right-click and choose View page source. Select all, copy and paste it here. The scan runs in your browser only.

Results appear here.

Digieh tool. Nothing is uploaded. Groups follow MDN, read December 2, 2026. Normal page links are skipped.

Editor’s Note

This guide is accurate as of Digieh check. MDN says browsers upgrade http images by themselves now, but block http stylesheets and fonts. A missing padlock with a broken layout is often a stylesheet or font, not an image.

Spot an error in this article? Please contact us at support@digieh.com or read our Corrections Policy.

Find Your Fix

Use what the scan showed to pick the right fix.

Mixed content fix finder

Answer two questions. The finder points to where the http links live. It runs in your browser only.

Digieh tool. Based on MDN and WordPress docs, read December 2, 2026.

What Do Browsers Do With Mixed Content?

Content typeBrowser behaviorExample
Images, audio, videoUpgraded to https automaticallyimg, video, audio files
ScriptsBlockedscript files
StylesheetsBlockedtheme or plugin style files
Iframes and embedsBlockedmaps, video players
Web fontsBlockedfont files in style rules

Source: MDN Web Docs, Mixed content, read December 2, 2026.

1 setting firstSet WordPress Address and Site Address to https before anything else. Many links follow those two values.

How Do You Update the Site Addresses?

  1. Go to Settings, General.
  2. Change WordPress Address and Site Address from http to https.
  3. Save. You will be logged out, so log in again.
  4. Reload your homepage and check the padlock.

If saving logs you out in a loop, see our WordPress too many redirects guide for the wp-config.php method.

WordPress’s HTTPS documentation also describes FORCE_SSL_ADMIN. It forces logins and the dashboard over https once your certificate works.

Free updates

Join the Digieh list

Be the first to know when our weekly brief launches.

No spam. Unsubscribe anytime. Read our Privacy Policy.

How Do You Replace Old Links in the Database?

Posts written before the move still contain http links. A search and replace updates them all at once.

WordPress’s command line tool has an official search-replace command. Its dry run option shows a report without saving anything:

wp search-replace 'http://example.com' 'https://example.com' --skip-columns=guid --dry-run
  1. Take a full backup.
  2. Run the command with the dry run option and read the report.
  3. Run it again without the dry run option to save the changes.
  4. Clear all caches and scan your page again.

WordPress says the command handles serialized data safely. A plain text find and replace in the database can break it.

No command line on your host? Many backup and migration plugins include a safe search and replace with a preview step.

Where were your http links coming from?

  • Old post images
  • Theme or plugin files
  • Embeds from other sites
  • Site address settings
  • Not sure

What If a Plugin or Theme Adds http Links?

Some older themes and plugins write http into their code. Updating usually fixes it.

  • Update all themes and plugins.
  • Look at the scanner result for the folder name, such as wp-content, themes or plugins.
  • Contact the developer if the newest version still uses http.
  • Replace abandoned plugins that are no longer updated.

Page builders sometimes store their own copies of links. Many have a replace address tool in their settings.

Should Every Link on the Site Use https?

Yes, for your own site. Internal links, images and files should all use https once your certificate works.

Links to other websites are less urgent. Normal links that visitors click are not mixed content, so the scanner skips them.

Still, update outbound links to https where the other site supports it. Visitors then stay on secure pages.

  • Menus: open Appearance, Menus or the Site Editor and fix custom links.
  • Widgets and footers: check any text or image blocks with full addresses.
  • Redirect plugins: update old rules that still point to http.

Can You Fix Mixed Content Without a Plugin?

Yes. Most sites only need the steps above: correct addresses, a database replace and updated themes and plugins.

Plugins that rewrite links on every page load work, but they add work to each visit. Treat them as a short term patch.

A server header called upgrade-insecure-requests tells browsers to upgrade all requests. MDN lists it as an option, but fixing the links is still the clean solution.

How Do You Find Mixed Content With Browser Tools?

Every modern browser reports mixed content in its developer tools. This works even on pages the scanner cannot read.

  1. Open the page in Chrome, Edge or Firefox.
  2. Press F12 and open the Console tab.
  3. Reload the page and look for messages about mixed content.
  4. Each message names the http file that was blocked or upgraded.

The Security panel in Chrome and Edge also shows whether the page is fully secure. It is a quick check after each fix.

What If Your Certificate Itself Is the Problem?

Not every “Not secure” warning is mixed content. The certificate may be missing, expired or issued for the wrong name.

  • Click the icon left of the address and view the certificate details.
  • Check that it covers both www and the bare domain.
  • Check the expiry date. Free certificates renew every few months.
  • Ask your host to reissue it if the details are wrong.

A certificate error shows a full warning page before the site loads. Mixed content shows the site, but without a clean padlock.

Also make sure your site works over Ethernet and Wi-Fi with no network errors first. Our DNS server not responding guide helps if pages will not load at all.

Why Does the Padlock Still Not Show?

  • Your cache still serves the old page. Clear plugin, server and browser caches.
  • An external embed still uses http.
  • The certificate does not cover www or your bare domain.
  • A content delivery network caches old files. Purge it too.

Open the page in a private window after clearing caches. Then scan the source again.

Images loading slowly after the move? Our free image compressor can shrink them before you upload new copies.

Try this today. Scan your homepage and your newest post. Most sites find their problem links in those two pages.

Test Yourself

What do browsers do with an http stylesheet on an https page?

  1. Block it
  2. Upgrade it silently
  3. Show it twice

MDN lists stylesheets as blockable mixed content, so browsers block them.

What does the dry run option of search-replace do?

  1. Shows a report without saving changes
  2. Deletes old posts
  3. Changes the theme

WordPress docs say the dry run runs the whole operation and shows a report, but does not save.

Frequently Asked Questions

Does mixed content hurt my site?

Yes. Blocked files can break layouts, and the warning reduces visitor trust.

Is changing site addresses enough?

Often not. Old links inside posts and theme files also need updating.

Will search and replace break my site?

Not if you use a tool that handles serialized data, after a backup and a dry run.

Why do images work but the page looks broken?

Browsers upgrade images but block http stylesheets, so styles go missing.

Do I need a paid tool to fix this?

No. Settings, a free search and replace tool and updates fix most sites.

Conclusion

Scan your page to list every http link. Set both site addresses to https. Replace old links in the database after a backup and a dry run, and update themes and plugins. Then clear every cache and scan again until the padlock shows.

Editor’s Note

This guide is accurate as of December 2, 2026. We checked MDN Web Docs and WordPress developer documentation on HTTPS and search-replace on that date.

Spot an error in this article? Please contact us at support@digieh.com or read our Corrections Policy.

Keep exploring

Your next read is waiting

Found this useful?

Share this post
Avatar photo

Syed Wasif Raza

Syed Wasif Raza is the founder and editor of Digieh. He writes about health, food, lifestyle, news and sports in plain, easy English. Every guide he publishes is checked against official sources such as government and health agency pages. Connect with him on LinkedIn.

Articles: 932

Leave a Reply

Your email address will not be published. Required fields are marked *