508 Loop Detected — Causes & Fix
HTTP 508 (Loop Detected) means the server detected an infinite loop while processing the request and stopped (originally a WebDAV code).
- Applies to
- Any website or web server (HTTP standard)
- Time to fix
- 15 minutes – 2 hours
What it means
Causes include recursive server logic, circular references in WebDAV operations, or misconfigured includes/redirect processing. This is a server-side (5xx) error defined in RFC 9110 (HTTP Semantics) — the request was valid, so the fix is on the server/origin side, not the visitor's.
Symptoms
- "508 Loop Detected"
- Requests fail after the server spots a loop
How to fix it
- 1
Break the loop (operator)
1. Identify the recursive logic or circular reference and fix it.
- 2
Review configuration
1. Check for self-referential includes, rules, or WebDAV bindings that recurse.
Frequently asked questions
What causes 508?
The server got stuck in an infinite loop handling the request (often recursive logic or circular references) and aborted to protect itself.
Last updated July 20, 2026
Guidance only — always consult a qualified professional or the official service manual before carrying out repairs.