A Search Engine Journal reader wrote to ask :What’s preferable: www- version or non-www version? Are they the same? (Which version are people more likely to link to? Which one is ‘traditional’?)
We often come across websites that are accessible by both the www and the non-www version of its URL. While apparently both the URLs look the same, the search engines can treat them as separate sites altogether. This is something known as a canonical issue.
In one of his blog posts, Matt Cutts said:
“Canonicalization is the process of picking the best url when there are several choices, and it usually refers to home pages.”
Matt further adds:
“For example, most people would consider these the same urls:
* www.example.com
* example.com/
* www.example.com/index.html
* example.com/home.asp
But technically all of these urls are different. A web server could return completely different content for all the urls above. When Google “canonicalizes” a url, we try to pick the url that seems like the best representative from that set.”
Since the search engines treat the www and the non-www version of the same URL to be different websites, there’s a risk of duplicate content issues arising because of the same content served on both the URLs.
Search Engine Roundtable defines canonicalization as:
“choosing what single domain you want to use for your site, and what single URL should be used to request each of your pages, having urls that are outside this standard can cause problems in the search engines”
Besides that, if there are links pointing to both the www and the non-www version of a URL, the page rank and the link juice flowing in from all those links get split between the two URLs.
So now there arises a question, which one to choose and whether there is any ranking preference from the search engine perspective?
Regarding ranking preference, there is no such preference from any search engine. The search engines will rank whichever URL has the highest number of quality links pointing to it.
As far as choosing which URL to use in a website is concerned, we suggest the www version of the URL. This is because the www version has become a universally accepted standard for URL structures and because people are more likely to link to the www version instead of the non-www version (even if there is no www, people link this way out of habit).
But what if there are links pointing to both versions of the URL?
Just set up a server side 301 permanent redirection from one version to the other.
Matt says:
“Suppose you want your default url to be http://www.example.com/ . You can make your webserver so that if someone requests http://example.com/, it does a 301 (permanent) redirect to http://www.example.com/ . That helps Google know which url you prefer to be canonical. Adding a 301 redirect can be an especially good idea if your site changes often (e.g. dynamic content, a blog, etc.)”
Suggested Reading :
- How to Protect Your Site from Canonical Triggers
- To Slash or Not to Slash. That’s A Server Header Question.
- Google PageRank & Play-Doh
So, what are your thoughts on this www and non-www issue? Please feel free share your thoughts in the comments below.
Vote for this post : 1
or Buzz it at Yahoo :











Comments
9 responses so far ↓
Ann Smarty on May 22, 2008 at 2:21 am
I did some experiments to that launching both non-www and www of the site.
Google first picks up a non-www version even if I build links to the www- one.
Then in some time (about 2 months) Google starts ranking a www version and just forgets about the other one.
So… does it mean Google really “likes” the non-www versions more and picks the www one only if we encourage it to???
Jansie Blom on May 22, 2008 at 2:38 am
There’s no preference from search engines as to which to use. It does not matter. I agree with the article though, in that USERS are probably more comfortable with the www.
andymurd on May 22, 2008 at 3:26 am
It depends on the URL and the site. For instance, adding www to tinyurl.com would be foolish but if you use subdomains (or multiple protocols) then www.mysite.com, ftp.mysite.com and mail.mysite.com all make good sense.
David on May 22, 2008 at 6:40 pm
You can also set a preferred version, with www or without, using Google Webmaster Tools.
Kenny Hyder on May 23, 2008 at 6:34 pm
I have to respectfully disagree. www serves no purpose functionally, and although people may be familiar with this format, why do we need to continue using legacy protocols simply because its what average users are used to? I think more and more people are beginning to use and become more familiar with subdomains, and ultimately, www is just a useless subdomain. It is so annoying to see someone type in www.store.domain.com and have to correct them. Why can’t we break these ridiculous habits and misconceptions?
Jansie Blom on May 24, 2008 at 3:57 am
because convention is not a bad thing. sticking to what people know, is not bad.
and yes, the masses need to be trained to move on to the next right way of doing whatever the next right thing is to do, but sometimes sticking to what people know is better than dragging them off to where they’re not comfortable.
and given where i live, i can tell you, convention is good for here and now.
Arif Aldoseri on Jul 15, 2008 at 1:43 am
It all means pick a convention and stick to it. I personally prefer not to use www at all.
It actually makes sense. Search engines see things as they are, unlike humans, we tend to interpret things, substitute, invert, manipulate, remap, or totally ignore an otherwise a clear fact. Search engines are faster, but not necessarily smarter.
You should be happy, you’re smarter than Google, even though they make more money ;-)
Andrew on Aug 26, 2008 at 3:51 pm
I’m with Kenny. The www subdomain is pointless. But I’m not about to stop supporting it. Allow people to type in www and then quietly redirect them to the proper domain, would be my advice.
And set the redirect up so that it works for the whole site, not just the homepage (i.e. www.domain.com/deep/link/ redirects to domain.com/deep/link).
It’s pretty easy to configure most website to do this either through code or through server configuration. It does seem noticeably to help with SEO too.
Steve Penny on Sep 21, 2008 at 3:02 pm
I do SEO for some very large corporate websites and when I study the link architecture of links pointing to a site, I am seeing a strong trend in people simply dropping the www. when they make links to a site. The other trend is the increase in email addresses links which drop the www. Personally, I think someday the www. will look archaic. Until then, we live in confusing times regarding this issue and best defense is a 301 redirect to the version you prefer. GoogleBot doesn’t always get canonical issues right and when it doesn’t it splits your links… page rank leakage!
Leave a Comment