308 Permanent Redirect

Estimated reading: 2 minutes 1508 views

This response code indicates the requested resource has been moved permanently. The location of the resource’s new location is indicated in the Location header.

With this form of redirect a browse r will automatically navigate to the new URL specified. Search engines will also update their links to the redirected resource.

This redirect ensures that the request method will not be altered. A 301 redirect, however, will sometimes change the method to a GET method.

If this response is unexpected the user should confirm the information about their request. Re-attempt the request if needed. If the response code continues and the user is unable to access their intended resource then they should contact support.

The HyperText Transfer Protocol (HTTP) 308 Permanent Redirect redirect status response code indicates that the resource requested has been definitively moved to the URL given by the Location headers. A browser redirects to this page and search engines update their links to the resource (in ‘SEO-speak’, it is said that the ‘link-juice’ is sent to the new URL).

The request method and the body will not be altered, whereas 301 may incorrectly sometimes be changed to a GET method.

Note: Some Web applications may use the 308 Permanent Redirect in a non-standard way and for other purposes. For example, Google Drive uses a 308 Resume Incomplete response to indicate to the client when an incomplete upload stalled. (See Perform a resumable download on Google Drive documentation.)

Status

308 Permanent Redirect

Specifications

Specification
The Hypertext Transfer Protocol Status Code 308 (Permanent Redirect)
# status.308