Skip to content
Host4u Limited

Fixing "not secure" warnings (mixed content)

Support Portal  »  Knowledgebase  »  Viewing Article
There was a problem loading the comments.
  Print

You installed an SSL certificate, but the browser still says Not secure, or the padlock is missing or has a warning. Nearly always the cause is mixed content.

What it is

Your page loads over a secure https:// connection, but something on it, such as an image, a script, a font or a video, is still loaded over an insecure http:// address. The browser then marks the page as not fully secure.

Check the certificate first

Open the Status tab of SSL/TLS Certificates in cPanel and check your domain has a valid certificate: see SSL in cPanel: the free certificate and installing your own. If the certificate is missing or expired, fix that first.

Find the mixed content

  1. Open your site over https:// in your browser.
  2. Press F12 to open the developer tools and look at the Console.
  3. Warnings about "mixed content" list the exact addresses that load over http://.

Fix it

Make each of those load over https:// instead:

  • WordPress: change the site address to https:// under Settings, General. Then replace the old http:// addresses in your content, for example with a search-and-replace plugin. Update the links in your theme and widgets.
  • Other sites: edit the pages or templates that use http:// and change the addresses to https:// (or to a relative address such as /images/logo.png).
  • Images and files you do not control: use a version of the link that supports https://, or host the file yourself.

Send visitors to https

Redirect http:// to https:// so no one lands on the insecure version. In cPanel, Domains has a Force HTTPS Redirect switch for each domain: see Domains in cPanel.

Still stuck? Open a support ticket with the address of the page.


Share via
Did you find this article useful?  

Related Articles


Self-Hosted Help Desk Software by SupportPal