I would like to know the difference between these two types of redirection code: 301 and 302.
I noticed that they are called in the Google Webmaster Tools of Permanent redirect and Temporary redirect , respectively 301
and 302
.
Questions:
-
But what's the difference? Is it so important to redirect using one or the other?
-
For example, in a redirect when the user logs in, should I use
301
or302
? -
What would this "permanent" be? I did not quite understand. It seemed to be related to a url that will now always be redirected to another.