Web Development


0  0 2015-02-03 08:41:42

This depends on your individual preference. You could choose based on which one is most often bookmarked by your users, or which one is most often used to link to your website. There are some technical reasons for using the www version but there are some logical reasons to use the non-www. No matter which version you use, the bottom line is to use only the preferred version and redirect the other version to the preferred domain.

Some reasons to use the www version as your preferred domain are as follows:

To differentiate the main site from other subdomains used, for example, to a blog. (In ziuby’s case, www.ziuby.com is the main site and blog.ziuby.com is the blog URL.) To restrict cookies when using multiple subdomains. Cookies of the main domain are sent to subdomains, so if you are using subdomains for a blog it is easier to differentiate the sites with the www prefix in it. It is easier to organize your folders where the one for the live site is in the www folder at the www.yoursite.com domain, while the development folder is at the dev.yoursite.com for development purposes.

Popular websites that use www domains are: www.wikipedia.orgwww.facebook.com www.yahoo.com www.google.com

Some reasons to use the non-www version as your preferred domain are as follows:

To shorten the length of your website URL. User experience; many users these days type the URL without the www.    www sites may look old-fashioned.

Popular websites that do not use www domains are:    Digg.com    Twitter.com    Pinterest.com  

Ways to Set a Preferred Domain:

There are two main ways to set a preferred domain.

  • The first one is for Google via Google Webmaster Tools and the other is for other search engines and users of your website via 301 redirects. Google:
  1. Create an account on Google Webmaster Tools if you do not already have one. You can use the www version of your site to create the account.
  2. Verify the site using your Google Analytics account where you place the tracking code provided at the <head> section of your page. Refer to the screenshot below for this step.

Option to Verify a Site on Google Webmaster Tools Using Google Analytics

[[{"type":"media","view_mode":"media_large","fid":"1187","attributes":{"class":"media-image aligncenter size-full wp-image-16252","typeof":"foaf:Image","style":"","width":"605","height":"424","alt":"Ziuby-Option-to-Verify-a-Site-on-Google-Webmaster-Tools-Using-Google-Analytics"}}]] Option to Verify a Site on Google Webmaster Tools Using Alternate Methods

  1. Click on the red button that says Add A Site, situated at the top right hand corner of your screen.

[[{"type":"media","view_mode":"media_large","fid":"1188","attributes":{"class":"media-image aligncenter size-full wp-image-16253","typeof":"foaf:Image","style":"","width":"213","height":"100","alt":"Ziuby-Option-to-Add-a-Site-on-Google-Webmaster-Tools"}}]]

  1. Add the non-www version of your site to your Google Webmaster Tools account. Look at the screenshot shown below:

[[{"type":"media","view_mode":"media_large","fid":"1189","attributes":{"class":"media-image aligncenter size-full wp-image-16254","typeof":"foaf:Image","style":"","width":"507","height":"214","alt":"Ziuby-page"}}]]

Adding the Non-www Version of a Website in Google Webmaster Tools

  1. You need to verify the non-www version of your site using the same steps mentioned in step-2.
  2. Once both these versions are verified you need to set your preferred domain in your Google Webmaster Tools Account by clicking on each of these accounts individually.
  3. Go to Configuration > Settings > Preferred Domains.

[[{"type":"media","view_mode":"media_large","fid":"1190","attributes":{"class":"media-image aligncenter size-full wp-image-16255","typeof":"foaf:Image","style":"","width":"915","height":"427","alt":"Ziuby-pre"}}]]

  1. Click on the radio button on the domain that is to be your preferred domain.
  2.  You will receive a message in your Google Webmaster Tools account that your preferred domain is changed.

Comments (0)

Post Your Comments


Hong Kong Office

Find Us On

Website Development Company
Digital Marketing
website development company in Hong Kong
website designer in pune