HTTP 308 Permanent Redirect vs 505 HTTP Version Not Supported
HTTP 308 (Permanent Redirect) is a 3xx Redirection response, while 505 (HTTP Version Not Supported) is a 5xx Server Error response. 308 indicates that the resource has been permanently moved. Like 301, but guarantees the HTTP method will NOT be changed. In contrast, 505 means that the server does not support the HTTP version used in the request.
Description
The resource has been permanently moved. Like 301, but guarantees the HTTP method will NOT be changed.
When You See It
For permanent URL changes where POST requests must remain POST.
How to Fix
Update all references to the new URL. The HTTP method is preserved.
Description
The server does not support the HTTP version used in the request.
When You See It
When a client uses an HTTP version the server doesn't support.
How to Fix
Use a supported HTTP version (typically HTTP/1.1 or HTTP/2).
Key Differences
308 is a 3xx Redirection response, while 505 is a 5xx Server Error response.
HTTP 308: The resource has been permanently moved. Like 301, but guarantees the HTTP method will NOT be changed.
HTTP 505: The server does not support the HTTP version used in the request.
You encounter 308 when for permanent URL changes where POST requests must remain POST.
You encounter 505 when when a client uses an HTTP version the server doesn't support.
When to Use Which
For 308 (Permanent Redirect): Update all references to the new URL. The HTTP method is preserved. For 505 (HTTP Version Not Supported): Use a supported HTTP version (typically HTTP/1.1 or HTTP/2).