Skip to content
+2 (02) 20824060+2 012 77002700Pay in EGP: Fawry · InstaPay · Cards

How to Fix the “Not Secure” Warning and Force HTTPS on Your Website

When a browser shows Not secure next to your address, visitors hesitate, and forms and logins are less safe. All our cPanel plans include a free SSL certificate, so the fix is usually quick.

1. Check the certificate

In cPanel open SSL/TLS Status. Your domain should show a valid certificate. If it does not, use the option to run the certificate check for the domain, then wait a few minutes.

A certificate can only be issued once your domain points to our servers. If you just changed your nameservers or DNS, wait for it to take effect. See what DNS is and how to point a domain to your server.

2. Fix mixed content

If the certificate is valid but the padlock still warns you, some images, scripts or styles are probably loading from http:// addresses. On WordPress:

3. Redirect all visitors to HTTPS

Many WordPress sites switch to HTTPS once the addresses above are set. If you still reach the http version, add this to the top of the .htaccess file in public_html, above the WordPress rules:

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

Save a copy of the file first. In File Manager, turn on Show Hidden Files to see .htaccess. See how to upload website files with File Manager.

Still stuck?

Contact us with your domain name and a screenshot of the warning, and we will help you.

Need help choosing?Tell us about your project and we will recommend the right solution.
Contact us