How to Remove the "Not Secure" Warning (Switch to HTTPS)

Updated: 4 December 20264 min read18 viewsMarkdown

A "Not secure" label in the address bar means your site is served over unencrypted HTTP. Removing it takes two things: a valid SSL certificate and a rule that sends every visitor to the HTTPS address. This guide covers both, step by step.

An address bar with an open padlock and warning sign turning into one with a closed padlock and a tick
With SSL and an HTTPS redirect, the open padlock becomes a closed one.

Why the warning appears

Modern browsers flag every page that does not use HTTPS as not secure. The label erodes trust, makes people abandon forms and checkouts, and can hurt your visibility in search. The fix has three parts: make sure SSL is installed, redirect HTTP to HTTPS and update the addresses inside your site.

Before you start

  • The domain must point to your hosting (correct nameservers or A record). A free certificate cannot be issued until it does.
  • You need access to cPanel. The login details are in your activation email and in the service details under Client Area > Services.
  • Back up the .htaccess file you are going to edit.

Step 1: Confirm the SSL certificate is installed

Voligen cPanel hosting plans include free Let's Encrypt SSL, which is installed automatically once the domain points to the server.

  1. In cPanel, open SSL/TLS Status in the Security section.
  2. Check that your domain and its www address show a valid certificate.
  3. If not, click Run AutoSSL and wait a few minutes.

Prefer a paid certificate? See our guide "Activate a paid SSL certificate".

Step 2: Redirect all traffic to HTTPS

The easiest way is to turn on Force HTTPS Redirect next to your domain on cPanel's Domains page. Alternatively, add these lines at the top of the .htaccess file in your site's root folder (public_html):

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

This sends every HTTP request permanently (301) to the HTTPS version of the same address. It works the same way on LiteSpeed servers.

Three-step flow: SSL status tiles, a code editor with highlighted redirect lines and an address bar with a padlock
1: check SSL status, 2: add the HTTPS redirect, 3: confirm the padlock.

Step 3: Switch the site address to HTTPS

On WordPress, go to Settings > General in the dashboard, change WordPress Address (URL) and Site Address (URL) to https://example.com and save. For other software, change the site URL in its configuration file.

Note

If some pages still show an open padlock after the redirect, they load images or files over HTTP. See the Mixed Content guide in the knowledge base to fix that.

Troubleshooting

SymptomLikely causeFix
ERR_TOO_MANY_REDIRECTSThe redirect runs twice (plugin + .htaccess) or a CDN connects over HTTPKeep a single redirect; set the CDN's SSL mode to full.
"Your connection is not private"The certificate does not cover this name (e.g. www) or has expiredClick Run AutoSSL; check that www points to your server.
AutoSSL cannot issue a certificateThe domain points elsewhere or a CAA record blocks issuanceFix the DNS records and any CAA record.
Padlock open but the page loadsMixed contentChange HTTP links to HTTPS.

Frequently asked questions

Does switching to HTTPS affect SEO?

Done properly, it helps. A 301 redirect passes the value of the old HTTP URLs to the new HTTPS ones. If you use Search Console, add the HTTPS version as a property too.

Is free SSL enough?

For personal sites, blogs and most business sites, yes; the encryption is the same as with paid certificates. Consider a paid certificate if you need a warranty, wildcard coverage or use on other servers.

Should I enable HSTS?

HSTS tells browsers to always load your site over HTTPS. It is useful, but hard to undo once enabled. Make sure HTTPS works on all your subdomains first.

If you get stuck, contact us or open a support ticket from the client area. For warranty-backed or wildcard certificates, see our SSL certificates page.

Was this article helpful?
Thank you for your feedback.