3xx Redirection

HTTP 308 Permanent Redirect

Like 301, but the client must repeat the request with the same method and body.

308 Permanent Redirect works like 301, but the client must repeat the request with the same method and body. Search engines treat it as a permanent move.

HTTP/1.1 308 Permanent Redirect

When servers send it

  • An API endpoint moved for good and clients POST to it.
  • Permanent http to https or domain moves where methods other than GET matter.

How to handle it

  • Update stored URLs to the one in Location.
  • Some old clients do not know 308; 301 is the safer choice when only GET requests are redirected.

Related status codes

Other status codes

1xx Informational

2xx Success

3xx Redirection

5xx Server error

Search all HTTP status codes