Four front doors, one address
Most sites can be typed in four ways: http://example.com, http://www.example.com, https://example.com and https://www.example.com. If more than one of those loads the site with a 200 response instead of redirecting, the same pages exist at several addresses. Search engines then have to pick one version to show, and links people give you can land on different versions. This audit requests all four variants of the URL you enter, follows each redirect hop by hop (up to six), and shows where every one of them ends up.
For a URL with a path, such as /pricing, it also tests the trailing-slash twin (/pricing/), because a site that serves both forms has the same duplicate problem one level down. The verdict at the top tells you whether everything consolidates to a single final URL, and the detail rows show the status code of each hop.
What a passing result looks like
One variant, your chosen canonical host on https, answers 200. The other three each answer with a 301 or 308 that lands on that same address in a single hop. The trailing-slash twin, if tested, either redirects to your preferred form or returns 404. Nothing redirects to a different final address, nothing loops, and nothing fails to connect except possibly a www host you never set up in DNS, which the audit reports separately.
Whether you choose www or non-www makes no difference to rankings. What matters is that you pick one and use it everywhere: in redirects, canonical tags, your XML sitemap and internal links.
The flags in the report, explained
More than one variant returns 200
Duplicate copies of your site are live. Add redirects so only one host answers with content. Canonical tags can reduce the damage, but a server redirect is the stronger and more reliable fix for whole hosts.
HTTP does not upgrade to HTTPS
An http variant ends on an http URL. Visitors get a "not secure" warning and the insecure copy can be indexed. Redirect every http request to https. Once that works, consider HSTS so browsers stop trying http at all; our HSTS Checker tests the header.
Multi-hop chains
For example http://www to https://www to https://example.com. Each hop adds a round trip for visitors and an extra step for crawlers. Google follows a handful of hops, but one direct redirect is cleaner. Rewrite the rules so each variant goes straight to the final address.
Temporary redirects (302 or 307)
A temporary redirect says the move might be undone, so search engines may keep the old URL as canonical. For permanent host consolidation, use 301 or 308. Our redirects guide explains the difference between the four codes.
Different final URLs
Some variants land on www and others on non-www, or the trailing-slash form differs. This usually means two rules (one at the CDN, one at the server) disagree. Decide which layer owns the redirect and remove the other.
One-hop redirect rules for Nginx and Apache
Replace example.com with your domain. These send every non-canonical variant straight to https and the bare domain, keeping the path and query string.
# Nginx: send all http traffic, and https://www, to https://example.com in ONE hop
server {
listen 80;
server_name example.com www.example.com;
return 301 https://example.com$request_uri;
}
server {
listen 443 ssl;
server_name www.example.com;
# ssl_certificate lines here (the certificate must cover www too)
return 301 https://example.com$request_uri;
}# Apache (.htaccess): force https and non-www in one redirect
RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule ^ https://example.com%{REQUEST_URI} [L,R=301]If you prefer www, swap the host names. Test the rules on a staging copy first; a typo in a redirect rule can make the whole site unreachable. For path-level redirects rather than host-level ones, the Redirect Rule Generator writes them for several servers.
One-hop host rules on WordPress, Shopify and CDNs
WordPress
Set both the WordPress Address and Site Address in Settings, General to your chosen https host. WordPress then redirects the other host on most setups. HTTP to HTTPS is often handled by your host's control panel or a rule like the Apache one above; avoid stacking a plugin redirect on top of a server one, which creates two hops.
Shopify
In Settings, Domains, choose your primary domain and make sure the other domains are set to redirect to it. Shopify issues SSL certificates and forces HTTPS automatically.
Cloudflare
Turn on "Always Use HTTPS" and add a single Redirect Rule from the www host to the bare domain (or the reverse) with status 301, preserving the path and query string. If your origin server also redirects, check that the two do not create a chain or a loop.
How this audit differs from a canonical tag check
This audit tests what the server does when someone requests each variant: it is about redirects. A canonical tag is a line in the HTML that suggests which URL to index, and search engines treat it as a hint. You want both: hosts consolidated by redirects here, then a self-referencing canonical on the final URL. Check that second part with the Canonical Tag Checker, and read our canonical tags guide for how the two work together.
After the redirects are in place
Re-run the audit and confirm a single final URL with one hop from each variant. Then make sure your sitemap, canonical tags and internal links all use that exact host and protocol, because links to a redirecting variant still cost a hop on every crawl. In Google Search Console, a Domain property covers all four variants at once and shows which version Google indexes. Spot-check a few deep URLs too: rules sometimes handle the homepage correctly but drop the path on inner pages.