• Home
  • Category
    • Web Hosting
    • Domain
    • cPanel
    • Billing or Accounts
    • Reseller Hosting
    • Web Design
    • WordPress
    • WHMCS Tutorial
    • SSL Certificates
  • Support
  • Blog
  • Main Site
  • Contact Us
  • Home
  • Category
    • Web Hosting
    • Domain
    • cPanel
    • Billing or Accounts
    • Reseller Hosting
    • Web Design
    • WordPress
    • WHMCS Tutorial
    • SSL Certificates
  • Support
  • Blog
  • Main Site
  • Contact Us
Home/Knowledge Base/SSL Certificates/How to fix connection is not secure Warnings on Your Website ?

How to fix connection is not secure Warnings on Your Website ?

180 views 3 May 20, 2022 Updated on December 4, 2024 support

You are using SSL on your site and site is loading with https but showing warning “connection is not secure”.

Why this warning is showing in your website? It occurs when your site is loaded over a secure HTTPS connection, but other resources on your site such as images, icons, videos, CSS or JavaScript are loaded over an insecure HTTP connection at the same time.

This is called mixed content because both HTTP and HTTPS resources are being used to display the same page at the same time. So, how can we fix this issue? We can fix the issue by adding following code in .htaccess file.

  • Login to cPanel
  • Then go to File Manager from cPanel.

Now go to your document root and open .htaccess file by right click. Then click on the “Edit”

Now put the following code in .htaccess file and save it.

<ifModule mod_headers.c>
Header always set Content-Security-Policy “upgrade-insecure-requests;” </IfModule>

Now let’s go back and access your website. Notice how it redirects us to the secure version, and we see a secure lock symbol in the location bar.

Was this helpful?

3 Yes  0 No
Related Articles
  • How to redirect HTTP to HTTPS?
  • How to Install an SSL Certificate Using Let’s Encrypt Inside cPanel ?
  • Install SSL Certificate on NGINX
  • Install SSL Certificate on Apache
  • What is SSL Certificate?

Didn't find your answer? Contact Us

SSL Certificates
  • How to fix connection is not secure Warnings on Your Website ?
  • What is SSL Certificate?
  • Install SSL Certificate on Apache
  • Install SSL Certificate on NGINX
  • How to Install an SSL Certificate Using Let’s Encrypt Inside cPanel ?
  • How to redirect HTTP to HTTPS?
All Categories
  • Web Hosting
  • Domain
  • cPanel
  • Billing or Accounts
  • SSL Certificates
  • WordPress

  How to Install an SSL Certificate Using Let’s Encrypt Inside cPanel ?

How to redirect HTTP to HTTPS?  

Copyright 2025 Orange Soft BD. All Rights Reserved.