Website Not Secure? Why Browsers Show the Warning and How to Fix It
November 26, 2026
In short
If your website shows "Not secure", the browser can't confirm a valid encrypted HTTPS connection. The usual causes are a missing or expired SSL certificate, a site still loading over HTTP, or "mixed content" where some images or scripts load insecurely. Most cases can be fixed within a day by installing or renewing the certificate, forcing HTTPS and updating old HTTP links.
A website not secure warning means the browser can't confirm that the connection between your visitor and your site is properly encrypted. If a client or customer has mentioned it, or you've spotted it yourself next to your address bar, it's natural to worry that you've been hacked. Usually you haven't. It's one of the most common support requests I get, and in most cases it can be fixed the same day once you know which of a handful of causes is behind it.
In this guide I'll explain what the warning means, why it matters for your business, how to work out what's causing it, and the steps I follow to fix it and keep it from coming back.
What the "website not secure" warning actually means
Modern browsers expect every website to load over HTTPS, the encrypted version of HTTP. HTTPS relies on an SSL certificate (technically a TLS certificate today, but almost everyone still says SSL) installed on your hosting. The certificate proves the site belongs to your domain and lets the browser encrypt everything sent between your visitor and your server: form entries, logins, card details and even which pages they view.
When the browser can't set up that secure connection, or finds something on the page that breaks it, it flags the site. Depending on the browser and the cause, visitors may see:
- "Not secure" next to the address: the page is loading over plain HTTP, or parts of it are.
- A full-page warning such as "Your connection is not private": the certificate is expired, invalid or doesn't match the domain. This one blocks visitors until they click through, and most won't.
- A warning only on certain pages: usually mixed content, where a specific image, script or form on that page still loads over HTTP.
Why it matters for your business
Even if your site doesn't sell anything, the warning costs you. A visitor deciding whether to trust you sees the word "not secure" before they read a single line of your content. Contact form enquiries drop, and people are understandably reluctant to enter payment details. For online stores, a broken certificate can stop sales completely, and payment gateways generally require HTTPS anyway.
There's an SEO angle too. Google has used HTTPS as a ranking signal for years and its guidance on HTTPS and site moves assumes sites should be served securely. A full-page certificate error can also stop pages being crawled properly. Security isn't the only thing that affects rankings, but there's no good reason to give up this one.
The five most common causes
1. There's no SSL certificate installed
Older sites, or sites set up quickly on budget hosting, sometimes never had a certificate. The site works, but only over HTTP. This is the simplest case: install a certificate and redirect everything to HTTPS.
2. The certificate has expired
Certificates don't last forever, and lifetimes are getting shorter across the industry. Free certificates such as those from Let's Encrypt are designed to renew automatically, but auto-renewal can quietly fail if DNS changed, the domain moved to a different server, or a firewall blocks the validation check. Paid certificates bought for a year at a time expire if nobody remembers to renew and reinstall them.
3. The certificate doesn't match the domain
A certificate issued for example.com won't automatically cover www.example.com, a subdomain like shop.example.com, or a new domain you've moved to. I see this a lot after rebrands, domain changes and hosting migrations, where the site moved but the certificate didn't follow.
4. The site isn't forcing HTTPS
Sometimes the certificate is fine, but the site still answers on HTTP and nothing redirects visitors. Anyone who types your domain without "https" or clicks an old link lands on the insecure version. The fix is a site-wide permanent (301) redirect from HTTP to HTTPS.
5. Mixed content
This is the sneaky one. The page itself loads over HTTPS, but some of what's on it, such as an image, a font, a script, an embedded video or a form that submits to an HTTP address, still loads over HTTP. Browsers either block those items or downgrade the padlock. Mixed content is common on sites that switched to HTTPS years ago but still have old image URLs saved in the database, hard-coded links in the theme, or third-party embeds that were never updated. Mozilla has a clear explanation of how mixed content works if you want the technical detail.
How to find out why your website is not secure
You don't need technical tools to narrow it down. Here's the quick check I ask clients to do before we speak:
- Type your address with https at the start and see what happens. A full-page warning points to an expired, missing or mismatched certificate. A normal page means the certificate is probably fine.
- Click the icon to the left of the address (the padlock, warning triangle or settings icon). Most browsers will tell you whether the connection is secure and let you view the certificate, including its expiry date and the domains it covers.
- Try both versions of your domain, with and without "www". If one works and the other shows an error, the certificate doesn't cover both.
- Type the address with http at the start. If it stays on HTTP instead of switching to HTTPS, you're missing a redirect.
- Check several pages, especially the contact page, blog posts and any shop pages. If only some pages show the warning, mixed content on those pages is the likely culprit.
If you're comfortable with developer tools, open the browser console on an affected page. Mixed content warnings list the exact file loading over HTTP, which makes the fix much faster.
How I fix a website not secure warning
The exact steps depend on your hosting and platform, but this is the order I work in on most sites, whether they're on WordPress, WooCommerce, Shopify or custom code.
Step 1: Take a backup
Fixing HTTPS often involves search-and-replace in the database and changes to server configuration. If something goes wrong, you want a clean way back. If you don't have a reliable routine yet, my guide on how to back up your website covers what to keep and how to test a restore.
Step 2: Install or renew the certificate
Most reputable hosts include free certificates and let you issue one from the control panel in a few clicks. I make sure it covers both the bare domain and the www version, plus any subdomains the business actually uses. If auto-renewal failed, I find out why (often DNS pointing somewhere else, or a proxy service in front of the site) so it doesn't fail again in a few weeks. Hosted platforms like Shopify handle certificates for you, so there the issue is usually domain or DNS settings rather than the certificate itself.
Step 3: Force HTTPS everywhere
I add a site-wide 301 redirect from HTTP to HTTPS, and choose one preferred version (www or non-www) so there's a single canonical address. In WordPress, I also update the site address settings so the platform generates HTTPS links by default.
Step 4: Clean up mixed content
Old HTTP references are replaced with HTTPS ones across the database, theme files and settings. I'd rather fix the source than rely on a plugin that rewrites links on every page load, because that adds overhead and hides the problem instead of solving it. Third-party embeds that only work over HTTP get replaced or removed.
Step 5: Update everything that points to the old address
Once HTTPS is working, I update Google Search Console, analytics, the XML sitemap and the canonical tags so search engines see the secure version as the real one. If you're changing domains or hosts at the same time, the same care applies as in any redesign where you want to keep your SEO.
Step 6: Clear caches and test
Caching plugins, server caches and content delivery networks can keep serving the old insecure version for a while. I clear them all, then test the main page types on desktop and mobile, in more than one browser, and submit a test enquiry through the contact form.
How to stop it coming back
Most website not secure warnings I'm asked to fix are on sites that were fine a year ago. Something changed, and nobody was watching. A few habits prevent that:
- Monitor certificate expiry. Uptime monitoring tools can alert you before a certificate expires, not after customers notice.
- Treat DNS and hosting changes carefully. Moving the site, adding a CDN or switching email providers can all affect certificate renewal. Check HTTPS again after any change.
- Keep plugins and themes updated. Outdated components are a common source of both mixed content and genuine security problems.
- Add new content with HTTPS links. Copying an embed code or image URL from an old source can reintroduce mixed content without anyone noticing.
- Have someone responsible. If nobody owns the site's technical health, small issues like this sit unnoticed. That's a big part of what ongoing website support is for.
When the warning means something more serious
Occasionally the security warning isn't about certificates at all. If browsers show a red "deceptive site ahead" or "this site may harm your computer" page, Google has flagged your site for malware or phishing. That's a different problem and needs a proper clean-up, not just a certificate. Follow the steps in what to do if your WordPress site is hacked and act quickly, because those warnings stop almost all traffic.
Frequently asked questions
Is a website that says "not secure" dangerous to visit?
Usually it isn't dangerous just to read the page. The risk is that anything typed into it, like a password, message or card number, could be intercepted. That's why visitors are right to be cautious, and why you should fix it promptly.
Do I need to pay for an SSL certificate?
For most business websites, no. Free certificates provide the same encryption as paid ones and most good hosts include them. Paid certificates can make sense for organisations that need extended validation, specific warranties or certificates for unusual setups.
Why does my site show "not secure" on some pages but not others?
That's almost always mixed content. The pages with the warning contain at least one image, script, font or form that still loads over HTTP. Fixing those references removes the warning.
Will switching to HTTPS hurt my Google rankings?
Done properly, with 301 redirects, updated canonical tags and the HTTPS version added to Search Console, it shouldn't. There can be some short-term fluctuation while Google recrawls, but in my experience a clean move settles quickly.
How long does it take to fix?
A missing or expired certificate can often be sorted within an hour or two. Sites with lots of mixed content, custom code or a domain change take longer, but most are fully fixed within a day.
Need a hand?
If your website shows a not secure warning and you'd rather not dig into hosting panels and databases, I can diagnose and fix it for you, whatever platform you're on. You can also look at my WordPress technical support service for this and other urgent issues. Get in touch through the contact form with your website address and I'll tell you what's causing it.
