How to fix "Not secure" warnings and mixed content

Sometimes a website has a valid SSL certificate but the browser still says the site is not secure or the padlock shows a warning. This is usually called mixed content: the page is secure, but some images, scripts, or styles still load from an insecure address.

Steps

If your cPanel uses the Jupiter theme

  1. Open Security > SSL/TLS Status in cPanel and confirm your domain has a valid certificate that is not expired.
  2. Open Domains > Domains and switch Force HTTPS Redirect on for your domain.
  3. Visit your site using https:// in your browser. Right-click the page, choose Inspect, then open the Console tab. Messages that say mixed content name the files to fix.
  4. If you use WordPress, log in, open Settings > General, and make sure WordPress Address and Site Address both start with https://.
  5. In WordPress, use a plugin you trust to update old http:// links in your content, or edit them by hand. Back up first.

If your cPanel uses the Meridian theme

  1. Click Security in the sidebar, open the SSL Certificates tab, and confirm your domain has a valid certificate that is not expired.
  2. In the per-domain certificate table, turn on the HTTPS Redirect toggle for your domain. Do this only if the certificate is valid.
  3. Visit your site using https:// in your browser. Right-click the page, choose Inspect, then open the Console tab. Messages that say mixed content name the files to fix.
  4. If you use WordPress, log in, open Settings > General, and make sure WordPress Address and Site Address both start with https://.
  5. In WordPress, use a plugin you trust to update old http:// links in your content, or edit them by hand. Back up first.

Tips and troubleshooting

  • The most common causes are images or logos linked with http:// addresses, and old plugin or theme settings.
  • Clear any caching plugin and your browser cache after fixing.
  • If the whole site shows a certificate warning, the certificate may have expired or may be for a different name.
  • If the warning only happens on some pages, the problem is on those pages.
  • If your site is run by a web designer, send them the Console messages.
  • If you are stuck, contact Barrett IT Support.

Need help? Contact Barrett IT Support at support@barrettit.com or call 888.374.4632.

  • 0 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Mehr zum Thema

How to check your SSL certificate and secure your website

An SSL certificate encrypts the connection between your website and visitors and makes the...

How to change your cPanel password

A strong, unique cPanel password protects your whole hosting account. Change it regularly, and...

How to set up two-factor authentication (2FA) for cPanel and WHM

This article is for people who log in to a Barrett IT hosting account in cPanel, and for reseller...

How to block an IP address from your website

If you see unwanted visitors, such as someone repeatedly trying to break in or scraping your...

How to password protect a folder with Directory Privacy

Directory Privacy lets you put a password on a folder of your website, so visitors must log in...