HTTP 308 Permanent Redirect vs 508 Loop Detected
HTTP 308 (Permanent Redirect) is a 3xx Redirection response, while 508 (Loop Detected) 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, 508 means that the server detected an infinite loop while processing the request (WebDAV).
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 detected an infinite loop while processing the request (WebDAV).
When You See It
When WebDAV encounters circular references in bindings.
How to Fix
Fix the circular reference in the WebDAV configuration.
Key Differences
308 is a 3xx Redirection response, while 508 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 508: The server detected an infinite loop while processing the request (WebDAV).
You encounter 308 when for permanent URL changes where POST requests must remain POST.
You encounter 508 when when WebDAV encounters circular references in bindings.
When to Use Which
For 308 (Permanent Redirect): Update all references to the new URL. The HTTP method is preserved. For 508 (Loop Detected): Fix the circular reference in the WebDAV configuration.