A 'Not Secure' warning on your website can deter visitors and harm your credibility. This warning typically appears when your website lacks a valid SSL certificate, compromising the security of data transmitted between your site and its users. In this guide, we’ll walk you through the steps to fix this issue and ensure your website is safe for users.
The 'Not Secure' label is a browser notification indicating that your website does not use HTTPS (HyperText Transfer Protocol Secure). Without HTTPS, data exchanges on your website are vulnerable to interception, exposing sensitive information such as login credentials or payment details.
First, confirm whether your website has an SSL certificate installed. You can do this by looking at your website’s URL; if it starts with http:// instead of https://, it lacks SSL encryption. Use tools like SSL Checker to verify the certificate’s validity if you believe one is installed.
If you don’t have an SSL certificate or it has expired, purchase or renew it through a trusted Certificate Authority (CA) or your hosting provider. Some hosting services, such as SiteGround or Bluehost, offer free SSL certificates via Let’s Encrypt.
Once you have an SSL certificate, install it on your server. For cPanel-based hosting, navigate to SSL/TLS Manager and upload the certificate files. Alternatively, for Apache or Nginx servers, configure the ssl_certificate and ssl_certificate_key paths in the server configuration files:
httpd.conf or ssl.conf file to include your certificate paths.ssl_certificate and ssl_certificate_key directives in your server block.Update all internal links, scripts, and media files to use HTTPS. Mixed content (HTTP elements on an HTTPS page) can still trigger warnings. Use tools like the Why No Padlock checker to identify and fix mixed content issues.
Configure your server to automatically redirect HTTP traffic to HTTPS. Add the following code to your .htaccess file for Apache servers:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
For Nginx servers, include the following in your configuration:
server {
listen 80;
server_name yourdomain.com;
return 301 https://$host$request_uri;
}
After making changes, test your website to ensure the 'Not Secure' warning is resolved. Check your browser’s address bar for the padlock icon, which indicates a secure connection. You can also verify the SSL setup using tools like SSL Labs.
Addressing a 'Not Secure' warning is crucial for protecting user data, building trust, and maintaining compliance. While the steps above can help resolve the issue, technical configurations can be complex. If you need assistance, don’t hesitate to reach out to WebCareSG. Our team specializes in website security and can ensure your site is fully optimized and secure for your audience.
A comprehensive guide to setting up Google Analytics 4 (GA4) on Shopify, including troubleshooting common errors like checkout funnel breaks and duplicate transactions.
Learn the best techniques to optimize website images for faster load times without compromising quality, improving user experience and SEO.
A beginner-friendly guide to understanding keywords and mastering basic keyword research. Learn about search intent and leverage free Google tools like search suggestions and "People also ask" to uncover what your customers are truly searching for.
Whatsapp us on