HTTP 308 Permanent Redirect — What It Means
What HTTP status code 308 Permanent Redirect means, when servers return it, and how to handle it correctly.
Published September 23, 2026
HTTP 308 Permanent Redirect is like 301 but guarantees the request method and body are reused at the new URL. It is the permanent counterpart of 307.
What it means
Use it for permanent API or form endpoint moves where POST must stay POST.
Common causes: Permanent API endpoint relocation; Domain migrations that must preserve POST; Strict redirect handling.
On the wire
POST /old-endpoint HTTP/1.1
HTTP/1.1 308 Permanent Redirect
Location: /new-endpoint
Practical examples
Test it from the shell
curl -i https://example.com/path # look for HTTP 308Handling 308 in code or config
res.redirect(308, '/new-endpoint')How to fix it
Use 301 for simple page moves; Update clients to the new URL; Avoid redirect loops.
1. Reproduce: curl -i <url>
2. Confirm the status is 308
3. Apply the fix above and re-testCommon mistakes
- Treating this as an error when it is a normal part of HTTP.
- Update clients to the new URL
- Ignoring the response headers that explain the details.
Key takeaways
- 308 means Permanent Redirect.
- HTTP 308 Permanent Redirect is like 301 but guarantees the request method and body are reused at the new URL.
- Read the response headers and logs for the exact cause.
FAQ
308 vs 301?
308 forbids changing the method; 301 historically allowed POST to become GET.
Is 308 a client or server error?
It is a redirection status code, in the 3xx class.