Redirect Pagerank

This section contains the codes and tips to improve the ranking of your site into the search engines. It will also contain info regarding the Mod Rewrite technique.

Redirect Pagerank

Postby MT Shahzad on March 14th, 2008, 5:33 am

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.GeoSourceCode.net
2: http://GeoSourceCode.net

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

Code: Select all
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^geosourcecode\.net
RewriteRule ^(.*)$ http://www.geosourcecode.net/$1 [R=permanent,L]
MT Shahzad
Web/Software Developer
http://mts.sw3solutions.com
User avatar
MT Shahzad
Site Admin
 
Posts: 300
Joined: February 29th, 2008, 8:11 am
Location: Muridke, Pakistan

Return to SEO - Search Engine Optimization

Who is online

Users browsing this forum: No registered users and 0 guests

cron