Web Design & Development · 8 min read · 1,778 words

www vs Non-www: Which to Use and the 4 URLs to Test

www vs Non-www: Which to Use and the 4 URLs to Test

Should your website use www or not?

For a small business website, www and non-www work equally well: neither is faster, and Google does not favour one. What matters is choosing one as the main address and redirecting the other to it. Keep whichever your site already uses. For a new site, non-www is shorter to print; www is a little more flexible with DNS.

Question www.yourbusiness.co.uk yourbusiness.co.uk
Search results No advantage No advantage
Page speed No difference No difference
On a van, card or sign Four extra characters Shorter and cleaner
DNS set-up Can point at a host by name (CNAME) Needs an IP address, or a DNS provider that works around the rule
Email addresses Unaffected: still you@yourbusiness.co.uk Unaffected
What you must do Redirect the non-www version to it Redirect the www version to it

The rule that decides it: one address is the main one, and all four versions of your address end up there.

This question usually comes up at one of three moments: a new site is about to launch, a web designer asks which you prefer, or you have noticed that your site opens on one version and shows an error on the other. In all three cases the answer is the same, and it takes minutes to get right.

What the difference actually is

The www at the front of an address is a subdomain, in the same way that shop.yourbusiness.co.uk would be. It dates from a time when one company ran several services on one domain and needed to label which machine was the website. Today the label is optional. Your domain can serve the website directly, with no prefix.

To a computer, though, www.yourbusiness.co.uk and yourbusiness.co.uk are two different addresses. They can point to different servers, hold different security certificates and show different pages. That is why you have to tell both where to go.

Does Google prefer www or non-www?

No. Google’s guidance on duplicate addresses does not rank one form above the other. It asks you to pick one address for each page, which it calls the canonical, and to send traffic from the other versions to it. Google lists the ways to do that in order of strength:

  • Redirects: a strong signal that the target should be the canonical address.
  • A canonical link in the page: also a strong signal.
  • Listing the address in your sitemap: a weak signal.

The same guidance says Google prefers HTTPS pages over equivalent HTTP pages. So the secure version of whichever form you choose should be the one everything points to.

MDN, the web developers’ reference, makes the same point from the browser’s side: the choice is yours, but once you choose, stick with it, and make sure the server answers on both, because you cannot predict which one people will type.

The one real technical difference: DNS

There is a single practical difference, and it lives in your domain’s DNS settings.

A www address can be pointed at a host by name, using a record called a CNAME. That is handy when a platform tells you to “point www at ourplatform.example”, because the platform can move servers without you changing anything.

The bare domain cannot normally do that. The long-standing DNS rule, set out in RFC 1912, is that a CNAME record is not allowed to exist alongside any other data, and the bare domain always carries other records, such as the ones that route your email. So the bare domain is pointed at a numbered IP address instead.

Some DNS providers work around this. Cloudflare calls its version CNAME flattening: it looks up the IP address behind the name and returns that. For a typical small business site on ordinary hosting, your host gives you an IP address and none of this is a problem.

Which to choose, by situation

Your situation Use Why
The site is already live and working Whatever it uses now Changing gains nothing and risks broken links
New site for a trade or local business Non-www Shorter on vans, cards, invoices and signs
A hosted platform insists on a CNAME for the website www It fits the DNS rule above without workarounds
You plan several subdomains (shop, booking, portal) Either, but be consistent Each subdomain is set up separately anyway
Old printed material shows the other version Either The redirect makes old print keep working

If you are still undecided after reading that table, choose non-www and move on. It is the less important half of the job. The redirect is the important half.

Six-step test of a website address: try http and https with and without www, confirm all four finish on one address, then repeat on an inner page.
Four front doors, one destination: if any of the four fails, a redirect or certificate is missing.

The four addresses to test

Every site has four possible front doors: with and without www, and with and without the secure https. All four should land on one final address. Test them in a private browser window so that old history does not hide a fault.

  1. Type http://yourbusiness.co.uk and note where you end up.
  2. Type http://www.yourbusiness.co.uk.
  3. Type https://yourbusiness.co.uk.
  4. Type https://www.yourbusiness.co.uk.
  5. Check that all four finish on the same address, with a padlock.
  6. Repeat with an inner page, such as /contact/, not only the home page.

If one of the four shows an error, a blank page or a security warning, a redirect or a certificate is missing. If the browser complains about too many redirects, two settings are fighting each other: our guide to fixing ERR_TOO_MANY_REDIRECTS on WordPress covers the causes.

Setting it in WordPress

WordPress stores its address in two fields under Settings, then General: WordPress Address (URL) and Site Address (URL). The WordPress documentation describes the second as the address you want people to type in their browser to reach your site. For nearly every small business site, both fields hold the same address, written the way you chose: with or without www, and starting with https.

Three things to know before you touch them:

  • A typing mistake in these fields can lock you out of the dashboard. Take a backup first.
  • If the fields are greyed out, the address has been fixed in the site’s configuration file, and that is where it must be changed.
  • The security certificate has to cover both versions. If it covers only one, visitors to the other see a warning before any redirect happens. Our website showing not secure guide explains the fix.

The DNS side, pointing both versions at your host, is covered step by step in our guide to connecting a domain to your website.

Switching an existing site from one to the other

Usually you should not. If the site works and all four addresses arrive at one place, a switch brings no benefit. If you have a real reason, such as moving to a platform that needs www, treat it as a small migration:

  1. Take a full backup.
  2. Put permanent (301) redirects in place from every old address to its new twin, page for page.
  3. Change the two WordPress address fields.
  4. Update links inside your own pages and menus so they use the new form.
  5. Resubmit your sitemap in Google Search Console.
  6. Update the website link on your Google Business Profile and social profiles.

Search Console makes the last part easier if you set it up as a Domain property. Google’s help page says a Domain property covers all subdomains and both http and https, and automatically includes both www and non-www. It is verified with a DNS record. The older URL-prefix property covers only the exact prefix you entered, so a switch would leave you looking at the wrong data.

For bigger moves, such as a new domain or a new platform, see our website migration cost guide.

What to print on the van, cards and signs

Print the shortest version that works: yourbusiness.co.uk, with no http and no www. People type what they see, and shorter is easier to read from a moving car. This is safe whichever version your site uses, provided the redirect is in place. That is the whole point of the redirect.

The same goes for old print. If your cards say www and the site is now non-www, the cards still work. You do not need a reprint.

Five mistakes we see

  • Only one version works. The other shows the host’s holding page or an error.
  • Both versions work, with no redirect. Visitors and Google see two copies of every page.
  • A chain of redirects. http goes to https, then to www, then back. Each hop slows the first visit. One hop is the aim.
  • The certificate covers one version. The other throws a security warning.
  • Mixed links inside the site. Menus use one form and old blog posts use the other, so visitors bounce through redirects on every click.

Most of these are found in the final checks before a site goes live. Our website launch checklist includes them.

Where this fits in a website build

Choosing www or non-www is a two-minute decision inside a much larger job. On a custom WordPress website from us, at £499 as a one-off, settling the address and testing the redirects is part of getting the site live, and the domain stays in your own registrar account. Our other fixed prices are on the pricing page.

Sources

All checked 17 November 2026.

Free resource

Get the UK Website Project Brief Template (free)

A two-page template for briefing any UK web designer: sitemap, integrations, audience and deliverables. Cuts revision rounds in half.

No spam. UK GDPR compliant. We only use your email to send this resource, unless you tick the box to hear from us.

Frequently asked questions

Is www or non-www better for SEO? +

Neither. Google's guidance on duplicate addresses does not favour one form. It asks you to choose one address as the canonical and redirect the other versions to it, and it treats a redirect as a strong signal. What harms a site is leaving both versions live with no redirect, so that every page exists at two addresses.

Do I need www in my website address at all? +

No. The www is an optional subdomain left over from the early web. A site can run on the bare domain alone. What you do need is for the www version to redirect to the bare domain, because some people will still type it and old links and printed material may include it.

How do I redirect www to non-www in WordPress? +

Set both address fields under Settings, then General, to the non-www address starting with https, after taking a backup. Make sure your DNS points both versions at your host and that the security certificate covers both. Then test all four versions of the address in a private browser window: each should finish on the same page.

Will changing from www to non-www hurt my Google rankings? +

Done properly, it should not. Put permanent 301 redirects in place from every old address to its new equivalent, update your internal links and resubmit your sitemap. Google treats redirects as a strong signal for which address is canonical. If the site already works on one version, though, there is no gain in switching.

Why does my site work with www but not without it? +

Usually one of two things is missing. Either the bare domain has no DNS record pointing at your web host, so the address goes nowhere, or the security certificate covers only the www version, so the browser shows a warning. Both are quick fixes for whoever manages your hosting or DNS.

Should I print www on my van and business cards? +

No. Print the shortest working form, such as yourbusiness.co.uk, with no http and no www. It is easier to read at a glance and people type what they see. As long as the redirect is set up, the short form reaches your site whichever version the site itself uses, and older print with www keeps working too.

Luxbranding

A UK online creative agency since 2019, specialising in brand identity, web design, SEO and digital marketing for clients in the UK and internationally.

About Luxbranding →

Work With Us

Need help with your brand or website?

Luxbranding is a UK online creative agency. Fixed prices, unlimited revisions, 48-hour start. Logo design from £129, websites from £299.

Ask Us a Question

Reply within one working day · No commitment