SEMGURU – A Web 2.0 Blog

Web Site Redirection

Posted by: Lalit Wason on: February 26, 2008

You just created a new web site but want to pass on the search engine rankings of the old one to the new one. What is the most effective and spider/visitor friendly strategy to implement your web site redirection? You should use a 301 redirect. 

Always use 301 (search engine friendly redirection) 

What is a 301 redirect?

It is used when you want to redirect your web site or web pages. The code “301″ is interpreted as “moved permanently”. 

Requirements for using a 301 redirect

  • .htaccess file

How do I implement a 301 redirect?
 

For example non www to www

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteCond %{HTTP_HOST} ^example.com [NC]

RewriteRule ^(.*) http://www.example.com/$1 [R=301,L]

</IfModule> 

Save the .htaccess file to your root directory

 When the search engine spiders visit your old web site or web pages, they will automatically be redirected to the new web site or web page.

1 Response to "Web Site Redirection"

http://www.urlsmash.com – Free URL redirection and link hiding service, you can use subdomains in redirection, as well as create your own aliases, Firefox plugin available.
Check guys out the most popular links section of the site, as well as new FREE features coming soon … AND MORE >..

Leave a Reply

 

February 2008
M T W T F S S
« Jan   Mar »
 123
45678910
11121314151617
18192021222324
2526272829  

Categories

Technorati

Add to Technorati Favorites

SEMGURU

Delicious

Linkedin

View Lalit Wason (lalit.dost@gmail.com)'s profile on LinkedIn

Flickr

Eduworldwide Event Pragati Maidan

Eduworldwide Event Pragati Maidan

Eduworldwide Event Pragati Maidan

Eduworldwide Event Pragati Maidan

Jimmy - playing with ball

Jimmy - In morning walk

101_0150

Jimmy

Jimmy

Jimmy

More Photos

Portal I am Working on

Cloud360
Cloud360
Cloud360
Cloud360
SearchMyCampus