Redirect Pagerank

Configure .htaccess for Google

There are always 2 version of your domain which are identical but uses different names.
The one with the .www and the one without.

For example:
1: http://www.marcuswestberg.com
2: http://marcuswestberg.com

It seems that both those adresses are the same, but Google looks at them in a different way.
When you receive links from people they link to your page with and without the .www, which ends up in different pagerank for your 2 versions of the domain name.

Now to the good part :) You can redirect so that only one version of your domain name receive all the pagerank from both adresses.

Add this piece of code to your .htaccess file

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yourdomain\.com
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=permanent,L]

(Information in this article was taken from JW Webbdesign)

2 thoughts on “Redirect Pagerank

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>