Which is more important, with www or without?

Posted on November 4, 2007 by GoogleThem.
Categories: Google tips and tricks, SEO.

www.mysite.com vs. mysite.com
You should use a 301 redirect mysite.com to www.mysite.com to avoid duplicate content penalty from google (probably not though according to google engineers) and google prefers the www address to be canonical, but you can make any of your URLs the canonical one such as:

  • mysite.com
  • www.mysite.com
  • mysite.com/index.html
  • www.mysite.com/index.html

A 302 redirect is temporary, and a 301 redirect is permanent. An authoritative writeup of Canonicalization and 301 vs. 302 redirects can be found at Matt Cutts blog who works at Google as a webspam expert.

Google will handle a 301 redirect by putting the URL that is redirected to into their index. So if someone searches for a term on your website, Google will show the one Canonical URL.

It is important that you setup the redirect first before publishing your website and certainly before adding your URL to Google. Google’s search index may not allow your non www URL to drop out of their index for as long as 6 months. If you do not have a redirect setup and do not want to you can also fix the multiple domain problem by using Google Webmaster Tools. Once you have your account setup then you go to “Dashboard -> Tools -> Set preferred domain”

Duplicate content is determined by a page hash algorithm at Google. The common guess is that Google may penalize your website if you have more than 2 URLs containing the same page content. If you do need to have several URLs it would be a good idea to point all the non canonical ones to point to the one you want to market and publish via 301 redirects.

1 comment.

Pingback on August 24th, 2008.

[...] If you have an old website location or URL that you replaced with a new one or you have a second web… no comments yet.« Website Designer with skills Leave a comment [...]

Leave a comment

Names and email addresses are required (email addresses aren't displayed), url's are optional.

Comments may contain the following xhtml tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>




Stop SOPA