Most people dont realise that when u dont have your .htaccess file setup properly for incoming links u can have 2 different page ranks for your domain.
for example:
Code:
http://www.bluepearl-design.com
Code:
http://bluepearl-design.com
May have different page ranks even though their the same page. Google will even sometimes penalise you for double content
Here is a way to use the .htaccess file so that all URLs resolve to just one domain.
Please note this is for Apache servers Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.bluepearl-design.com [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*) http://www.bluepearl-design.com/$1 [L,R=301]
The first line turns on the rewrite engine so the code will work
The second line checks to see if current host is TRUE or FALSE
The third line is pretty much the same as the 2nd, these lines are testing to see what the current host is.
The fourth line is executed if the previous two conditions return TRUE
I hope this tutorial is helpful for members
Also because i have spent alot of time in the last few months optimising my sites for
SEO, studying online books, reading
SEO forums i have become pretty knowledgeable with web site
SEO (Search Engine Optimisation) im going to create a new category on these forums for members who would like to ask questions or get advice on how to better improve their sites traffic.