WebsiteTrouble.com Logo

WebsiteTrouble Blog · Website Errors

Why Your Site Says Not Secure, and How to Fix It for Good

No certificate, an expired certificate, and mixed content are three different problems with three different fixes. Here is how to tell which one you have.

Your site loads fine. The pages are all there. But up in the address bar, right next to your web address, the browser says "Not Secure," and some visitors see a full warning page before they ever reach you. Here is the part most explanations skip: that warning has three separate causes, they look alike, and each one has a different fix.

What the Padlock Is About

Quick background, in plain terms. A site with HTTPS encrypts the connection between your visitor and your site, so passwords, forms and card details travel privately. The padlock means that encryption is on. "Not Secure" means it is off, or partly off. Browsers have gotten louder about this every year, and visitors have learned to back away when they see it. So has Google, which treats HTTPS as a baseline expectation now, not a bonus.

Cause One: There Is No SSL Certificate

HTTPS needs an SSL certificate, a small digital ID that your hosting installs on the server. Plenty of older sites never got one, and some hosts still do not add it automatically. Without a certificate, your site can only serve the plain HTTP version, and every visitor sees Not Secure on every page.

The fix is to get a certificate installed. Most hosts offer a free one and many can turn it on in a few clicks, and then the site address needs to be switched over to HTTPS properly so old links and bookmarks land in the right place.

Cause Two: The Certificate Expired

Certificates have expiry dates. The free ones typically renew on their own, but renewals fail more often than people think, a changed server setting, a lapsed hosting add-on, a renewal email that went to an old inbox. When a certificate lapses, browsers do not just show a quiet Not Secure note. Many visitors get a full-screen warning that the connection is not private, and most of them leave.

This one is its own emergency for a simple reason: the site works perfectly for you in your office if your browser cached things kindly, while brand new visitors get turned away at the door.

Cause Three: Mixed Content

This is the sneaky one. Your page loads over HTTPS, so the padlock starts out fine, but somewhere in the page an image, a script or a stylesheet is still being pulled from an old HTTP address. The browser spots the insecure piece, downgrades the whole page to Not Secure, and sometimes blocks the piece entirely, which is how you get missing images and broken layouts on an otherwise healthy page.

Mixed content usually shows up after a site moves to HTTPS and a few hard-coded old links survive in the theme, a widget, or an old post. The fix is finding every one of those stragglers and updating it, then checking page by page, because a clean homepage proves nothing about the rest of the site.

The Connection to Redirect Problems

Fixing the Not Secure warning often means forcing every visit over to HTTPS, and forcing it badly is how sites end up in the loop I wrote about in too many redirects. The two problems travel together, so a proper HTTPS fix includes checking that visitors land once, cleanly, on the secure version. My hub post on website error messages in plain English puts this warning in context with the numbered errors, and my website error help page covers how I approach it on a real site.

This is a fix I do live on a screen share all the time. You watch the certificate get sorted, the last mixed content stragglers get hunted down, and the padlock appear in your own browser, so you can check the result yourself before we hang up.

Rather have it fixed today?

This is the kind of problem I fix live on a screen share, while you watch. A standard fix is $99 for the first hour, same-day emergency help is $299 for the first hour, and every fix carries a 30-day warranty.