Do You Make This Domain Name Mistake?

by Alastair McDermott · 2 comments

Blogging Tip No. 6: use a canonical domain name!

In basic english, what this tip means is either use www.yourdomain.com or yourdomain.com as your definitive domain name (“canonical” is a fancy word for “definitive”).

To do this, log into Google webmaster tools and set it to either of yourdomain.com or www.yourdomain.com – so that Google knows the preferred way of writing your address.

Here’s some information from the Webmaster Help Center on how to go about this.

The other thing you should do is create a 301 http redirect in .htaccess from the non-www version to the www version (or vice versa depending on your preference); e.g. try clicking www.websitedoctor.com or websitedoctor.com.

Here’s the word of Google search engineer, Matt Cutts, on the topic of canonicalisation:

Canonicalization is the process of picking the best url when there are several choices, and it usually refers to home pages. 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.

Q: So how do I make sure that Google picks the url that I want?
A: One thing that helps is to pick the url that you want and use that url consistently across your entire site. For example, don’t make half of your links go to http://example.com/ and the other half go to http://www.example.com/ . Instead, pick the url you prefer and always use that format for your internal links.

Share this post
  • Add to Delicious
  • Add to Digg
  • Add to Reddit
  • Add to StumbleUpon
  • Add to Technorati
  • Add to Sphinn
  • Add to Google Bookmarks

{ 2 comments… read them below or add one }

Dave September 9, 2007 at 6:55 pm

This is a good reminder, however is there any benefit to one version (with www) over the other (without www)?

Crystal September 10, 2007 at 8:01 am

Is this good for page rank? I’ve noticed that sometimes site.com will have PR, but http://www.site.com won’t have a PR at all. (or vice versa). Perhaps if you used both for links it would spread your PR too thin

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post:

Next post:

01 440 4342

About

WebsiteDoctor is consultancy and training business focused on internet marketing, particularly search engine optimisation. We are experts in all aspects of online marketing and websites. We can help your businesses increase sales and profitablity by reaching more customers through internet marketing. We can help you save money through increased knowledge of online technologies. Are you looking to upskill and become more valuable on the job marketplace? Sign up for one of our online marketing training courses like search engine optimisation or social media marketing!

Our RSS Feeds

We value your privacy.