Skip to content
SSL and certificates3 min read

Why does the browser say "Not secure" next to your site?

Not secure

Short answer

Browsers show "Not secure" next to the address when a page loads over unencrypted HTTP or when its SSL certificate is invalid. The fix is to issue an SSL certificate for the domain, redirect all traffic to HTTPS, and update any internal links that still use http://.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. Common causes
  2. How to fix it
  3. Advice for visitors
  4. Prevention
  5. On ArabyHost

The label doesn’t mean the site has malware. It means the connection between browser and server isn’t encrypted, or that its encryption can’t be trusted. Now that browsers treat HTTPS as the baseline, any site served over plain HTTP gets this label, and the warning gets more prominent on pages with forms.

Common causes

  • No SSL certificate for the domain, so the site only works over http://.
  • A certificate but no redirect: the site works on https:// if typed, but old links and search results still open http://.
  • An invalid certificate: expired or not covering the name, so Chrome shows “Not secure” with https struck through. See Your connection is not private.
  • Mixed content: the page itself is HTTPS but loads images, scripts or form targets over http://.
  • The WordPress site address is still set to http://, so it generates insecure links.

How to fix it

1. Make sure a valid certificate exists

In cPanel, open Security » SSL/TLS Status and confirm the domain and its www version have a valid certificate. If not, click Run AutoSSL. If validation fails, see AutoSSL failed.

2. Redirect everything to HTTPS

The simplest way in cPanel: open Domains » Domains and switch on Force HTTPS Redirect for the domain. Alternatively, add these lines at the top of .htaccess in public_html using Files » File Manager (enable “Show Hidden Files” under Settings):

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

This is a permanent 301 redirect that keeps the path intact. The full walkthrough is in the force HTTPS guide.

3. Update the WordPress address

In WordPress go to Settings » General and make both “WordPress Address (URL)” and “Site Address (URL)” start with https://. If you can’t reach the dashboard, add to wp-config.php:

define( 'WP_HOME', 'https://example.com' );
define( 'WP_SITEURL', 'https://example.com' );

4. Fix mixed content

Open the page, press F12, go to the Console tab and look for Mixed Content messages. Replace each http:// URL with https://. Step-by-step details are in Mixed content warning.

5. Verify

Open the http:// address in a private window. It should jump to https:// and show the padlock or settings icon instead of “Not secure”.

Advice for visitors

If you see “Not secure” on someone else’s site, don’t type passwords or card details there. Try adding https:// to the start of the address yourself; some sites support it but don’t redirect.

Prevention

  • Make HTTPS the default from day one on every new site.
  • Use relative or https:// URLs in themes and plugins.
  • After a migration, confirm the certificate is issued before you announce the site.

On ArabyHost

A free SSL certificate from AutoSSL (Let’s Encrypt) is issued automatically for every domain that points to the server through ns1.arabicode.com and ns2.arabicode.com, and it renews by itself. What’s left for you is turning on the HTTPS redirect in cPanel, which opens with one click from the Araby Panel, and setting the WordPress address to https://. For WordPress sites, LiteSpeed Cache is available to speed things up after the switch, and you can check DNS records to confirm the domain points to the server before running AutoSSL.

FAQ

Does "Not secure" hurt my Google ranking?

Google uses HTTPS as a light ranking signal; the bigger impact is on visitor trust, since many people leave when they see the warning. Serving every page over HTTPS is the recommended baseline.

I installed SSL but the browser still says "Not secure". Why?

Usually the site still opens over http:// without a redirect, or the page loads images or files over http://. Turn on the HTTPS redirect, then check the browser console for Mixed Content warnings.

Is a "Not secure" site dangerous for visitors?

It means traffic between you and the site isn't encrypted, so anyone controlling the network could read it. Reading public content is generally fine, but don't enter passwords or card details on such a page.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.