Friday, June 10, 2011

301 redirect for redircting the web page SEO friendly.


We are working on doing off-page SEO (Search Engine optimization) for promoting our products especially our Time Sheet.

As part of doing SEO, we are taking steps to get more inbound links by doing link exchange and link submission.

The inbound links are having both www and non-www variations. i-e some links will be http://qualitypointtech.net/webtimesheet/index.php and some other will be http://www.qualitypointtech.net/webtimesheet/index.php

The search engines will be considering these two links as two difference pages and it will affect SEO in two ways. One is, the search engines may consider them as duplicate content and another way is, the count of inbound links will be getting divided into these two links.

To avoid these issues I have decided to do redirect www version links into non-www version links.

I used htaccess file for doing 301 redirection to achieve this. Since 301 redirect will do redirection including the credit (e.g Pagerank) of the page.

So, it will improve SEO.

In my previous post I had explained about using htaccess file for creating SEO friendly URLs.



The same htaccess file can be used for doing 301 page redirection.


I just added below lines in the htaccess file.

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^qualitypointtech.net$ [NC]
RewriteRule ^(.*)$ http://qualitypointtech.net/$1 [L,R=301]


You can subscribe to our Email posts, and you can bookmark this blog for further reading, or you can subscribe to our blog feed.

1 comment:

register domain name india said...

Great information must be mention to the all user. Your writing taste has been amazed me. Thank you, quite great post.i have learn some more information it well,be useful, to me .

Search This Blog