301 Redirection is the process of forwarding one URL to another URL. Or a redirect is a way to send both users and search engines to a different URL than the one they originally requested.

Types of Redirects

    * 301 ('Moved Permanently') - Recommended for SEO
    * 302 ('Found' or 'Moved Temporarily')
    * Meta Refresh

A 301 Redirect is a permanent redirect which passes between 90-99% of link juice (ranking power) to the redirected page. In many scenario, the 301 redirect is the best method for implementing redirects on a website.

A lot of people lose out on valuable search engine traffic due to incorrectly configuring our redirects.It is very import that when a search engine comes to crawl your website it is able to follow any redirects you have set up.

Suppose you have a website and you create a redirect such that whenever any visitor types in the URL he is automatically redirected to, If the Search Engine is not able to follow the redirect it would think that has NO contents, would end up ranking very badly in search engines.

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.

Meta Refresh

Meta refreshes are a type of redirect that is executed on the page level rather than the server level (They are usually slower and not a recommended SEO technique). They are most commonly associated with a 5 second count down with text "If you are not redirected in 5 seconds, click here". Meta refreshes do pass some link juice but are not recommended as an SEO tactic due to usability and the loss of link juice passed.

Redirect to www (htaccess redirect)

Create a .htaccess file with the below code, it will ensure that all requests coming in to will get redirected to
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^ [nc]
rewriterule ^(.*)$$1 [r=301,nc]

Please REPLACE and with your actual domain name.

How 301 Redirect work

Simple example to understand,  URL that needs to redirect to another address permanently.

There are multiple options for doing this, but in general, a single one, the 301 redirect, is preferable for both users and search engines. Serving a 301 indicates to both browsers and search engine bots that the page has moved permanently. Search engines interpret this to mean that not only has the page changed location, but that the content, or an updated version of it, can be found at the new URL. The engines will carry any link weighting from the original page to the new URL, as below:

Be aware that when moving a page from one URL to another, the search engines will take some time to discover the 301, recognize it, and credit the new page with the rankings and trust of its predecessor. This process can be lengthier if the given web page if search engine spiders rarely visit it or if the new URL doesn't properly resolve.


Post a Comment