Access & crawling · 2 checks

HTTPS and URL variant check

Check that your page is served over a valid HTTPS connection, and that http and www versions of the address lead to the same preferred URL.

Check your page

Included in the free scan of 85 SEO and GEO checks.

What this checks

Most sites can be reached at four addresses: http and https, with and without www. Only one should be the real one; the others should redirect to it, so links and signals are not split.

HTTPS protects visitors and is part of Google’s page experience. Browsers mark plain http pages as not secure.

The 2 checks on this page

Each check has its own result in your report. “Learn more” in the report opens the matching card here.

NET-005

HTTPS and TLS observation

Checks that the final address uses https and that the TLS certificate was accepted.

  • Pass Valid HTTPS
  • Problem Plain http, or a rejected certificate
NET-007

HTTP, HTTPS, and host variants

Compares the http, https, www and bare-domain versions we fetched with the page’s preferred canonical.

  • Pass All variants reach the preferred URL
  • Suggestion Some variants stay on another address
  • Not measured Variants were not fetched

Examples

Passes: Every variant ends in one place
http://www.example.com/  → 301 → https://example.com/
https://www.example.com/ → 301 → https://example.com/
Flagged: Two live copies
https://www.example.com/  → 200
https://example.com/      → 200

How to fix it

Hosting panel

Turn on “Force HTTPS” and choose one preferred domain (with or without www). Most hosts add the redirect for you.

Cloudflare

Enable Always Use HTTPS, and add one redirect rule from www to the bare domain, or the reverse.

Nginx / Apache

Redirect every non-preferred host and http to the preferred https address in a single hop.

server {
  listen 443 ssl;
  server_name www.example.com;
  return 301 https://example.com$request_uri;
}

Check your fix

  1. Open all four variants in a private window: each should end at the same address.
  2. Run this check again.

Questions

www or no www?

Either works. Pick one and redirect the other to it.

My certificate is valid but the check failed. Why?

The certificate must match the host name and the chain must be complete. An SSL checker shows which part is missing.

Sources

Related