Setting Preferred Domain In Google Webmaster Tools
The Problem: I use Google Webmaster Tools(GWT) for my website “example.com”.I want my Preferred domain to be “www.example.com”.I tried to set the preferred domain in Webmaster Tools but an error message
Display URLs as “www.example.com” and hit save, then I get this error: “Part of the process of setting a preferred domain is to verify that you own http://example.com/. Please verify http://example.com/.”
keeps coming and I don’t have no idea what this error is !! So how to set preferred domain in Google Webmaster Tools?
![]()
The Solution:
Well, this very common question that many webmasters (or at least beginners I would say) keep asking in various webmaster forums.You have a website example.com and you want Google to pass all your link juice to www version of your site, www.example.com.So you go to Google Webmaster Tools and you verify your GWT account for www.example.com either by using an HTML meta tag or using HTML file upload method.Then you go to “Settings” under “Site Configuration” and tries to change “Preferred domain” settings (www or non-www).
You keep the option “Display URLs as www.example.com” and tries to save the settings, and you get the above mentioned error message.[See the pic below ]
You might not understand what it means at the first sight, like me
.What it means is that you need to verify the non-www version of your website as well. Even though it may look a bit weird to you, just go ahead, start adding “example.com” (non-www version of your site) in your GWT.

Please note that you need not re-verify your website in GWT, when you are asked to verify your site, select the verification method that you had earlier used for verifying your www-version of site, www.example.com and hit “Verify” .Your website would be automatically verified and would be added to your sites in GWT.
Now go to Preferred domain from “example.com” settings and select “Display URLs as www.example.com “ and press save.

Now you have successfully set your preferred domain as “www.example.com” i.e to the www-version of your website.Now Google restricts all link juice to non-www version of your website.
Note:
- Here I’ve randomly chosen www version as preferred domain it can be opposite case also, you can choose non-www version of your site also as preferred domain, but the procedure still remains the same.
- You must first have already verified your preferred domain in your Google Webmaster Tools profile.
- Even though you have set your preferred domain, it’s always a best practice to use one type of links only, either www version based or non-www version based.Avoid using mix of them (like example.com/123.htm at one page and www.example.com/123.htm on another page).
- You may want to use a 301 redirect to redirect traffic from your non-preferred domain once you have chosen your preferred domain in GWT.



October 28th, 2010 at 2:02 pm
Hi,
Thanks for posting this. It’s a very sad state of affairs that Google doesn’t post this information in their help section.
Since this is quite common question, they should have an answer to it. Doing what they say in their help leads to being caught up in the loop.
Vance
October 28th, 2010 at 2:05 pm
@Vance Sova
Glad it helped you!
October 29th, 2010 at 3:13 pm
Hi, after verifying the non www version as well is it ok to delete the profile it creates or should it be kept as know there are two sets of crawling data for the same site.
October 29th, 2010 at 3:16 pm
@Rosh
You need to have both the versions verified under your profile. So keep the non-www version as such don’t delete it, it won’t do any harm
October 29th, 2010 at 4:27 pm
Thanks Bharath I’ll give it a go. The problem I have been having is that the non www version of my domain is showing in google despite setting the preferred version in GWT and also having a 301 redirect in place. It had been fine for the last few years and then just randomly changed last month for the root of the domain (all other pages show the www version). Anyway, I’ll wait and see if keeping both verified versions under the profile changes it back.
Cheers
Rosh
March 11th, 2011 at 3:02 am
best answers.. thank
March 11th, 2011 at 6:07 am
Thanks so much for this. Google’s instructions here are woeful. “Verify domain ownership” implies ownership of the top-level domain, surely. Why on earth should I verify the “www” subdomain when Google has already verified my ownership of the TLD… and if I do, why keep that fairly key bit of knowledge a secret? Madness.
April 5th, 2011 at 4:57 am
Thanks! that was a thousand times clearer than anything on Google’s pages. Much Appreciated.
May 12th, 2011 at 8:42 am
Thanks, it work on WMT. I face this problem since the new version of WMT and i found the answer here. Thanks admin for this info
November 6th, 2011 at 6:59 pm
Thanks! Very clear and helpful.
May 6th, 2013 at 4:15 pm
Very helpful, thanks Bharath.