Wednesday, February 9, 2011

What is 301 and 302 redirect ?



What is a Redirection?

A redirect is a way to send both users and search engines to a different URL than the one they originally requested. Below are descriptions of some of the commonly used types of redirects.

301 Moved Permanently

A 301 Redirect is a permanent redirect which passes between 90-99% of link juice (ranking power) to the redirected page. 301 refers to the HTTP status code for this type of redirect. In most instances, the 301 redirect is the best method for implementing redirects on a website.

302 Found (HTTP 1.1) / Moved Temporarily (HTTP 1.0)

A 302 Redirect is a temporary redirect and passes 0% of link juice (ranking power) and in most cases should not be used. The Internet runs on a protocol called HyperText Transfer Protocol (HTTP) which dictates how URLs work. It has two major versions, 1.0 and 1.1. In the first version 302 referred to the status code 'Moved Temporarily'. This was changed in version 1.1 to mean 'Found'.

307 Moved Temporarily (HTTP 1.1 Only)

A 307 Redirect is the HTTP 1.1 successor of the 302 redirect. While the major crawlers will treat it like a 302 in some cases, it is best to use a 301 for almost all cases. The exception to this is when content is really moved only temporarily (such as during maintenance) AND the server has already been identified by the search engines as 1.1 compatible. Since determining if the search engines have identified this essentially impossible, it is best to use a 302 redirect.


No comments:

Post a Comment