Seeing “Not Secure” beside your domain feels alarming, but it may not mean you were hacked. Learning how to fix not secure website warning comes down to a valid SSL certificate, HTTPS links everywhere, and clean redirects.
This guide is part of our wider look at website security, where you can find related protections for your site.
| Item | Value |
|---|---|
| Chrome version that asks before opening HTTP pages by default | Chrome 154 |
| How long Chrome remembers a visitor’s HTTP choice | 15 days |
| Core fixes for a “Not Secure” WordPress site | four key steps |
| Most common cause of the warning | Missing SSL certificate |
| Certificate cost from many certificate authorities | Free HTTPS certificates available |
These figures come from Chromium’s Ask-before-HTTP adoption guide and WPBeginner’s walkthrough. They can change, so check the source before you rely on them.
What the “Not Secure” warning actually means
According to GoDaddy’s explainer, any website will display a “Not Secure” label if it does not use a secure HTTPS connection. The label began as part of Google’s push to make the web safer and has since been widely adopted by other browsers.
The warning is about the connection, not necessarily about malware. GoDaddy notes that it may simply mean your website’s security isn’t up to modern standards, as described in the same guide.
If you want the basics first, our explainer on what is an ssl certificate covers how the certificate encrypts traffic between your site and your visitors.
Why your site shows the warning
WPBeginner says Google shows the label when a site doesn’t use HTTPS or when something is wrong with its certificate, per its guide to the warning. In practice, the cause is usually one of these:
- No SSL certificate. Without one, the browser assumes data typed into your pages could be intercepted, and WPBeginner calls this the most common reason.
- An expired or invalid certificate. The certificate is installed but lapsed or was set up incorrectly.
- Mixed content. The page is on HTTPS but still loads images or scripts over HTTP.
- HTTP addresses in WordPress settings. If the WordPress Address and Site Address still start with HTTP, warnings can continue even when SSL works.
DreamHost describes a related trap: a common issue after adding a certificate is that the browser still shows the site as insecure, as laid out in its insecure-site troubleshooting article. That is nearly always a leftover HTTP link rather than a failed certificate.
How to fix it, step by step
WPBeginner sums up the repair as four key steps: install an SSL certificate, update your WordPress URLs, fix mixed content, and redirect HTTP traffic to HTTPS (see its full tutorial). Work through them in this order:
- Turn on a valid certificate. Most WordPress hosting providers now offer free SSL certificates with their plans, according to WPBeginner, so start in your hosting dashboard. If you run your own server, Chromium’s guide says Apache, Nginx and Caddy have built-in support for obtaining certificates automatically through ACME, and you can read more in the Chromium documentation.
- Change your site addresses to HTTPS. In WordPress, open Settings, then General, and update both address fields.
- Replace HTTP links. Point images, scripts, stylesheets and outgoing links at their HTTPS versions.
- Redirect old addresses. Send every HTTP request to the matching HTTPS page so visitors and search engines land on the secure version.
- Retest. Reload in a private window and confirm the padlock appears on key pages.
Several of these steps rewrite URLs in files or your database, so take a fresh website backup before you start and you can undo any mistake.

Fixing mixed content after you add a certificate
Mixed content is the leading reason a padlock still looks broken once HTTPS is working. WPBeginner explains that a site can still display “Not Secure” if it loads content such as images or scripts over HTTP, in its mixed-content section.
DreamHost’s knowledge-base article offers a way to find and repair the offending links:
- Run a free checker such as Why No Padlock, which DreamHost names as a way to locate insecure links on your site.
- Edit the links by hand, using either full absolute links that begin with HTTPS or relative links that leave out the domain name.
- As a stopgap, add the Content-Security-Policy “upgrade-insecure-requests” header to your .htaccess file, which forces the browser to upgrade insecure links automatically.
On WordPress, old HTTP links also live in the database, so the same DreamHost article points to extra steps for making sure links are secure in both the website files and the database. A header fix hides the symptom, so still clean up the source links when you can.
What Chrome’s Ask-before-HTTP change means for your site
The Chromium team says Chrome will start asking for users’ permission before navigating to HTTP pages by default in Chrome 154. Details are in the Ask-before-HTTP adoption guide, and the rollout is a good reason to finish your migration rather than leave it.
The prompt appears when Chrome can’t connect over HTTPS but thinks HTTP might work. Chrome remembers a visitor’s choice for 15 days, according to that same guide, so regular visitors may see it only once.
Redirects are the sneaky part. Chromium says that if any redirect step on the way to your HTTPS page does not support HTTPS, Chrome will still show a warning, even after the visitor clicks through. Check your bare domain, your www version and any tracking or forwarding links, so that every hop in the chain is secure.
How can you check the warning is gone?
Open your home page, a blog post and a form page in a private window, then click the padlock area in the address bar. WPBeginner notes you can usually spot certificate trouble by clicking the padlock icon in your browser’s address bar, in its troubleshooting steps.
If a warning remains, open the browser console, which DreamHost says may show why a page is not loading securely. Chromium also suggests turning on Chrome’s “Always Use Secure Connections” setting to expose unexpected HTTP use, as noted in its testing advice.
Frequently asked questions
Does a “Not Secure” label mean my site was hacked?
Show answer
Not by itself. The label usually points to a missing or faulty HTTPS setup, so check your certificate and links before you assume a breach.
Do I have to pay for an SSL certificate?
Show answer
Often you don’t. Many certificate authorities hand out free HTTPS certificates, as Chromium’s guide points out, and many hosts switch one on from the dashboard.
I installed a certificate but still see the warning. Why?
Show answer
Look for a page element that still loads over HTTP, such as an image or script, or for old HTTP addresses saved in your WordPress settings. DreamHost’s troubleshooting article walks through finding and replacing those links.
Do browsers other than Chrome show the warning?
Show answer
Yes. GoDaddy says the practice began with Google but is now widely adopted by other browsers, so fixing HTTPS helps visitors whichever browser they use. You can read the details in GoDaddy’s guide.



