what are 301 and 302 redirection?

viteko

New Member
I would like to know what is the difference between 301 and 302 redirection?

and what cases and when can I use 301 or 302 redirection?

Thanks
 

elcidofaguy

Active Member
A 301 redirect tells search engines that a page has moved permanently and a 302 redirect informs them of a temporary redirect. To understand better here is an example situation:

1. You are re-developing a page. Until it is completed you will implement a redirect to a temporary page which tells the user of your awesome new page.. In this case use 302 redirect.
2. You have migrated your website to a new CMS. As such the web navigation and urls of posts/pages have changed. Therefore you use redirect from old url to new url. In this case as it is permanent then use 301 redirect.

Now you may be asking whats the big deal between permanent and temporary.. From a SEO perspective a 301 redirect transfers link juice to the new page and therefore the ranking of the old page is transferred to the new page... With temporary redirect zero link juice is transferred...

Hope that helps!
 
  • Like
Reactions: ims
To a user they seem to work the same way, but they aren't the same as far as search engines are concerned. Search engines sense the different types of redirects, and handle them differently. A301 redirect means that the page has permanently moved to a new location. A302 redirect means that the move is only temporary.
 

Dean

Well-Known Member
Another thing is that a 301 will get the pages in the search indexes removed by them (As they learn of the 301 for the pages) because the move is supposed to be permanent.

A 302 will preserve the indexed pages for a while as the search engines think (because they are told) the website with the 302 will be back soon and the move is only temporary.

Cheers, Dean
 

edifymedia

New Member
A 301, or permanently moved, is a redirect that carries and distributes in an absolute manner. You should use a 301 to signify to the crawlers that your content has moved permanently – as in forever.

A 302 status code means Found, or more commonly referred to as “temporarily moved.” This redirect doesn’t carry or pass the link value to the new location. What it does do is get the user to an appropriate location for you so that you aren’t showing them a broken link, a 404 page not found, or an error page.
 
Top