Skip to main content

www redirect

Whichever you use, www or not, the other version should redirect to it. We check that it does.

Why it matters​

If both versions load, there are two copies of your site for visitors and search engines to find.

What we tell you about​

  • Danger if it doesn't redirect
  • Warning if it redirects somewhere unexpected, or with a temporary code like 302

A 301 or a 308 is fine. If the site blocks our request, we show Couldn't check. How to add the redirect.

Expecting something else​

Open the check and set the status code and where it should redirect to. You can use an exact URL or a regular expression.

Where it runs​

Once for the whole site, on its home page.

To change any of this, open the site, then Settings, then Checks and rules. How rules work. Pages added before 3.0 can have older defaults, which alert more often.

See also the www and non-www redirect check on our website.