Vernon Web Design

Articles · Small business websites

How to fix a Not secure warning on your website

Published · Updated

A Not secure warning means the browser does not trust the connection to your website. The cause is one of three things: no SSL certificate, an expired certificate, or a page that loads some files over plain HTTP. Each one has a fix, and most take less than an hour.

Customers who see the warning often leave. It also appears next to your contact form, which makes people think twice about sending their details.

Find out which problem you have

Open a private browser window. Type your address with https:// at the front. For example: https://yourdomain.com

You will see one of three results.

A full-page warning. The page says something like “Your connection is not private.” The certificate is expired, or it was issued for a different domain name. Go to the first fix below.

The site loads, but the address bar says Not secure when you use http://. The certificate works. Visitors who type the plain address land on the old version. Go to the second fix.

The site loads on https://, but the padlock is missing or shows a warning. A page is loading images or scripts over HTTP. This is called mixed content. Go to the third fix.

To see when a certificate expires, click the icon at the left of the address bar. Open the connection details and look for the certificate information. The expiry date is listed there.

Fix 1: Install or renew the SSL certificate

An SSL certificate is a small file on your web host. It lets the browser set up an encrypted connection to your site. Without a valid one, the browser shows a warning.

Log in to your hosting account. Look for a section named SSL, TLS, or Security. Many hosts offer a free certificate and renew it on their own schedule. Turn it on if it is off.

If the certificate expired, the automatic renewal likely failed. A common reason is that the domain no longer points to the host. This happens after a site move or a DNS change. Check that your domain’s DNS records match what your host gives you. If you do not know where your domain is managed, read how to find out who owns your business domain name.

If the host cannot renew the certificate, open a support ticket. Tell them the domain name and the exact warning text. Support can usually reissue it.

A certificate bought elsewhere must be renewed by hand. Check the expiry date and the email address on the account. Renewal reminders often go to an old address.

Fix 2: Send every visitor to the https version

A working certificate does not force anyone to use it. Old links, bookmarks, and printed material may still point to http://. You need a redirect that sends those visitors to https://.

Many hosts have a setting called Force HTTPS or Redirect HTTP to HTTPS. Look for it in the same place as the certificate.

On WordPress, also check the site addresses. Go to Settings, then General. The WordPress Address and the Site Address should both start with https://. If they start with http://, change them and save. A wrong entry here can lock you out of the dashboard, so back up your site first.

After the change, type http://yourdomain.com into a private window. The address should switch to https:// on its own.

Fix 3: Remove mixed content

Mixed content is a page on https:// that still calls for a file over http://. The file may be an image, a font, a script, or a stylesheet. The browser blocks it or flags the page.

This is common on older sites. Images were added years ago with full http:// addresses. The site later moved to https, and the old addresses stayed in the content.

To find the files, open the page in Chrome. Right-click and choose Inspect. Open the Console tab. Mixed content messages list the exact file addresses that load over HTTP.

Then fix them:

  1. Edit the page or post that holds the file.
  2. Replace http:// with https:// in the image or link address.
  3. If the file is not available over https, upload it again to your media library.

A site with hundreds of old links needs a faster method. On WordPress, a plugin can update old http:// addresses in the database in one pass. Run a backup first. Theme settings and page builders can also hold hard-coded http:// addresses, so check those after the plugin runs.

Check the result

Clear your browser cache or use a private window. Visit the home page, the contact page, and one inner page. Each should show the padlock with no warning. Test on a phone too. A cached copy can show an old warning for a while.

Then check Google. Search Console treats the http and https versions of a URL prefix property as separate sites. If you added your site with http://, add the https version as well. Our guide on how to check if your website is on Google walks through Search Console.

Also update the website address on your Google Business Profile and your social media accounts. Use the https version.

If the warning stays after these steps, send us a message through our contact page. We can check the certificate and the redirect settings and tell you what is wrong.

Ready when you are

Book a coffee