The DevOps Drop
Home / Encyclopedia / HTTP Status Codes / 3xx Redirection Responses / 308 Permanent Redirect

308 Permanent Redirect

The HTTP 308 Permanent Redirect status code indicates that a resource has permanently moved while preserving the original HTTP method.

Published 16 Jul 2026 · HTTP Status Code

What is HTTP 308 Permanent Redirect?

The 308 Permanent Redirect status code indicates that a resource has permanently moved to a new URL.

Unlike 301 Moved Permanently, the 308 response guarantees that the original HTTP method and request body are preserved.

Example

POST /api/users HTTP/1.1

HTTP/1.1 308 Permanent Redirect

Location: https://api.example.com/users

The client repeats the request against the new location using the same method.

308 vs 301

  • 301 may change POST requests to GET
  • 308 always preserves the original method

Common Uses

  • API migrations
  • Permanent URL changes
  • Service moves
  • Infrastructure changes

Why Does It Matter For DevOps?

308 redirects are useful when migrating services while avoiding changes to client behaviour.

  • Reverse proxy configuration
  • API gateways
  • Application migrations
  • Cloud migrations

Summary

The 308 Permanent Redirect response permanently moves a resource while preserving the original HTTP request method.