Skip to content

Website Shows Not Secure: Where to Start Fixing It

A Not Secure label has several different causes. Learn how to diagnose a missing certificate, expiry, mixed content and redirects, then fix them in a sensible order.

10 min readUpdated Nov 20, 2026By XPASS Editorial Team

Website Shows Not Secure: Where to Start Fixing It

Few things make a site owner's stomach drop like a browser label that says Not Secure next to the address. Customers hesitate, forms look risky, and the first instinct is to assume something has gone badly wrong. In practice the label has a handful of distinct causes, and each one has a different fix. The skill is working out which one you have before changing anything.

This guide gives you a diagnosis order that starts with the quickest checks and moves to the more involved ones. It covers a missing certificate, an expired or mismatched certificate, mixed content, redirect problems and incomplete chains, then ends with a short routine for keeping the problem from returning. The examples use general browser behaviour and apply to most hosting setups.

What the Not Secure label actually means

Browsers show a padlock or a "Not Secure" style label to describe the connection between the visitor and your server. It does not describe the honesty of the site, the safety of its files or whether a hacker has touched it. Specifically, the label appears when the connection is not encrypted and authenticated in the way the browser expects.

There are two broad situations. In the first, the page is loaded over plain HTTP. Anything the visitor types, including passwords and card details, can be read or altered by others on the network path. Modern browsers flag this prominently, especially on pages with forms. In the second, the page uses HTTPS but something about the setup is wrong: the certificate is invalid, the name does not match, the chain is incomplete, or parts of the page are still fetched over HTTP. The browser shows either a full-page error or a downgraded indicator.

The distinction matters. A full-page red warning usually points to a certificate problem. A small label or a missing padlock on a page that otherwise loads normally usually points to plain HTTP or mixed content. Looking closely at what you see is the first step of the diagnosis.

Step 1: read what the browser says

Before you touch the server, collect the evidence.

  1. Type your address with https:// at the front and press enter. Note whether the page loads and what the warning says.
  2. Click the icon beside the address bar and open the connection or certificate details. Read the issuer, the "Valid from" and "Valid to" dates, and the list of names the certificate covers.
  3. Open the browser's developer tools (usually F12), switch to the Console and the Security panel if present, and reload the page. Mixed content messages are listed there with the exact addresses.
  4. Try a second browser and a phone on mobile data. If the problem appears only in one place, it may be local, for example a wrong computer clock, an antivirus that inspects HTTPS, or an old device with outdated trust data.

Write down what you see. Five minutes of notes will save an hour of guessing.

Cause 1: no certificate installed, or HTTP only

If https://yourdomain fails to connect or shows an error about no secure connection, and http://yourdomain works, you probably have no certificate installed, or the HTTPS service is not enabled on the server.

What to do:

  • Check whether a certificate exists. In your hosting panel or provider account, look for an issued certificate for the domain. If none exists, you need to obtain one. The range of options is described on the SSL product page, and our article on certificate cost and renewal explains how renewal normally works so you can plan ahead.
  • Validate the domain. The authority will ask you to prove control, typically by email, a DNS record or a file on the site.
  • Install it and enable HTTPS. Upload the certificate and the intermediate chain through the hosting panel or server configuration, and confirm that the server listens on port 443.
  • Redirect HTTP to HTTPS. Visitors who type or follow an old http:// link should land on the secure version automatically, using a permanent redirect (HTTP status 301 or 308 as defined in RFC 9110).

If you use a website builder or managed platform, the setting may be a switch in the dashboard labelled something like force HTTPS or SSL. Check there before you edit configuration files.

Cause 2: the certificate has expired

If the browser details show a "Valid to" date in the past, the certificate has expired. This is the most frequent reason a previously working site suddenly shows a full-page warning. The fix is to renew or reorder, validate the domain again, install the new files, reload the service and test. Our guide on what an expired certificate does to a site walks through that sequence, how to check dates and how to prevent a repeat with reminders and monitoring.

One additional point: if you renewed and the warning persists, the new certificate may not be installed, or the old one may be served by a different component such as a CDN, a load balancer or a second server in a pool. Check every place that terminates HTTPS for your domain.

Cause 3: the certificate does not match the domain

The browser compares the name in the address bar with the names listed in the certificate (the subject alternative names). If they do not match, you get a name mismatch error. Typical examples:

  • The certificate covers example.com but visitors use www.example.com, or the other way round.
  • The certificate covers the main domain but not a sub-domain such as shop.example.com.
  • A shared hosting server presents a default certificate for the hosting company's own name because your site's certificate is not assigned to it.
  • A wildcard certificate such as *.example.com covers one level of sub-domains but not example.com itself or a second-level name like a.b.example.com.

The fix is to obtain a certificate that lists every name you actually use. Plan this when you order: list the bare domain, the www form and any sub-domains in use. A certificate type that covers several names or a whole level of sub-domains may suit you better than one for a single name, and the article about choosing SSL for an online shop compares the common types by site.

Also check the opposite cause: the DNS record might point visitors to the wrong server. If www points at a server that has no certificate for your name, no amount of certificate editing on the right server will help. Correct the DNS record and wait for it to propagate.

Cause 4: mixed content

Mixed content happens when a page loaded over HTTPS pulls in some resources over plain HTTP. Images, scripts, stylesheets, fonts, iframes and API calls can all be culprits. Browsers treat the types differently. Active content such as scripts is usually blocked outright, which can break features. Passive content such as images is often loaded but causes the padlock to disappear or a warning to appear.

Typical sources:

  • Old posts or pages with hard-coded http:// image addresses.
  • Theme or plugin settings that store the site address with http://.
  • Third-party widgets, fonts or tracking snippets copied from old instructions.
  • Embedded content that offers only an HTTP address.
  • A database full of absolute links created before the site moved to HTTPS.

How to fix it:

  1. Reload the page with the Console open and list every mixed content message.
  2. For each one, change the address to https:// and confirm the resource really loads that way. If the third party offers no HTTPS address, replace or remove it.
  3. Where the content management system stores absolute addresses, update the site address setting and run a careful search-and-replace on the database. Take a backup first, because a bad replacement can damage serialised data.
  4. Prefer relative paths (such as /images/logo.png) for your own files so the scheme follows the page.
  5. Reload and check again, then test other page templates. Mixed content often hides on a single page type, such as the product page or the blog archive.

You may see a header called Content-Security-Policy with the upgrade-insecure-requests directive recommended. It tells the browser to try HTTPS for HTTP sub-resources. It can help as a safety net, but it should not replace fixing the addresses, because resources that do not exist on HTTPS will still fail.

Cause 5: incomplete chain or problems on certain devices

A server should send the leaf certificate plus the intermediate certificate or certificates needed to link it to a trusted root. If it sends only the leaf, some browsers can fetch the missing piece on their own while others cannot, which leads to the confusing pattern of "works on my laptop, fails on a phone." Install the full chain bundle that the authority provides, in the order it requests, and test with a tool such as openssl or an online checker.

Other device-specific causes include:

  • Wrong date or time on the visitor's device, which makes a valid certificate look expired or not yet valid.
  • Old operating systems that do not trust newer roots.
  • Security software that intercepts HTTPS and uses its own certificate.
  • Public Wi-Fi with a sign-in page that interrupts the connection until the user logs in.

These are mostly outside your control, but they explain why a handful of visitors report problems when most see none. If many people report the same warning, assume a server issue first.

Cause 6: redirect loops and the wrong canonical address

After installing a certificate, the redirect rules sometimes cause new trouble. If both the server and a plugin or a CDN try to redirect HTTP to HTTPS in different ways, the browser may loop and show a "too many redirects" error. If your CDN connects to your server over HTTP but your application forces HTTPS, the two will keep bouncing the request.

Troubleshooting steps: pick one place to own the redirect, make sure the CDN setting for how it connects to your origin matches the origin's configuration, clear caches, and test with a command-line request to see the redirect chain. Make sure the final address uses the form you want, with or without www, and update links in sitemaps, canonical tags and any third-party profiles that point to your site.

A worked example

A small shop owner moves her site to a new host. The next day, customers report a Not Secure label at checkout. She follows the order above.

First she opens the site with https:// and sees a padlock with a small warning on the product pages, but the home page looks fine. That points away from the certificate and toward mixed content. The Console lists six images loaded from http://oldhost.example, which is where the site used to live. Her theme stored absolute addresses in the database.

She takes a backup, updates the site address setting, and uses a plugin's search-and-replace tool to change the old absolute addresses to the new secure ones. She reloads the product page: the Console is clean and the padlock returns. Then she tests the checkout page, finds one font loaded from an HTTP address in the theme file, and changes it to HTTPS. Finally she checks that http:// redirects to https:// once, and that the www and bare versions both work. The whole job takes under an hour, and none of it required buying a new certificate.

Limits and what to watch for

Symptom Likely cause First thing to try
Full-page red warning, "certificate expired" Expiry Renew and install, then reload
Full-page warning, "name does not match" Wrong names on the certificate or wrong server Check names; reorder; verify DNS
Small label, no padlock, page loads HTTP only or mixed content Check URL scheme, Console messages
Works on desktop, fails on phone Incomplete chain or old device Install the full chain
"Too many redirects" Competing redirect rules Use a single redirect location
Warning only on one browser Local clock, security software, extension Test on a second device and network

Cautions to keep in mind:

  • Avoid quick hacks. Disabling checks, telling visitors to click through, or hiding the label with design tricks leaves the real problem in place.
  • A certificate does not make a site trustworthy. It proves an encrypted connection to the named domain. Honest practices, clear policies and updated software still matter.
  • Not every label is under your control. Visitor devices, networks and browser versions vary.
  • Back up before bulk edits. Search-and-replace on a database and edits to server configuration can both break things quickly.
  • Do not trust unsolicited help. Messages claiming your site has a security problem and offering a fix for a payment come from scammers as often as not. Use the control panel and support channel you already know.

Remember also that accuracy matters when you describe this problem to a support team. Share the exact message text, the address you tested, the time, and which browsers and networks show it. Support staff can then check the certificate and server configuration in minutes instead of asking repeated questions.

Keeping the warning from coming back

Once the label is gone, protect the result. Keep an inventory of certificates and their end dates, enable reminders to a shared mailbox, and consider automatic renewal where your setup supports it. Add a simple external monitor that checks the certificate and alerts you in good time. When you add a sub-domain or move to a new platform, make a checklist: certificate covering the name, chain installed, HTTP to HTTPS redirect, mixed content scan and a test from a phone on mobile data. It takes ten minutes and prevents most repeat incidents.

Summary

A Not Secure label has a small number of causes: no certificate or HTTP only, an expired certificate, a name mismatch, mixed content, an incomplete chain, or redirect trouble. Read what the browser says, check the certificate details, look at the Console, and fix the cause in that order rather than guessing. Always finish by redirecting HTTP to HTTPS, testing from other devices and setting reminders so the warning does not return.

If you decide you need a certificate or a different type, the SSL page lists the available options and what each one includes.

Frequently asked questions

Why does my website say Not Secure?

The most common reasons are that the page is served over plain HTTP with no certificate, the certificate has expired, the certificate does not match the domain name, or an HTTPS page loads some images, scripts or styles over HTTP (mixed content).

Does Not Secure mean my website has been hacked?

No. The label describes the connection, not the content. It means the browser cannot confirm an encrypted, authenticated connection to your server. A hacked site can still show a padlock and a clean site can show a warning.

How do I fix mixed content?

Find every resource requested with an http:// address, change it to https:// or a relative path, and make sure the resource is actually available over HTTPS. Browser developer tools list the offending requests in the console.

Is it enough to install a certificate?

Not always. After installing, you should redirect HTTP to HTTPS, update internal links and settings, fix mixed content and test the full chain from outside your network.

Will fixing the warning improve my search visibility?

It removes a barrier for visitors and crawlers, but search ranking depends on many factors. Treat HTTPS as basic hygiene rather than a ranking trick.

About the author

Bob Kanokphon Thongdee, founder of XPASS VPN

Bob Kanokphon Thongdee

  • Founder of XPASS VPN
  • Co-founder of eSIMonline.asia
  • More than 7 years in online marketing
  • Founder of Cojourney Visa and Cojourney Travel

Need an SSL certificate?

Pick the certificate type that fits your site and see the price before you check out.

SSL from $14.99

See SSL certificates

Keep reading

SSL Guides

What Happens to Your Website When the SSL Certificate Expires

An expired SSL certificate does not break your server, but it makes browsers warn visitors away. Learn the effects, how to check the date and how to prevent a repeat.

10 min read

SSL Guides

Which Type of SSL Certificate Does an Online Store Need?

An online store needs HTTPS on every page, but not every certificate type. Compare DV, OV, EV, wildcard and multi-domain options and match them to how your shop works.

10 min read

SSL Guides

SSL Certificate Pricing Factors and How to Renew One

Certificate prices vary with validation, coverage and service, not encryption strength. Learn what to compare and how to renew before expiry.

10 min read