308 Permanent Redirect

The destination has permanently changed and clients should preserve the method and body when following the move.

All HTTP status codes

What does HTTP 308 mean?

A 308 combines permanent relocation with method preservation. It can remove ambiguity when moving an endpoint that receives writes, but it also makes a wrong destination persistent for clients that cache it. Establish ownership of the new endpoint, support for the original operation and the treatment of query parameters before rolling the redirect out broadly.

An investigation example

Illustrative API-move investigation
POST /v1/intake returns 308 Permanent Redirect.
New endpoint rejects an expected content type.
Action: make the replacement compatible before retaining the permanent move.
Verify: representative existing clients can submit the original body and retrieve the resulting record.

When this response is used

  • An API migrates a write endpoint to a permanent new URL.
  • A site permanently normalises a hostname, scheme or path while retaining request semantics.

Diagnose the response

Validate the new route before caching a permanent redirect, especially for forms, uploads and API clients.

  • Verify the target with every method that real clients use, including body-bearing requests. Check that the new endpoint preserves authentication and handles the same input contract.
  • Update internal links, API clients and sitemap URLs to the destination. Leaving traffic on the old URL adds an avoidable hop and another point of failure.
  • Test query strings and path escaping before rollout. If you fix a bad permanent redirect, account for retained responses in browsers and intermediary caches.

What it means for website monitoring

Verify old entry points and new destinations together after a permanent move. Include the original method in any workflow checks; page availability alone covers only the read path.

Reference