What it is and how to use Redirect 302 correctly! – WAU
Redirect 302 is one of the most common redirects we encounter. But, what do we mean by redirection? In the language of the World Wide Web and SEO, redirection is nothing more than a technique to lead users and search engines to a different page from the one requested – redirecting who accesses the page modelo1.com to […]
The Redirect 302 is one of redirects most common to come across.
But, what do we mean by redirection?
In the language of World Wide Web and SEO, redirection is nothing more than a technique to drive users and search engines to a different page than the one requested – redirect who accesses the page modelo1.com to another one called modelo2.com, for example.
In order to have a more systemic view of the subject, we must understand that the server of a website, whenever triggered, automatically issues a code that defines the status of the requested page.
Among the most used codes are: 200 (website or domain found); 403 (the famous forbidden); 404 (server not found) and class status 300, of which indicate a redirect – be it permanent or temporary.
In the case of Redirect 302, its feature is to be a temporary redirect, that is, it should not be used for a long time.
The main doubts about the temporary redirection is if it influences – positively or negatively – in the ranking and in what kind of situations it should be used.
If those are your doubts, our content will be able to resolve them.
Redirect 301 x Redirect 302
The code 301 indicates a permanent redirect, usually used when the domain is definitively replaced and also when the original URLs must direct the visitor to other new URLs.
That is, the rank factor is transferred from the old to the new domain, therefore, all traffic that indicates the original site is redirected to the new landing page.
Temporary redirection (Redirect 302) is used for another purpose.
Unlike the permanent mode, in the temporary the original file / domain is not excluded from the Google database.
And what does that mean? That the redirected domain will be reactivated after a while.
When to use Redirect 301
Supposing that a site called “example.com” came to be called “supposition.com”, and as example.com managed to generate consistent traffic, redirect 301 is used for the “brand” – even if renewed – don’t lose your audience.
This is the reason why the 301 redirect is highly recommended, as it is like building a new website while keeping the popularity, authority and PageRank history acquired by the previous site intact.
In addition, Google (as well as other search engines) has a solid understanding of this redirect, not compromising anything in ranking.
When to use Redirect 302
To better understand the reason for Redirect 302, let’s assume that an e-commerce store does a big promotion lasting seven days.
In order to achieve greater magnitude, the store decides to create an exclusive page for the promotion.
With that, all traffic will be redirected to that page until the end of the promotion – after its end, the original page resumes position.
Its use is also indicated when the site is undergoing a reformulation or maintenance.
Thus, it is possible to continue providing the content to your audience at the same time that the new version of the site is not ready.
Apart from these cases, it is common to use Redirect 302 on pages whose content must be expired, or when the products in focus will remain in stock for a limited time, etc.
In this case, some sites temporarily redirect the home page to direct the focus on specific content.
307 Redirect: What’s the Difference for 302?
When researching more deeply on the subject, it is certain that Redirect 307 will appear as an alternative to 302 for work with temporary redirect.
Officially, 307 is the successor to 302 and is integrated with HTTP 1.1 codes – while 302 is compatible with HTTP 1.0.
As it is a procedure in the implementation period, the indexers did not correctly interpret the 307 redirect, which generated conflicts – and due to this, its use is not recommended.
If you want to better understand the definitions of HTTP 1.1 and 1.0, consult the Internet for RFC 1945 and RFC 2616.
Cautions to be taken when using redirects
All types of redirection, especially Redirect 302, have their risk zones.
This fact must be credited to Black Hat practices and techniques, used by countless opportunists who use redirection as a way to spam.
The spammers circumvent search engines, making the content viewed by users, at the time of the search, not the same as what actually appears on the page to which they are redirected.
Thus, even if the user is browsing carefully, he will be subject to receiving viruses, advertisements and malicious content.
Due to the seriousness of these violations of search engine guidelines, if your site is misinterpreted as spam, it will be subject to very strict and heavy penalties.
But, how can this happen?
The entire process of indexing and scanning sites like Google is done based on algorithms, that is, it is something automated that acts without human judgment and can make this kind of mistake.
What to do for Redirect 302 not harm your website
The first – and main – rule is valid for any and all redirects: the amount of redirects directly influences the interpretation of Googlebot.
The greater the number of redirects, the greater the chances of your domain getting blacklisted.
Therefore, it is recommended to use a maximum of 5 redirects to the same page.
It is also recommended to avoid Redirect 302 to redirect to a different domain, unless the original is actually being maintained.
That being the case, it is more than consistent to choose temporary redirection.
In this article you can learn about what Redirect 302 is and in what situations it is convenient to use.
In addition, we talked about the precautions to be taken when dealing with temporary redirection, since it must be used in very specific situations and with extreme caution not to be configured as spam.
Are you planning to make a migration on your website? Check out our complete guide to succeed!