Duhosting - Fast & Reliable Hosting in Tanzania

Fix “Not Secure” After Installing SSL (Mixed Content + Redirects) Print

  • Fix “Not Secure” After Installing SSL (Mixed Content + Redirects
  • 0

Summary

Sometimes SSL is installed correctly, but browsers still show warnings due to mixed content or missing redirects.

Step 1: Force HTTPS Redirect

Method A: cPanel (if available)

  • Use “Domains → Force HTTPS Redirect” (if your cPanel has it)

Method B: .htaccess (Apache)

In your website root, add:

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

 

Step 2: Fix Mixed Content

Mixed content means your site loads http images/scripts while page is https.

  • Update your website settings to use https://

  • In WordPress:

    • Settings → General → set WordPress Address + Site Address to https://

    • Replace old URLs inside content (use a safe search/replace plugin)

Step 3: Clear Cache

  • Clear browser cache

  • Clear plugin cache / CDN cache (if used)


Was this answer helpful?

« Back
Chat with us!