Do all four versions of your domain end at one address?

Enter a domain. The tool opens it with http and https, with and without www, and shows where each one ends, in how many redirects and with which status codes.

A domain such as example.com, with or without www. Only the domain is used, so a full address works too.

What it checks

  • All four versions. http://example.com/, https://example.com/, http://www.example.com/ and https://www.example.com/, each opened once.
  • Where each one ends. The address it finally lands on, the number of redirects and every status code on the way.
  • What to fix. Versions that answer on their own instead of redirecting, temporary redirects such as 302, chains of more than one redirect, error pages, versions that do not answer, and an end address on http.

What it can't see

Redirects done by JavaScript or by a meta refresh. It reads only the status code and the headers the server sends, not the page.

What a browser remembers. A browser that has already seen the site's HSTS header goes to https by itself, without asking the http version first. This check always asks.

Pages other than the home page. Each version is checked at /. To follow any other address step by step, use the redirect checker.

Redirects that depend on the visitor's country, device, language or cookies. Each version is asked once, from this site's server, with no cookies. It follows up to 10 redirects and waits up to 12 seconds for each.

Questions

Which version should I choose?

With or without www both work, as long as it is on https and the other three versions redirect to it in one step. Choose the one your links and your marketing already use most.

Why does the https www version fail when the others work?

A security certificate covers only the names it lists. If it covers example.com but not www.example.com, the secure www version fails before any redirect can happen. Add the www name to the certificate.

301 or 308?

Both are permanent. A 308 also tells the browser to send the request again exactly as it was, which matters for forms, not for opening a page. For the versions of a domain either one is fine. A 302 or a 307 is temporary.

Why should all four end at one address?

Because they are four different addresses. When more than one of them answers on its own, visitors and links are split between copies of the same site. One address that the other three redirect to keeps them together.