WWW or non-WWW
In the current small post I would like to give you a piece of advice helping to make your site a bit friendlier to search engines. It a question of using “www” in the URL of your website.
1. Choose one of the alternatives
Decide whether your URL will be www or non-www. It doesn’t affect your rankings anyhow, so choose the one you like more.
2. Make your website redirecting users to the proper version
If you are using Apache server, add following instructions to the root directory .htaccess file.
If you chosen www version
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.seodragon.biz [NC]
RewriteRule (.*) http://www.seodragon.biz/$1 [R=301,L]
If you chosen non-www version
RewriteEngine on
RewriteCond %{HTTP_HOST} !^seodragon.biz [NC]
RewriteRule (.*) http://seodragon.biz/$1 [R=301,L]
3. Tell your choice to Google
Go to Google Webmaster Tools, Site configuration → Settings and choose a “Preferred domain”. Note, that both www and non-www versions of your domain should be verified.
Summary
Those simple steps will make your site a bit friendlier to search engines and consolidate all rankings to the domain version you’ve chosen.
