Values of redirect codes
The status codes listed in the table are used to redirect the request to another address. In each individual case, you need to know which code will be correct.
|301||The requested resource has been permanently moved to a new location (address). When the server returns this code, it automatically redirects the visitor to the new address. The answer should also include this location. He tells the customer a new URL the next time he wants to get the same resource.|
|302||Currently, the server responds to a request with a page from another location, but the requestor must continue to use the original location for future requests.|
|304||The requested page has not undergone any changes since the last request. When this response is returned, the server does not give the page content.|
|307||Currently, the server responds to a request with a page from another location, but the requestor must continue to use the original location for future requests. There is a very small difference between the status code 302 and the status code 307, but you can use both to temporarily give users a different URL. This server status code has the same semantics as code 302, except that the user agent should not change the HTTP protocol method used.|
|308||This means that the requested resource is now always available at another URL specified in the Location: HTTP Response header. It has the same semantics as the HTTP 301 response code, except that the user agent should not change the HTTP protocol method used.|
Check the response code of your server using our HTTP header analyzer — whether it pushes into the Redirects group and get individual tips on website technical optimization!
Check your server's response code
Just share the link to this page with your friends