← All Status Codes
308
Permanent Redirect
↪️ Redirection
Low Risk
📖 What Is HTTP 308?
The resource has permanently moved and the HTTP method must be preserved. Like 301 but guarantees the method is not changed to GET.
🛡️ Security Implications
Same as 307 — method preservation means sensitive POST data follows the redirect. Ensure permanent redirect targets are controlled.
🔍 Common Causes
Permanent URL change where the HTTP method must be preserved (API endpoint migration).
🔧 How to Fix
Use for API redirects where POST/PUT/DELETE must be preserved. Validate target URLs.
🖥️ How to Check
curl -I -o /dev/null -w "%{http_code}" https://example.com