~/devtools / http-status / 308
tool::http-status-detail

308 Permanent Redirect

Permanent redirect preserving the original HTTP method.

ad · 728×90
Status Code
308
Name
Permanent Redirect
Category
3xx

Detailed Explanation

HTTP 308 Permanent Redirect indicates that a resource has permanently moved to a new URL while preserving the HTTP method. Like 301, but unlike 301, it does not allow clients to change the method (e.g., POST stays POST). It is the preferred choice when permanently renaming API endpoints to avoid breaking POST or PUT clients.

Common Causes
  • An API endpoint is permanently renamed and POST method must be preserved
  • A domain change requires permanent redirect while keeping method intact
  • URL restructuring where PUT/DELETE requests need permanent redirect
  • Microservice migration routing old paths to new service permanently
How to Fix
  • 1.308 is normal behavior — update clients to use the new URL
  • 2.From an SEO perspective, PageRank is passed exactly like 301
  • 3.For GET-only resources, 301 is acceptable
  • 4.Verify the Location header contains the correct new URL

Related HTTP Headers

LocationCache-Control

Response Example

HTTP/1.1 308 Permanent Redirect
Location: https://api.newdomain.com/v2/users
Cache-Control: public, max-age=31536000

Related Status Codes

300Multiple ChoicesMultiple options for the requested resource.301Moved PermanentlyThe resource has permanently moved to a new URL.302FoundThe resource is temporarily at a different URL.303See OtherRedirect to another resource using GET.304Not ModifiedThe cached version is still valid; no new content to return.
ad · 300×250
Back to all status codes
// related tools
Cron Expression Generator
Build and parse cron expressions visually. Generate human-readable descriptions and preview next execution times.
jwt
JWT Decoder
Decode and inspect JWT tokens. View header, payload, and signature details.
rx
Regex Tester
Test regular expressions with live matching, group highlighting, and explanations.
Color Converter
Convert colors between HEX, RGB, HSL, and more. Pick colors visually.