SEMGURU – A Web 2.0 Blog

Web Site Redirection

Posted 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.

Advertisements

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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

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

SEMGURU

Error: Twitter did not respond. Please wait a few minutes and refresh this page.

Delicious

Linkedin

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

Technorati

Add to Technorati Favorites

Monthly Traffic Reports

  • 23,463 hits

Tracking

Real Time Web Analytics Clicky
%d bloggers like this: