
A website shows a “Not secure” warning when the browser cannot set up a private, encrypted connection with it. On most sites the cause is one of four things: no SSL/TLS certificate, an expired certificate, mixed content (some parts of the page still load over plain HTTP), or an HTTP address that is not redirected to HTTPS. All four can be fixed, usually within an hour, and the right fix depends on which one you have. This guide shows how to tell them apart and what to do about each.
It is written for small business owners, WordPress users and developers who run a site, and also for anyone who has simply landed on a page with the warning and wants to know what to do next.
TL;DR
- “Not secure” means the connection between the visitor and the site is not private, so data sent through it could be read or changed.
- The four usual causes are a missing certificate, an expired certificate, mixed content and a missing HTTP-to-HTTPS redirect.
- If the warning appears even though you installed a certificate, mixed content is the most likely culprit. The browser console names the exact file at fault.
- Visitors should never type a password or card number on a page showing the warning.
- In the UK, the ICO expects personal data on websites to be protected with HTTPS, so this is more than a cosmetic problem.
Table of Contents
- What “Not secure” actually means
- Why you should fix it quickly
- First, find out which cause you have
- Cause 1: No SSL certificate is installed
- Cause 2: The certificate has expired or is invalid
- Cause 3: Mixed content after installing SSL
- Cause 4: HTTP does not redirect to HTTPS
- What if the warning only appears for you?
- What to do if you visited a site that says Not secure
- How the right hosting prevents most of this
- Our view
- Find hosting with HTTPS built in
- FAQ
- Sources
What “Not secure” actually means
Google’s Chrome help page explains that “Not secure” means the site does not use a private connection, so someone may be able to view and change information sent through it. It also separates this from a full-page red “Dangerous” warning, which means Safe Browsing has flagged the site as unsafe and it could try to install harmful software. The two are different problems. “Not secure” is about the connection. “Dangerous” is about the site’s content.
To be clear about the terms:
- HTTP is the old, unencrypted way a browser talks to a website.
- HTTPS is the same thing wrapped in encryption. The padlock or “secure” icon appears when it works.
- An SSL/TLS certificate is the digital file, installed on your hosting, that proves your site is who it says it is and enables the encryption. Our SSL certificate glossary entry covers the basics. (SSL is the older name. TLS is the current protocol. Most people and most hosts still say SSL.)
The exact wording differs by browser. Apple lists four situations in which Safari shows a Not Secure or This Connection Is Not Secure message: the certificate is expired or not legitimate, the certificate is valid but the site uses an insecure TLS version (1.1 or earlier), an unencrypted page asks for a password or card details, or the site simply uses HTTP instead of HTTPS. Those four cases map neatly onto the causes below.
Why you should fix it quickly
There are three reasons, and the first is the most important.
It is a data protection matter. The ICO says that if you provide a website you should use HTTPS across all its pages, particularly to protect logins and payment details, and notes that some browsers warn users a site is insecure when it does not. Citing the National Cyber Security Centre, it adds that all websites should use HTTPS, even those without sign-in pages or card forms. A contact form on a brochure site already collects personal data.
It costs you visitors. A warning next to your domain name makes people hesitate, and anyone who knows what it means will leave before filling in an enquiry form. UK Government Security describes an unrenewed certificate as leading to warnings for visitors, unencrypted data and a loss of user trust and revenue.
It can recur. A fix that is not set up to renew itself will come back, usually at the worst moment. We cover that under the expired-certificate cause below.

First, find out which cause you have
Before changing anything, spend two minutes diagnosing. Work through these checks in order.
- Type your address with https:// in front. If the page loads with a padlock, you have a certificate and the problem is the redirect (cause 4). If you get a full-page certificate error, go to causes 1 or 2.
- Click the padlock or “Not secure” label next to the address. The site-information panel lets you view the certificate. UK Government Security notes the usual way to check validity is to open the padlock or site-information button, or to run the domain through an SSL checker to confirm the certificate and its chain of trust are valid.
- If https:// loads but the padlock is missing or marked with a warning, open the browser console (press F12, then choose the Console tab). Mixed-content errors name the exact insecure file.
- Check the date and time on your own device. An incorrect clock can make a valid certificate look invalid, which is worth ruling out if only your computer shows the warning.
| What you see | Most likely cause | Go to |
|---|---|---|
| “Not secure” on an http:// address, https:// fails entirely | No certificate installed | Cause 1 |
| Full-page “Your connection is not private” error | Expired or invalid certificate | Cause 2 |
| https:// works but the padlock is missing or struck through | Mixed content | Cause 3 |
| https:// works but the plain address still loads as http:// | No redirect | Cause 4 |
Cause 1: No SSL certificate is installed
This is the most common reason a site says “Not secure”, and the simplest. Without a certificate the site runs on HTTP, and current browsers label every HTTP page as not secure.
The fix
- Check your hosting control panel for an SSL or “Let’s Encrypt” section. Most hosting plans offer a free certificate that can be switched on there. Let’s Encrypt is a free, non-profit certificate authority (a body that issues certificates), and many control panels, including cPanel, install and renew its certificates automatically.
- Activate the certificate for both the bare domain (example.co.uk) and the www version.
- Wait a few minutes for it to issue, then load https://yourdomain.co.uk and look for the padlock.
- Move on to cause 4 so that visitors who type or follow the old http:// address land on the secure version.
Where it goes wrong. Some plans have the certificate switched off by default, or only issue it once your domain’s DNS (the records pointing the name at your hosting) is pointed correctly. If activation fails, the domain is usually still pointing at an old host. Choosing hosting where a certificate is included on the plan is the simplest way to avoid this stage entirely, and it is one of the points we look at when we compare providers (more on that below).
Cause 2: The certificate has expired or is invalid
Certificates have a limited life. Free certificates from Let’s Encrypt run on a 90-day cycle and rely on automatic renewal. When that renewal fails quietly, the certificate lapses and visitors see a full-page warning such as “Your connection is not private”.
Typical triggers
- Automatic renewal failed after a change to DNS, a firewall rule or a server setting.
- You moved hosts or migrated the site and the certificate did not come with it.
- A paid certificate reached the end of its term and nobody renewed it.
- A self-signed certificate (one you issued to yourself) was installed. Browsers do not trust these, so they always show a warning.
The fix. UK Government Security’s guidance is to contact the certificate authority, request a new valid certificate and install it. On a typical shared hosting plan this means opening the SSL section of the control panel, reissuing the certificate and confirming auto-renewal is on. Then put a reminder in your calendar a month before any paid certificate ends.
If you buy a certificate separately, its renewal price is a real running cost. Hosting renewal prices often differ sharply from the first-term price, which is why we built a renewal cost calculator to show what a plan costs after the introductory period.
Cause 3: Mixed content after installing SSL
This is the one that frustrates people most. You have a valid certificate, the address begins with https://, and the browser still withholds the padlock. The cause is that the page itself loads securely but something inside it, an image, script, stylesheet, font or embedded video, is still requested over http://.
Browser maker documentation is clear about the risk. MDN’s guidance says unencrypted data can be intercepted or modified in man-in-the-middle attacks, and that browsers now block active resources such as JavaScript loaded over HTTP on secure pages, which can break parts of a page as well as trigger warnings.
How to find the culprit
- Open the page, press F12 and select the Console tab. Each mixed-content message names the offending URL.
- Chrome’s developer documentation describes the Security panel, which lists non-secure origins and the resources behind them, and a Lighthouse audit that checks whether HTTP traffic is redirected to HTTPS.
- For a whole site rather than one page, use a free crawler that scans your pages for http:// links. Free scans typically stop at a few hundred pages, so larger sites need a paid or self-run crawler.
How to fix it on WordPress
- Go to Settings > General and make sure both the WordPress Address and Site Address begin with https://.
- Update old image and link URLs stored in the database. A search-and-replace plugin or WP-CLI command that swaps http://yourdomain for https://yourdomain handles this safely, as long as you take a backup first.
- Check your theme, page-builder blocks and widgets for hard-coded http:// links, including fonts, icons and tracking scripts. Replace third-party resources with their https:// versions.
- Clear your caching plugin and your browser cache, then reload and check the console again. Old cached pages are a common reason a fixed site appears still broken.
This often shows up right after a migration, because old content carries its original http:// links with it. If you are moving to faster WordPress hosting, our guide on diagnosing a slow WordPress site is a useful companion, since both problems frequently surface during the same clean-up.
A safety net, not a cure. The ICO’s guidance recommends the “upgrade-insecure-requests” Content Security Policy directive, which tells the browser to load all content, including third-party content, over HTTPS. It helps while you tidy up, but it does not replace correcting the source URLs, because a resource that does not exist over HTTPS will simply fail to load.
Cause 4: HTTP does not redirect to HTTPS
Even with a perfect certificate, anyone who types the plain address, follows an old link or clicks a search result indexed years ago may arrive on http://. Unless you tell the server to forward them, they see “Not secure”.
The ICO, citing the NCSC, recommends publishing services only over HTTPS and redirecting HTTP requests to HTTPS. Chrome’s documentation says the same fix applies when the main page was requested over HTTP: configure the server to redirect all HTTP requests to HTTPS.
How to set it up
- WordPress with a security or SSL plugin: enable the option that forces HTTPS site-wide. This is the easiest route for non-developers.
- Apache (.htaccess): add a permanent (301) redirect rule from http to https. Your hosting control panel may also have a “Force HTTPS” switch that does this for you.
- Nginx: add a server block listening on port 80 that returns a 301 to the https:// address.
Test by typing http://yourdomain.co.uk into a private browser window. You should land on the https:// version with the padlock, and the address should change automatically.
Going further: HSTS
Once the redirect works, HTTP Strict Transport Security (HSTS) tells browsers to use HTTPS for your domain on every visit. UK Government Security explains that without it a browser may connect over HTTP first, which allows downgrade attacks that intercept data, and the fix is a Strict-Transport-Security header on the server.
MDN suggests a max-age of at least six months, with longer periods such as two years recommended, and notes that submitting to the preload list needs includeSubDomains and a max-age of at least one year. Only switch HSTS on once you are sure every subdomain works over HTTPS, because browsers will remember the instruction and refuse plain HTTP for that period.
What if the warning only appears for you?
If colleagues and customers see a padlock but you do not, the problem is probably local:
- Check your computer’s date and time are correct and set automatically.
- Clear the browser cache and cookies, or try a private window.
- Try another browser or device, and a different network. Public wi-fi, some security software and corporate proxies can interfere with certificates.
If the warning persists on every device and network, the problem is on the site and one of the four causes above applies.
What to do if you visited a site that says Not secure
Opening a page marked “Not secure” does not in itself harm your device. The risk lies in what you type. Chrome’s help page says the warning means the connection is not private, and Apple advises never entering a password or card number on such a site. A few practical steps:
- If you only browsed, close the tab. Nothing more is needed.
- If you typed a password, change it on the real service straight away, and anywhere else you reused it.
- If you typed card or bank details, the NCSC’s scam guidance says to contact your bank and let them know.
- If it is a site you need to use, such as a small local business, tell the owner. Many do not know the warning is showing.
A red full-page “Dangerous” warning is a different case. Chrome says it means Safe Browsing has flagged the site as unsafe, so leave it rather than clicking through.
How the right hosting prevents most of this
Most “Not secure” problems come from the hosting setup rather than the website itself: a certificate that was never activated, auto-renewal that stopped after a move, or a plan that treats SSL as an extra. When you compare hosting, check these points:
- Is an SSL certificate included on the plan, and is it installed automatically?
- Does it renew automatically, and what happens to the certificate if you move the site?
- Is there a one-click force-HTTPS option in the control panel?
- What does the plan cost after the first term, including any certificate or add-on charges?
The last point matters because a low introductory price can hide a much higher renewal bill. Our comparisons set out price, renewal cost, performance and support side by side, so you can see this before you commit. If you run a WordPress site, our WordPress hosting comparison covers plans built around it. If you take payments, a secure checkout is not optional, and our ecommerce hosting guide covers WooCommerce and online store hosting.
Our view
We see the “Not secure” warning as a hosting-selection problem as much as a technical one. A certificate that is included, installed and renewed without anyone remembering to do it removes the most common causes in one go.
That is why our comparisons look beyond the headline price. We compare listed prices alongside renewal costs, performance and support, and we offer free tools such as the renewal cost calculator and reliability checks so that you can judge a plan on what it will cost and how it will behave over time, not just on the first invoice.
For small business owners, our advice is simple. Pick hosting where HTTPS is part of the plan, confirm the renewal price before you buy, and check your site in a private browser window after every migration or major plugin update.
Dylan
Find hosting with HTTPS built in
If your current host makes certificates awkward, or you are about to migrate, compare the options before you move. Our hosting comparison covers shared, VPS, dedicated, WordPress, managed WordPress, enterprise WordPress and WooCommerce hosting from UK-focused providers, with renewal costs shown alongside the sign-up price.

If you are also choosing a domain, you can compare registration and renewal prices on our domain price comparison. Our site earns a commission if you buy through some of our links, which does not change the price you pay.
FAQ
Why does my website say “Not secure” when I have an SSL certificate?
The most common reason is mixed content: the page loads over HTTPS, but an image, script, font or stylesheet is still requested over HTTP. Open the browser console with F12 and it will list the exact URLs. Other possibilities are an expired certificate, or a missing redirect so that visitors still arrive on the http:// version.
Is a “Not secure” website dangerous to visit?
The warning means the connection is not private, so information you send could be viewed or changed. It does not mean the site has infected your device. Do not enter passwords or card details on it. A red full-page “Dangerous” warning is more serious and means the site has been flagged as unsafe.
Does “Not secure” mean my website has been hacked?
Not usually. In most cases it means the site has no valid certificate or has mixed content. If you also see a “Dangerous” warning, unexpected pages or changed content, treat it as a possible compromise and contact your host straight away.
How do I make my website secure when it says “Not secure”?
Install a valid SSL certificate through your hosting control panel, switch your site address to https://, fix any http:// resources, and redirect all http:// traffic to https://. Then check the site in a private window. The steps above take you through each part in order.
Is HTTPS a legal requirement in the UK?
There is no single law that says “use HTTPS”, but the ICO’s UK GDPR guidance says there is no longer a compelling argument for not using HTTPS across all pages of a website. If your site handles personal information, such as contact forms or logins, you should treat it as the baseline.
Sources
- Check if a site’s connection is secure, Google Chrome Help
- If you see a Not Secure warning in Safari, Apple Support
- Encryption and data transfer, ICO
- Expiring certificate, UK Government Security
- HTTP Strict Transport Security (HSTS) not set, UK Government Security
- Transport Layer Security (TLS) configuration, MDN
- Security panel, Chrome DevTools
- Phishing scams: how to spot and report them, NCSC

