301 Google-Safe Redirection Without loosing Page Rank

From time to time, you want to change domain names for some reason but you don’t want to loose all the credibility you gained over the years or the google rank you managed to get. The best way to switch over but still keep your original page rank for the domain is to perform 301 redirect.

There are lots of ways to achieve this through many different languages but people are generally aware of doing it through .Htaccess file alone. Today, I am going to show you how to achieve this result through many different ways. If you want to do it in simplest of forms, then please go to our post about Bulletproof Way to Redirect Traffic from Old to New Domain.

IIS Redirect

  • In internet services manager, right click on the file or folder you wish to redirect
  • Select the radio titled “a redirection to a URL”.
  • Enter the redirection page
  • Check “The exact url entered above” and the “A permanent redirection for this resource”
  • Click on ‘Apply’

ColdFusion Redirect

[codebox 1]

PHP Redirect

[codebox 2]

ASP Redirect

[codebox 3]

ASP.Net Redirect

[codebox 4]

JSP (Java) Redirect

[codebox 5]

CGI (PEARL) Redirect

[codebox 6]

Ruby on Rails Redirect

[codebox 7]

Credit goes to WebConfs for compiling this.