HTTP 308 Permanent Redirect — Method Preserved
Warning3xx redirection
Overview
HTTP 308 Permanent Redirect is like 301 but guarantees the request method is preserved.
Key Details
- Status: 308 Permanent Redirect
- Category: 3xx Redirection
- Same as 301 but method MUST be preserved
- Used for permanent API endpoint moves
Common Causes
- Permanent redirect preserving POST method
- API versioning — old endpoint permanently moved
- Domain migration for APIs
- URL restructuring for non-GET endpoints
Steps
- 1Update all references to use the new URL
- 2Follow the redirect with the same method
- 3Cache the new location for future requests
- 4Use 301 for standard page redirects
Tags
http-status3xx-redirectionhttp-308httpstatus-code
More in 3xx Redirection
http-300-multiple-choicesHTTP 300 Multiple Choices — What It Means & How to Fix It
Warninghttp-301-moved-permanentlyHTTP 301 Moved Permanently — What It Means & How to Fix It
Warninghttp-302-foundHTTP 302 Found — What It Means & How to Fix It
Warninghttp-303-see-otherHTTP 303 See Other — What It Means & How to Fix It
Warninghttp-304-not-modifiedHTTP 304 Not Modified — What It Means & How to Fix It
Warninghttp-305-use-proxyHTTP 305 Use Proxy — What It Means & How to Fix It
WarningFrequently Asked Questions
308 preserves the HTTP method. 301 may change POST to GET.