Skip to content

KeNIC-accredited .KE registrar

Security · How-to

How to fix “Not secure” warnings on your website

Why browsers show “Not secure” or privacy warnings on your site, and five steps to fix them: SSL, HTTPS redirects, mixed content, HSTS and updating Google.

By John KariukiPublished Updated 5 min read

Keyboard keys spelling HTTP on a pink background

The short answer

  • Chrome has marked all HTTP pages “Not secure” since July 2018.
  • Install a valid SSL certificate (free AutoSSL or Let’s Encrypt works).
  • 301-redirect HTTP to HTTPS and fix mixed content (http:// images and scripts).
  • Keep automatic renewal working: certificate lifetimes are getting shorter.

A “Not secure” label next to your website address makes visitors hesitate, especially before they fill in a form or pay. Chrome has marked every plain-HTTP page as not secure since Chrome 68 in July 2018. The fix is usually quick: a valid SSL certificate, an HTTPS redirect, and cleaning up mixed content.

Why your site shows “Not secure”

CauseWhat you’ll see
No SSL certificate, or the site still loads on http://“Not secure” on every page
Expired or wrong certificateFull-page warning: “Your connection is not private”
Mixed content (some images or scripts on http://)Padlock missing or warning on some pages; blocked scripts
Forms posting to http:// addressesWarnings when typing into forms

How to fix it, step by step

1. Install a valid SSL certificate

On cPanel hosting, open SSL/TLS Status and run AutoSSL for your domain and www version. Free certificates from Let’s Encrypt or your host are trusted by all browsers (see free SSL certificates).

2. Redirect HTTP to HTTPS

Set a permanent (301) redirect so every http:// address goes to https://. On WordPress, also set both URLs in Settings → General to https://.

3. Fix mixed content

Mixed content is when a secure page loads images, scripts or styles over insecure http://. Browsers upgrade or block it, which can break layouts or features. Find it with your browser’s developer console (look for “Mixed Content” messages), then update the links: run a search-and-replace from http://yourdomain to https://yourdomain in the database (back up first), and check theme settings, widgets and page builders.

Keyboard tiles spelling HTTP seen from above
Every page, image and script should load over HTTPS.

4. Consider HSTS

Once everything works over HTTPS, the HSTS header tells browsers to always use HTTPS for your site. Test carefully first: it’s hard to undo.

5. Update Google and your links

Make sure Search Console has the https:// property, your sitemap uses https:// URLs, and social profiles and Google Business Profile link to the https:// address.

If the certificate keeps expiring

Certificates are getting shorter. Let’s Encrypt is moving from 90-day to 45-day certificates by 2028, so automatic renewal is essential. AutoSSL renews automatically if the domain points correctly to your hosting; if renewal fails, check DNS and that nothing blocks the validation.

Checklist

  • Valid certificate for both yourdomain and www.yourdomain.
  • 301 redirect from HTTP to HTTPS.
  • No mixed content warnings in the browser console.
  • WordPress and sitemap URLs use https://.
  • Automatic renewal working.

All our hosting plans include free SSL. If warnings appeared suddenly with redirects to strange sites, see why websites get hacked.

Frequently asked questions

Why does my website say “Not secure”?

Usually because it loads over HTTP without a valid SSL certificate, or because some content loads over http://.

Is a free SSL certificate enough?

Yes, for most websites. Free certificates provide the same encryption and are trusted by browsers.

What is mixed content?

When a secure HTTPS page loads images, scripts or styles over insecure HTTP.

Will HTTPS affect my SEO?

Moving to HTTPS with proper 301 redirects is normal and recommended; update your sitemap and Search Console property.

Sources

Facts checked on 4 November 2026. Prices and rules change; confirm current details with the provider or regulator.

About the author. John Kariuki is the founder of Kenya Website Designers in Nairobi. He builds business websites, online stores with M-Pesa payments and custom web systems, and manages domains and hosting for Kenyan businesses.

Free quote

Get your padlock back

Send us your website address. We reply within 24 hours.