This section covers the exact process to fix a not secure website fix permanently.
Step 1: Use Hosting That Includes SSL by Default
The most effective way to eliminate the “Not Secure” warning is to ensure your hosting environment is secure by design. When SSL is handled at the server level rather than through a plugin, you eliminate the “handshake” errors that often trigger Chrome’s alerts.

To avoid manual configuration errors, look for hosting that handles SSL by default. Platforms like Rocon automate the installation and renewal process, ensuring every page loads over HTTPS without you needing to touch a single line of code.
By using a platform that handles encryption natively, you ensure that your site is protected from day one without needing to manage complex certificate files.
Step 2: Check If SSL Is Installed Correctly
Open your site in Chrome and click the warning icon near the URL. Check if HTTPS appears with errors.
You can also log in to your hosting dashboard and confirm whether an SSL certificate exists.
Step 3: Install or Renew an SSL Certificate
If SSL is missing or expired, install or renew it immediately.
Most modern hosting providers offer:
- Free SSL certificates
- Automatic renewal
After installation, wait a few minutes for activation.
Step 4: Force HTTPS Across the Website
Installing SSL alone is not enough. You must redirect all HTTP traffic to HTTPS.
Set a permanent redirect so users and search engines always land on the secure version.
Edit your .htaccess file:
# Force HTTPS Redirect
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
Edit your Nginx Config:
# Force HTTPS Redirect for Nginx
server {
listen 80;
server_name yourdomain.com www.yourdomain.com;
return 301 https://$server_name$request_uri;
}
Always back up your configuration files before making changes.
Step 5: Fix Mixed Content Errors
Mixed content remains the most common reason behind a site not secure fix issue.
Check for:
- Images loading over HTTP
- Scripts or fonts using HTTP URLs
To identify the specific assets causing your ‘Not Secure’ warning, you can run a free scan at Why No Padlock.
Update every asset to HTTPS. Do not ignore warnings in Chrome DevTools.
Step 6: Update Internal Links and Assets
Old internal links can still point to HTTP pages. Update:
- Navigation links
- Media URLs
- Embedded resources
This step removes silent security warnings.
Step 7: Clear Cache and Test Again
Clear the cache from your Chrome browser:
- Browser cache
- Website cache
- CDN cache (if used)
Reload your site in Chrome. The Not Secure warning should disappear.
Step 8: Secure Third-Party Scripts
- Identify all external scripts, ads, analytics, and widgets on your site.
- Ensure every resource loads via HTTPS.
- Replace or proxy any HTTP scripts to prevent mixed content issues.
- Re-test your site in Chrome to confirm no “Not Secure” warnings appear.
Step 9: Warning for WordPress Websites
WordPress sites often show security warnings due to configuration issues. Start by checking:
- WordPress Address (URL)
- Site Address (URL)
Both must use HTTPS. Next, inspect themes and plugins. Some hard-coded HTTP assets create mixed content errors.
Avoid relying only on plugins for security fixes. Server-level HTTPS enforcement works better and avoids repeated issues.
Leave a Reply