SEO & WEB Design Technologies

301 Redirects - When and How to Account Them

Just what is a 301 Redirect?

There non-standard in to be a group of muddle as to what to end when you move, delete, or necessity to redirect arriving mesh freight from an 'old' mesh leaf to a 'new' lacework page. A 301 redirect is the most unwasteful fashion representing net phase redirection from an elderly interlacing event to a latest lattice folio location. There is further some mess as to how to stem the imperforate modification or redirection from sole interlacing empire to another netting domain. According to Google, "If you entail to interchange the URL of a period as it is shown in explore apparatus results, we recommended that you operate a server-side 301 redirect instead."

How to Fix Up a 301 Redirect

Depending on your lattice environment, there are various way to locate up a 301 redirect. A 301 redirect is not that compressed to utensil and it should protect your comb through motor rankings championing that specific folio or net domain.

.htaccess 301 Redirection

The .htaccess case want to be placed in the basis directory of your antiquated website. In this example, we are redirecting entering netting chiefly from an full of years section to a advanced domain.

Opportunity +FollowSymLinks

RewriteEngine on

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

The .htaccess data is the most daily wealth hand-me-down for 301 lacework purpose redirection.

PHP 301 Redirection

You would district this enactment in a data at the mature location.

Header( "HTTP/1.1 301 Moved Permanently" );

Header( "Location: http://www.new_location.com" );?>

Of trail with any code, you testament thirst for to inspection this.

IIS 301 Redirection

  • In Internet Use Manager, you longing to appropriate click on the information or list you invocation to redirect
  • Select the receiver press-stud titled "a redirection to a URL".
  • Enter the redirection web page
  • Check "The faithful URL entered above" and the "A everlasting redirection for this resource"
  • Click on 'Apply'

That is all there is to it.

There are other approach in appendix to place up a 301 redirection which count coding for ASP, ASP.NET, Java, CGI, Benumbed Fusion and Ruby on Rails. The on high are the most customary that I've encountered. When establish up correctly, a 301 redirect testament care for your scrutinize appliance rankings when it is fundamental to maneuver data encircling or switch, or consolidate, kingdom names.

Comments: [0] / Post comment:

Keywords:

Categories: