How to Force Domains use WWW
Many site owners make the mistake of duplicating their site’s home page. They will have the same content for http://www.domain.tld, http://domain.tld, and http://www.domain.tld/index.html. This will result in lost link value and therefore damage the rankings of the site’s homepage. For example you may have your internal links pointing to http://www.domain.tld but outside sites may be linking to http://domain.tld. Therefore you will be diluting the effectiveness of your site. If you find many links outside the site pointing to both the non-www and the www version, it may be wise to use a 301 re-write rule so all pages will be redirected to the same url. How to include the 301 re-write rule in your web site 1. Create a .htaccess file. Open notepad, name and save the file as .htaccess (there is no extension). 2. Place this code in your .htaccess file: Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^domain\.tld$ [NC] RewriteRule ^(.*)$ http://www.domain.tld/$1 [R=301..... Read more




