Permanent
- 301
- Yes
- 308
- Yes
HTTP 308 Permanent Redirect moves a URL for good without changing the method or body. Compare it with 301, see Google's handling and set it in nginx or Apache.
HTTP 308 Permanent Redirect means the resource has a new permanent URL in the Location header, and, unlike 301, the client may not change the request method from POST to GET. Think of it as 301 with the method guarantee. Google treats 308 as equivalent to 301 for Search, so use it for permanent moves, especially of POST endpoints.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
Location header, and the response is heuristically cacheable. RFC 7538 says it is like 301 except that it does not allow changing the request method from POST to GET, and MDN says the method and body are not modified in the redirected request.The server causes it. If you see one in a browser it is the normal redirect and the page loads at the new address.
PUT /v1/items/7 HTTP/1.1
Host: api.example.com
HTTP/1.1 308 Permanent Redirect
Location: https://api.example.com/v2/items/7Use 308 when the URL accepts POST, PUT or DELETE and the method must survive: API versioning, form endpoints, webhooks. Use 301 for ordinary pages. RFC 7538 advises using 308 only when the server is confident the client understands it, or when falling back to the semantics of 300 is not a problem. For temporary moves, the matching codes are 307 and 302.
return accepts a redirect URL for 308; Apache's Redirect accepts a numeric status between 300 and 399 with a URL. Then confirm with curl -sI https://api.example.com/v1/items: the status line says 308 and Location holds the new URL.RFC 9110 warns that 308 might not be recognized everywhere; fall back to 301 if the method does not matter.
RFC 9110 says the content usually is just a short hypertext note; the client uses Location.
MDN notes some applications use 308 in a non-standard way; for example, Google Drive uses a 308 Resume Incomplete response when an upload stalls. That is not a redirect.
Follow Location hop by hop; see redirect chains and redirect loops.
location = /v1/items {
return 308 https://api.example.com/v2/items;
}Redirect 308 "/v1/items" "https://api.example.com/v2/items"Google's crawler guide says 308 is equivalent to 301 and advises using the status code that is semantically appropriate so other clients, such as e-readers or other search engines, can benefit. Its redirects guide lists 308 next to 301 as a permanent server-side redirect. Keep chains short; Googlebot follows up to 10 hops by default. See redirect chains, temporary redirects and the 301 redirect glossary entry, plus Google's redirects documentation.
4 questions people ask next, answered from the sources on this page.
Both are permanent. A 308 forbids changing the request method, while a 301 allows POST to become GET for historical reasons.
Use 308 when the redirected request must keep its method and body. Use 301 for ordinary page moves. Google treats the two as equivalent for Search.
Both keep the method and body. 307 is temporary, so clients keep using the original URL; 308 is permanent.
RFC 9110 says it is much younger than its sibling codes and might not be recognized everywhere, and points to RFC 7538 for deployment considerations.
Run the free audit, then approve the fixes. Every change can be undone.