What is 301 & 302 Redirect: Everything You Need to Know

Team TypeStack
Team TypeStack ...
Dec 09, 2022  . 4 min read
Table of Content

Talking about the kind of redirects we have, 301 and 302 are among the most important ones. As we know, redirects are used for redirecting users as well as search engines to another URL. Choosing the right kind of redirect is important because a wrong selection can negatively impact the SEO ranking of your website. So, in this blog, we are going to talk about an essential aspect from the technical SEO point of view- Redirects. We are going to learn what redirects are, how we implement them, and what the two types of redirects are - 301 and 302. 

What is a redirect?  

So let's begin with the definition basic definition, which says that a redirect is a way to send both users and search engines to a different URL from the one they are originally requested. Suppose a user types www.x.com in the address bar; but when the page loads it shows https://www.x.com, so this is basically a kind of redirection.

Also, if you have a .com (primary) domain and you have also purchased the .in (secondary) domain, in that case, you can redirect the secondary domain to the primary one. So, anybody typing a .in domain will be redirected to the .com domain. 

Talking about the two types of redirects - 301 and 302 

The 301 redirection sometimes it is called permanent redirection, whereas the 302 redirection is basically temporary, and for this reason, it is called a temporary redirect. So, how do these two redirections actually work, and what are they provide us? Let’s find out!

When a URL has been moved permanently to another URL, we will implement the 301 redirect. If you are going to buy SSL, and you want to use 301 then it will be a permanent redirection; which means the crawler will never come back to the old URL. Temporary redirection is one you are basically redirecting a user for the crawlers to a different URL for a specific time period.

The second important point is that redirect passes, between 90 to 99 percent of the link equity i.e. the ranking power of the link value to the redirected page. For example, if you have a URL that has been running there for like four to six months, and it has a good number of backlinks. Now, when are shifting it to 301 redirection, the backlink strength that the URL is having will be transferred to the other one. So broadly speaking, 301 redirects are implemented when you want to move all of the power to the destination URL after the source has changed permanently 

What’s the purpose of 302 redirection?

When we talk about 302 redirection, it indicates that the URL has been temporarily moved to another URL. So, we are talking about a temporary shift here and not a permanent one. 

As it is not basically a permanent shift, hence in that case we do not require all the SEO value to be transferred to the new domain. After all, will be coming back to our previous URL eventually. Hence, there's no need to pass all the SEO value or all the link trends to the new domain 

When it comes to 302 redirections, search engines don't immediately pass page rank to the destination URL. It means, 302 doesn't indicate that the destination URL should be indexed. A classic example of using 302 redirection can be the A/B testing of landing pages. If you’ve got two landing pages and there is a need to find which one is the better, you can use the 302 redirect option.  


The use of redirects depends solely on the question that whether you want the action to the permanent or temporary. The more you know about the different use cases related to these redirects, the better you will get at implementing them. So, try them out!