HTTP Status Codes / 3xx HTTP Status Codes / HTTP 308

308 Permanent Redirect

This is an educational reference page about HTTP 308 Permanent Redirect. The page itself is served as 200 OK so it can be indexed as HTTP documentation.

This and all future requests should be directed to the given URI. 308 parallel the behaviour of 301, but does not allow the HTTP method to change. So, for example, submitting a form to a permanently redirected resource may continue smoothly.

Specification

Registered in the IANA HTTP Status Code Registry as Permanent Redirect. Defined in RFC 9110, Section 15.4.9.

What it means

HTTP 308 means the resource permanently moved and the client must preserve the request method and body.

Common causes

How to fix it

Example response

HTTP/1.1 308 Permanent Redirect
Location: https://api.example.com/v2/resource

Developer notes

308 is permanent like 301, but unlike many 301 implementations it preserves the HTTP method.

Header and content rules

What RFC 9110 says about a 308 response, quoted from the RFC.

The same rule is in the response obligations table and its JSON.

Related comparisons

3xx redirection – further action needs to be taken in order to complete the request


HTTP status code lookup
REST API status code chooser
cURL command generator
By Ping Now, a website/API/service uptime monitor
Data from Wikipedia