7
I would like to know the difference between these two types of redirect code: 301 and 302.
I realized that they are called on Google’s Webmaster Tools Permanent redirection and Temporary redirection, respectively the 301
and the 302
.
Questions:
But what’s the difference? It matters so much to redirect using one or the other?
For example, in a redirect when the user logs in, I should use
301
or302
?What would that be "permanent"? I didn’t understand it very well. It seemed to me to be related to a url that now will always be redirected to another.
link
– novic
This sounds much more like an SEO decision. Useful links: https://seo-hacker.com/301-302-redirect-affect-seo/ http://www.stepforth.com/blog/2008/redirects-permanent-301-vs-temporary-302/
– MarceloBoni
It means that: 302 is the shift of the employee from work to home, and 301 is when the employee is fired?
– Wallace Maxters
The analogy can be used :P
302
the employee is no longer in the service, this at home, the boss needs to talk to the employee... ask the attendant (in case google search engines) to make a call to the employee’s home.301
the employee is no longer in the service, was fired, the boss needs to talk to the employee.... but the employee has already killed himself and can no longer be contacted :/– MarceloBoni