Search Engines see yoursite.com and www.yoursite.com as two different site and to further confuse the issue if you are using the trailing / it can look to the engines that you have 4 different sites with the combination if backlinks pointing to the various options. The has the effect of dilluting the value of the links to your site.
The solution is to use an .htaccess file with this code:
Options +Indexes
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST}^yoursite\.com
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=permanent,L]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://www.yoursite.com/$1/ [L,R=301]
| Next > |
|---|
Last Updated on Thursday, 16 July 2009 09:28



















