February 1st, 2011

Many webmasters may have used 301 Redirect which is regarded as one of the most useful function on website management. It’s the most efficient and Search Engine Friendly method for redirection. If you want to redirect one site or page to another, 301 Redirect must be a safe way. The code “301” has its specific meaning, which is interpreted as “permanently”. Obviously 301 redirect is used to indicate that a page has permanently moved.

Suppose I have a several years old domain with high rank and a lot of quality back links. Now, I want to change the old domain name to a new one that I just registered. If I just change the domain name without any other steps, all I have done before will be wasted. So how to automatically redirect to a new domain when visitors link to the old domain? I think 301 Redirect can do me much favor. If I create a 301 redirect from old domain to new domain, the outcome would be different. That is because all valuable traffic will be transferred to the new domain.

How to create a 301 redirect? In CPanel, there is a button named Redirects which is the entrance for creating 301 redirects, maybe it’s the easiest way on redirection in HostEase’s server. Generally, we need choose 301 or 302 when we create Redirect. Comparing with 301, the code “302” means “temporary”.

In addition to this way, adding codes in .htaccess file in web server is another way to implement 301 Redirect. The codes are shown as following.

Redirect 301 /old.html http://www.domain.com/new.html

These codes show that once someone visits the old.html page, it will automatically be redirected to new.html page. Please note the format; the former path is relative while the later is absolute. Don’t confuse this two.

Another way is to use Mod_Rewrite for 301 Redirect. Sometimes, you may want to change a new domain for your website. However, you don’t want to waste the traffic and PR value of your old domain.Then you can use this way to make it in .htaccess file.In this way, you can make full use of the traffic and PR value of your old domain so that it’s not wasted.

RewriteEngine on
RewriteCond %{HTTP_HOST} ^olddomain\.com$ [NC]
RewriteRule ^(.*)$ http://newdomain.com/$1 [L,R=301]

These codes make all traffic to olddomain.com be redirected to newdomain.com. That’s so helpful for site’s rank.

It’s convenient to create 301 redirects on our server, dear friends, do you want to have a try?

3 Responses

  1. That’s look great that people would love to share their educational matters and experience on internet, this would be good for readers who must face again this issues in their projects.


  2. Very informative and helpful. I was searching for this information but there are very limited resources. Thank you for providing this information


  3. your article is very helpful thanks.


Leave a Reply

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