I see all tinyurl like sites use 302
But what's the difference?Seems both are working for me
|
I see all tinyurl like sites use But what's the difference?Seems both are working for me
| ||||
|
feedback
|
|
A 301 (moved permanently) status means the resource has been permanently moved to a new location. The client (browser) should use the new location instead of the old one in future. A 302 (found) status means the resource is temporarily located elsewhere. The client should use the given location for the current request, but in the future should continue to use the old location. Both status codes will have the effect of having the browser follow a redirect. You should choose to use a 301 or 302 status depending on whether the redirect is permanent or temporary. More information about these HTTP response codes can be found in RFC 2616. | |||||
feedback
|
|
They are different in SEO. For 302 google will save the url of redirector and will point users to it. Also (for tinyurl) using 302 make it possible to change redirection, e.g. in case of spam (see http://tinyurl.com/nospam.php?id=amgzs6 example). Using 301 makes harder to change the redirection | |||
|
feedback
|