Launch in 1 to 2 Weeks

Free Support for 1 Month

Custom & Modern Designs

Enterprise-Grade Security

100% SEO-Optimised

Built to Convert Leads

Home › WordPress Fixes › WordPress SSL Mixed Content

4.8/5 Rated on Google

WordPress SSL Mixed Content Fix: Bring Back the Padlock

Mixed content means your page loads over secure https but still pulls some images, scripts or styles from insecure http addresses, so browsers show a Not secure warning or hide the padlock. The wordpress ssl mixed content fix is to find those http links and change them to https, in the database, theme and plugin settings.

Featured & Listed In :

What mixed content is, in plain terms

An SSL certificate lets your site load over https. But a page is only fully secure if everything on it also loads over https. If a single image, font, script or stylesheet is still requested from an http address, the browser calls that mixed content. Passive mixed content such as an image usually gives a warning and a missing padlock. Active mixed content such as a script is often blocked outright, which can break menus, forms, sliders and checkout.

It typically appears right after moving to https or moving host, because the database still holds thousands of old http addresses. Our migration guide and hosting move guide explain how to avoid it in the first place. The fixes hub has other faults.

garnetservices scaled
Divine Care Services scaled

How to confirm it and see what is insecure

Do not guess. Find the exact files:

  • Click the padlock or the Not secure label in the browser address bar to see the connection status
  • Open browser developer tools, Console, and look for messages saying that a page was loaded over https but requested an insecure resource
  • Check the Network tab and filter by http to list every insecure request
  • Use a free online scanner to crawl your pages for http resources
  • Check several page types, since a hard coded http link in a footer widget or custom block may appear only on some pages
  • View the page source and search for http:// to see where addresses come from

Want to talk it through?

Book a free 15 minute website audit, or call or message us on WhatsApp. Fixed quotes, no obligation.

Safe fixes, in the right order

Take a full backup of files and database before you change anything, because changes to the database are hard to undo without one.

  • Confirm WordPress Address and Site Address in Settings, General both start with https. If you cannot edit them there, they may be fixed in wp-config.php, so take care before editing.
  • Make sure the certificate is valid and covers both the plain and www versions of your domain, and set one preferred version.
  • Replace old http URLs in the database using a search and replace tool that handles serialised data. Run a dry run first if the tool offers one. Never run a plain SQL replace, which can corrupt widgets, theme options and page builder data.
  • Regenerate page builder files after the replace. In Elementor, use Tools, Regenerate CSS and Data, then clear all caches.
  • Fix hard coded http links in theme files, custom CSS, widgets and menus. Use a child theme for theme file changes.
  • Add a permanent redirect from http to https, either through the host setting or the server configuration, and avoid redirect loops.

Be wary of plugins that rewrite http to https on the fly as a permanent solution. They hide the problem rather than fixing the stored addresses, and can add delay.

modern browser mockup scaled
notebook mockup on desk scaled

Problems that keep mixed content alive

Even after the database is clean, a few sources linger. Content delivery networks may have the old http address cached or configured as the origin. Fonts and icons loaded from third party sources sometimes use hard coded http. Contact form embeds, maps, video embeds and old widget code may point to http. Plugins can store their own URLs in custom tables the standard search skips.

If your shop is affected, mixed content on the checkout page can stop payment scripts loading, so the symptoms look like a payment fault. See our checkout not working guide. Page builder layouts that load stale files after a move are covered in Elementor not loading.

When to stop and ask for help

Stop if you are about to run a database replace on a shop or membership site without a tested backup, if redirects have become a loop that locks you out of admin, if the certificate itself will not issue, or if you see an invalid certificate error rather than mixed content, which is a different problem. In those cases a clear head and the right tools are worth more than speed.

Pearl Consultancy scaled
Lifti App scaled

How we resolve it

We begin with a free 15 minute audit and a fixed quote after a quick look. We back up, crawl the site to list every insecure request, run a careful serialisation aware replace on a copy first, repair theme and plugin settings, fix redirects, and verify across desktop and mobile with the console clear. We do not provide hosting, but we can work with your host to get certificates and redirects right.

Ongoing, our support and maintenance plans start from £99 a month with no lock in contract. For this alone, hire a WordPress expert.

Keeping https clean

Use https from the start of any project, enter new media through the media library rather than pasting old links, and recheck after migrations and theme changes. Renew certificates in good time, or let your host auto renew and check that it has. A rebuilt site starts clean, and our cost calculator shows a quick figure, with sites from £499. Book the free 15 minute audit, or contact us and we will check your padlock for you.

Related: Hosting move · WordPress migration · WooCommerce checkout · Elementor not loading · WordPress Fixes · Hire a WordPress expert · WordPress maintenance London · WordPress support and maintenance

rehovotservices scaled

Ready for a quote you can trust?

Book a free 15 minute website audit, or call or message us on WhatsApp. Fixed quotes, no obligation.

Answers to Your Common Questions

Is mixed content dangerous?

It weakens the protection https gives. An attacker on the network could alter an insecure script or image. Browsers warn visitors or block those resources, which hurts trust and can break features, so it is worth fixing promptly.

Can a plugin fix mixed content for me?

Some plugins rewrite http to https as pages load. They can help temporarily, but the stored addresses stay wrong, and they may add delay. A proper fix replaces the stored URLs and corrects the source of each insecure link.

Why does the padlock disappear on only some pages?

Those pages contain at least one http resource, often in a widget, embed or custom block that appears only there. Check each page type with the browser console and the Network tab filtered for http.

Is it safe to run a search and replace on my database?

Only with a tool that understands serialised data, and only after a full backup. A dry run first is wise. A plain SQL replace can break settings and builder layouts, which is why many problems begin there.

Does mixed content affect SEO?

It can indirectly. Google prefers secure pages, and visitors who see warnings leave. Fixing it supports trust and conversions. Redirecting http to https properly also avoids duplicate versions of your pages.

How long does the fix take?

A simple site is often sorted in an hour or two. Shops and sites with builders and many plugins take longer because of careful testing. We give a fixed quote after a quick look.

Get your free 15 minute website audit

Tell us about your project and we will reply within one working day with honest advice and a fixed quote. Prefer to talk? Call +44 7868 697974.