Are you wondering whether or not to use ‘www’ in your site URL?
People often want to know whether www or non-www URLs are better for SEO. Our users sometimes ask whether they should change their site URL from one to the other.
In this article, we will help you understand the difference between www vs non-www URLs and which one is better for WordPress SEO.
Let’s clear this up before we start. For an average user or small business owner, there is absolutely no benefit between choosing a www or non-www site URL. It all comes down to personal preference.
Yes, there is a technical difference between the two, and we will cover this later in the article. But for most people, it won’t matter either way.
If you prefer a written tutorial, then please continue reading.
SEO Benefits of WWW vs non-WWW
The letters ‘www’ stand for ‘World Wide Web’ and are found at the beginning of many website addresses. However, many websites do not use ‘www’ at all. So, which is better?
When you are choosing a URL for your site, you should know that there is absolutely no SEO benefit to choosing WWW or non-WWW. You should simply pick the one you prefer.
What is important is that you stay consistent. You should continue to use the same URL you chose when starting your WordPress website.
In other words, you should never change your site URL to add or remove ‘www’ from it. That’s because search engines like Google will consider www and non-www as two different sites, leading to content duplication issues.
However, if you are using the All in One SEO (AIOSEO) plugin, then this problem is removed. AIOSEO will automatically set the canonical URL in your site header as either www or non-www and let Google know about your personal preference.
That’s all you really have to do. You can check out our guide on how to set up All in One SEO in WordPress for more details.
You might be wondering about our preference between www vs non-www.
It’s just a personal preference, that’s it.
Technical Difference Between WWW vs non-WWW
When you add www in front of a site URL, it acts as a hostname. This is helpful in several ways, such as flexibility with DNS, the ability to restrict cookies when using multiple subdomains, and more.
On the other hand, non-WWW domains, also referred to as naked domains, do have some technical limitations. One example is that a CDN provider cannot redirect traffic from a failing server to a healthy server on a naked domain.
However, these technical differences are only felt if your website is receiving millions of page views on a daily basis. For most users, they make no difference.
We hope this article helped clear any confusion between WWW vs non-WWW for your site URL. You may also want to see our guide on how to move WordPress from HTTP to HTTPS or our expert picks for the best SEO plugins and tools that you should use.