WWW vs non-WWW: Why You Should Put All Your Links in One Basket

by Ana Hoffman · 51 comments | Join Ana on Google+ Here



www non-www canonicalization imageMany of you have heard of this issue, but I bet very few of you can actually say it without twisting your tongue: canonicalization.

A mouthful of a word to describe a simple concept:

In Google’s eyes, http://www.TrafficGenerationCafe.com and http://TrafficGenerationCafe.com are 2 different sites.

Without getting all technical on you (actually, I couldn’t even if I wanted to – all I know about the issue is what an average blogger should know about it, and that it how to take care of it painlessly), here’s what it means in practical terms:

When any kind of link building to your blog occurs – whether it be natural link building through other people linking to your posts or intentional link building that you do on your own, all your links have a potential to be split between those 2 versions of your site. It all depends what version of link used: www or non-www version.

Also, there is a question of duplicate content issues, since now you basically have two website with identical content.

Bottom line: you need to fix it now.

If you don’t know whether you use linux or apache server or what your .htaccess file is, don’t fret – I make it my job to not know these things.

Here are 2 practical steps you need to take to resolve this issue:

1.  Set It in Your WP Dashboard

In your WordPress dashboard, go to Settings ==> General.

In the “WorPress address (URL)” box, enter your chosen URL – with or without WWW.

It doesn’t matter which one you chosoe, as long as you choose it and stick with it.

www vs non-www example image

2. Set It in Your Webmaster Tools

If you don’t have a free account with Google Webmaster Tools, get it now.

Here’s the simple precess step by step.

If this is your first time using Google Webmaster Tools, you will have to verify both of you www and non-www versions of your site. Just follow the directions on how to do that.

Once both sites are verified, click on one of them and go to Dashboard ==> Site Configuration ==> Settings.

Then set your preferred domain as one or the other.

www non-www webmaster tools image

By doing this, you are basically telling Google which domain you prefer and they use that information for all future crawls of your site.

For instance, now when Google see a link that is formatted as http://yoursite.com, but your preferred domain is http://www.yoursite.com, they will follow that link as if it were http://www.yoursite.com.

Plus, whatever version your visitors use to get to your site, they will be automatically redirected to the one you prefer.

More on the Technical Side

Here’s a post by Chris Burns, SERPd founder, that talks about the same issue (and some) in a bit more technical way:

Thanks for the resource, Chris!

Marketing Takeaway

You should be properly canonicalized now and all your links will be just where they should be: in one basket.

And one more thing: to make sure everything is set up properly, just type your non-preferred URL into the Google address window and see if you are properly redirected. If you are, you know you did it right.

As always, comment to show me that you’re alive!

ana hoffman www non-www



{ 51 comments… read them below or add one }

Amit Shaw March 30, 2012 at 4:48 am

Thanks Ana for this information. Till now i thought that both are same :P .
Currently i am using non www. Soon i will change it. Thanks.
I got this link from Mivis’s Website :) .
Amit Shaw invites you to read: Live your Dream with Google AdSenseMy Profile

Reply

Ana Hoffman March 31, 2012 at 11:33 am

Is there a reason you want to switch to www version, Amit?

I wouldn’t recommend doing it unless you have to. Once you pick a version, just stick with it.

Reply

Claudio November 12, 2011 at 5:34 am

I went on google webmaster select the Display URLs as harmonianatureza.com.br save command but it appears. Part of the process of setting a preferred domain is to verify that you are the owner of the site. Even confirming and changing the google analytics google webmaster does not change.

Reply

Ana Hoffman November 12, 2011 at 8:58 am

Yes, you need to verify your site first, Claudio.

Reply

Aniket from Freelance Website Design October 31, 2011 at 11:02 pm

Another great post. Thanx Ana.
I have already corrected this problem, by having my site redirected from the non-www version to the www one.

“Canonicalization”
When I started my SEO campaign for my site, by adding metatags, I came accross a metatag for CANONICAL url. (rel=”canonical”). It was only after reading the following post that I understood, what it really meant.

http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html

I couldnt understand, what its meant for, at first. Then I understood the issue of “www” vs “non-www” that you have raised here. A simple solution that google has offered is adding a new metatag for canonical url. I havent added it yet. Coz all my site-pages indexed by google are the www ones. :)

Thanx again.

Reply

Ana Hoffman November 1, 2011 at 7:57 am

That’s great, Aniket. Glad you got it sorted out.

Reply

Robin Jennings October 9, 2011 at 3:21 am

When I changed my site from www to mywebsite.com my links disappeared and everything went slightly pear shaped for 2 months- including plenty of 404 errors. It is all fine now but at the time I was a little worried.

The only advice I can give is decide to www or not as soon as your site goes live and don’t change it unless you have to.

@creative web design
Robin Jennings invites you to read: Rise of the Micro Niche RetailerMy Profile

Reply

Ana Hoffman October 9, 2011 at 11:12 am

That’s good advice. Thanks for stopping by, Robin.

Reply

Tosin from Home-Based Business Coach April 11, 2011 at 7:27 am

Hey Ana,

Sometimes you read some of these stuffs, and you are like oh…what is wrong with google?… but you gotta take note of all these simple stuffs because they make a huge difference eventually.

Thanks Ana, for this resource!

Tosin

Reply

Alan Mater from Work From Home January 11, 2011 at 6:22 am

How did you fix the problem? I had the same issue and had to change it back. Could you provide some insight on how to change it without messing the blog up?

Thanks!
Alan Mater invites you to read: Why One Online Business Is Not EnoughMy Profile

Reply

Alan Mater from Work From Home January 11, 2011 at 3:36 pm

If only it really was that easy. I followed the steps to the T (not that they’re complicated), and I got completely locked out of my WP dashboard.

Any ideas?
Alan Mater invites you to read: MaxBlogPress Ninja Affiliate Review – A Must-Have WordPress Plug-In for Affiliate MarketersMy Profile

Reply

Alan Mater from Work From Home January 11, 2011 at 4:15 pm

Yep, did exactly as it said. Got logged out, and when I attempted to log-in again, it wouldn’t let me. I tried multiple times to no avail. Had to re-do the change via phpMyAdmin, and then I could get back in.

I’ll try doing it again to see what happens. Maybe it was just a fluke or something as no one else seems to be having any problems. Fingers crossed.
Alan Mater invites you to read: MaxBlogPress Ninja Affiliate Review – A Must-Have WordPress Plug-In for Affiliate MarketersMy Profile

Reply

Alan Mater from Work From Home January 11, 2011 at 8:10 pm

Okay, so I figured it out. When attempting to log back in with FireFox, it won’t let me. So, I opened up Internet Explorer, and it logged me in just fine. Not sure why I can’t with FF, but I’m guessing it’s a cache issue perhaps.

Either way, the URL is changed, and no harm done. I’m a happy camper. :)
Alan Mater invites you to read: 5 Core Components of a WebsiteMy Profile

Reply

Mavis Nong from Free Marketing Training January 9, 2011 at 4:37 pm

Hey Ana,

Thanks for sharing this great tip. It does help to have your links in one basket :)

All the best,
Mavis
Mavis Nong invites you to read: Are You Still Annoying Your Blog VisitorsMy Profile

Reply

Ana January 9, 2011 at 6:50 pm

I know you do, Mavis! :)

Reply

Ian Belanger January 9, 2011 at 10:48 am

Great post Ana, I had no idea this was even a problem. Thank you so much, now I have something to do today, right now actually!

Reply

Ana January 9, 2011 at 6:50 pm

Glad I am keeping you busy, Ian! :)

Reply

Jackie Christiansen January 8, 2011 at 7:27 pm

Great Advice! Thanks for sharing this information!
Jackie Christiansen invites you to read: The Makings of a Great LeaderMy Profile

Reply

Ana January 8, 2011 at 10:05 pm

You’re welcome, Jackie.

Reply

Linda G. Cox January 8, 2011 at 9:02 am

Ana,
Thank you! I like the way you educate us in a very simple way! That is exactly what I needed!
Linda
Linda G. Cox invites you to read: This Girl Is A Traffic FreakMy Profile

Reply

Ana January 8, 2011 at 10:04 pm

You are welcome, Linda – the only way I know how. :)

Ana

Reply

John from Electricians in Paddington January 7, 2011 at 10:12 am

Ana! Your post is really informative and enlightening. http:// www dot sitename dot com and http:// sitename dot com is really bothering me, now I fully understand the difference between them. Thanks for letting me know.
John from Electricians in Paddington invites you to read: Electricians Paddington – Great Local Electricians Vs Average Local ElectriciansMy Profile

Reply

Ana January 7, 2011 at 12:23 pm

Good to know, John. :) I surprise myself sometimes.

Reply

Chris Dale January 7, 2011 at 1:45 am

Thanks for this tip Ana. Canonicalization is one thing I do not get and your post helped me fix this with my website. I actually thought I had set this up before, but I checked it in Webmaster Tools after reading your post and – you guessed it, not verified – doh! Thanks again.

Chris
Chris Dale invites you to read: What Are Your New Years Marketing ResolutionsMy Profile

Reply

Ana January 7, 2011 at 7:11 am

Thanks so much, Chris – it makes my day to know I actually helped someone.

Have a good one!

Reply

Patricia January 6, 2011 at 7:40 pm

Hi Ana

That’s why having super-geeks as friends is a life-saver or should I say blog-saver for me ;-) Great information that those who have to do all this themselves.

For some reason I was taught this when my blog was first being set up, but I’m sure there are heaps of bloggers out there who this is a revelation and a very helpful one at that!

Patricia Perth Australia

Reply

Ana January 6, 2011 at 8:44 pm

Definitely yes to that, Patricia!

This was one of the first issues I somehow knew to fix as well; go figure…

Reply

Tia January 6, 2011 at 7:37 pm

Good stuff, Ana. If someone’s blog has been around, they should also do a permanent redirect from the non-www to the www (or the other way around).

The thing about setting it up the right way in Wordpress is crucial! Many one-click Wordpress installs don’t use the www, and people go for years without realizing that!

Cheers,
Tia
Tia invites you to read: Weekend Recipe- Crostini with Mushroom- Ricotta &amp MarscaponeMy Profile

Reply

Ana January 6, 2011 at 8:41 pm

So true, Tia – it’s always great to tie all the loose ends and make a permanent change.

Good to see you here!

Reply

Alan Mater January 6, 2011 at 4:33 pm

Hi Ana,

After following step 1 and changing the Wordpress address URL, I’ve now been locked out of my Dashboard and can’t get in. Is this normal? Is there some way to fix this?

I don’t want to try anything else at this point until I can log back in and know that everything is back to normal. Your help would be appreciated.

Thanks!

Reply

Ana January 7, 2011 at 7:22 am

Ayayay, Alan – so sorry to hear it happened and the worst part is I have no idea why; I’ve never heard of such a problem! I am also not technical enough to know how to fix it; if this were to happen to me, I’d call my host to see if they can fix it for me.

Please let me know how you were able to fix it!

Reply

Alan Mater from Work From Home January 7, 2011 at 10:25 am

Hey Ana, I did a little research and figured out how to set it back by going into phpMyAdmin and changing the site URL back to what it was previously.

Now, I’m not sure where to go from here. Would following the steps you outline in the Google Webmaster account be enough? Should I still use a redirect plug-in or 301 redirect script?

Thanks for your help!
Alan Mater invites you to read: 5 Core Components of a WebsiteMy Profile

Reply

Ana January 7, 2011 at 12:19 pm

Glad you fixed it, Alan; still have no idea why it happened.

I never bothered with changing .htaccess since I didn’t want to run any chances I’d screw it up in the process. So all I did was the 2 steps above.

However, if you know what you are doing, that’s definitely the way to go.

Reply

Alan Mater from Work From Home January 7, 2011 at 8:32 pm

I’m wondering if anyone else ran into the problem I had?

I tried the 301 redirect route but that sent the blog into an infinite redirect loop. Not sure why, either. I’m not having much luck with this. LOL

In any case, I did set my desired display URL in my Google Webmaster’s account, so hopefully that will count for something.
Alan Mater invites you to read: MaxBlogPress Ninja Affiliate Review – A Must-Have WordPress Plug-In for Affiliate MarketersMy Profile

Reply

Ana January 8, 2011 at 10:03 pm

You know, now thinking about it, I did have problems with 301 redirect when trying to fix the same issue. It didn’t come from my blog though, rather my host server. It’s been a while, so I forgot all about it.

So far, I haven’t heard any problems reported, Alan.

Reply

Liz January 6, 2011 at 3:41 pm

Hi Ana,

This prompted me to look at my settings in general and I found a few things that were questionable, things I fixed of course ;-) Also I never really recognized the issue of the duplicate content issue. Suffice it to say, I’ve got it fixed now. Thanks so much Ana.
Liz invites you to read: Passive Income OnlineMy Profile

Reply

Ana January 6, 2011 at 8:38 pm

You are so welcome, Liz.

I think the whole duplicated content issue deserves a post of its own; so many bloggers are so entirely confused on what it means…

Reply

technosuman January 6, 2011 at 11:32 am

Well Ana! Really a great piece of information. I think I am convinced that we should indeed put our links in one basket.

For a beginner getting traffic through a blog or a website is not that easy. I hope your tip is really going to help us.

Thank your for this wonderful post

Reply

Ana January 6, 2011 at 8:35 pm

I know they will, like they had so many other readers of my blog! :)

Reply

Sheila Atwood from newbielifeline.com January 6, 2011 at 11:27 am

Ana,

I discovered I had a problem with this when I would comment on sites with Comment Luv. My site URL was www. and when I added my comments I left off the www. and my last post would not show up. Once I wrote the correct URL it worked.
Sheila Atwood invites you to read: Masters Of The WebMy Profile

Reply

Ana January 6, 2011 at 3:05 pm

Never even thought about possible CommentLuv implication, Sheila – thanks for bringing it to my attention. Always good to know in case I get a question on it.

Ana

Reply

Ana January 6, 2011 at 10:54 am

Yay – one less thing to do… Always great to know that you are actually ahead on something, huh? :)

Reply

Heather C Stephens January 6, 2011 at 9:42 am

Unlike you and Dwayne…I was clueless until I met you, Ana! Thanks for explaining it so simply and clearly for me. I need to check into the google webmaster tools but when I type in my www, I get redirected to my non www, so I assume I’m somewhat on the right track.

Thanks for the help, as usual!
Heather

Reply

Ana January 6, 2011 at 10:58 am

You must’ve set it correctly through your WP dashboard, Heather.

I did both just in case. :)

Reply

Lisa January 6, 2011 at 9:32 am

Ana:

Plain and simple…a lifesaver you are. I visit here everyday and I am running out of things to say to express my gratitude! This issue drove me nuts and I am so glad someone could explain it to me without all the “reflux capacitor” terms!

Lisa

Reply

Ana January 6, 2011 at 10:56 am

You are great, Lisa – I would write great content even if you were my only reader; you build me up so much!

From a non-techie to a non-techie… that’s the whole point.

BTW, I wrote a post about your guest blogging question, will publish next week. :)

Thanks for the idea.

Reply

mark from personal brand January 6, 2011 at 8:25 am

This is one of those ‘little’ things that can be frustrating for people who do not have much technical experience. Another part of this is to set up 301 redirect. There are a couple of wordpress plugins that will also do this for you, or someone can google “set up 301 redirect” for directions.

I definitely recommend testing to see if your url with and without the ‘www’ take you to the same page. If so, it is beneficial to fix it.

Great tip!
mark invites you to read: Bloggers on Social MediaMy Profile

Reply

Chris Burns January 6, 2011 at 7:43 am

I’ve written in more detail about this topic that may be useful to your readers. They can learn how to use .htaccess to make their sites www vs non and also to ensure a trailing slash on all URL’s regardless of if they are on Wordpress, Joomla, or any other platform.

http://www.searchengineoptimizationx.com/how-to-make-site-conanical-friendly/

Reply

Ana January 6, 2011 at 10:37 am

Added your post to mine, Chris; I am sure my readers will benefit from it, like I did.

Thanks!

Reply

Brankica from Live Your Love January 6, 2011 at 6:56 am

I was thinking about this after reading a post somewhere.
When I registered my blog, I included it in my Webmaster tools and after a few days I got a message fro Google saying something like: “we have found this blog too, do you want to claim it”, and it was the other version (one was www one was no-www).
As far as I see, I get the data in only one of the blogs there but I will do the thing you suggested since I am sure it will benefit me.
Thanks, Ana and can’t wait for Sunday and coffee with you and all of these great bloggers :)
Brankica invites you to read: Human spammer How to lose reputation as a blogger and get banned the easy wayMy Profile

Reply

Ana January 6, 2011 at 7:15 am

Definitely do it, Brankica – easy and needs to be done only once.

Reply

Leave a Comment

Commenting Policy STOP & READ: Do not use just keywords in "Name" field; you MUST leave a real name, if you want to see your comment approved. Thinking of dropping your link spam? Save the effort: your comment will NEVER show up on this blog.


CommentLuv badge

 

Check This Box to Get Access to My SEO Report and Exclusive Traffic Generation Tips.

 

TGC uses CommentLuv Premium, which allows you to use your real name and then @your keywords (maximum of 4 keywords). Click on the link above to get your own CL Premium - it's pretty awesome!

Previous post:

Next post: