Free auditStart free
GuideError · HTTP status codes

HTTP 308 Permanent Redirect

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.

3 min
read
7
sources
Oct 21, 2026
updated
Scaplet Editorial Team
author
The short answer

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.

  1. What a 308 response means
  2. 308 vs 301
  3. Set up and debug a 308
  4. What it does to SEO
30-second check

Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?
Summarize this page withChatGPTClaudePerplexityGoogleAI Mode
01Check it

What a 308 response means

RFC 9110 says a 308 indicates that the target resource "has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs." The server SHOULD generate a 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.

A 308 keeps the method
PUT /v1/items/7 HTTP/1.1
Host: api.example.com

HTTP/1.1 308 Permanent Redirect
Location: https://api.example.com/v2/items/7
02What differs

308 vs 301

Permanent

301
Yes
308
Yes

POST may become GET

301
Yes, for historical reasons (RFC 9110)
308
No (RFC 7538: 308 does not allow changing POST to GET)

Google Search

301
Used as a signal that the target should be canonical; a strong signal per Google's crawler guide
308
Equivalent to 301, per Google's crawler guide

Older client support

301
The older code; 308 came later
308
RFC 9110 says it is much younger (June 2014) and might not be recognized everywhere

Use 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.

03Worth knowing

Set up and debug a 308

nginx's 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.

A client reports an unknown status

RFC 9110 warns that 308 might not be recognized everywhere; fall back to 301 if the method does not matter.

Not seeing a body on the 308?

RFC 9110 says the content usually is just a short hypertext note; the client uses Location.

Seeing 308 where you expected something else?

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.

nginx
location = /v1/items {
    return 308 https://api.example.com/v2/items;
}
Apache
Redirect 308 "/v1/items" "https://api.example.com/v2/items"
04Explained

What it does to SEO

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.

Sources · 7

Every fact, linked and dated.

Official docs first. The date is when we last opened each page.
  • rfc-editor.org
  • mozilla.org
  • google.com
  • nginx.org
  • apache.org
  1. 01RFC 9110: HTTP Semantics, Redirection 3xxrfc-editor.org · checked 2026-10-25
  2. 02RFC 7538: The Hypertext Transfer Protocol Status Code 308 (Permanent Redirect)rfc-editor.org · checked 2026-10-25
  3. 03MDN: 308 Permanent Redirectdeveloper.mozilla.org · checked 2026-10-25
  4. 04Redirects and Google Searchdevelopers.google.com · checked 2026-10-25
  5. 05How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-10-25
  6. 06nginx: ngx_http_rewrite_module, returnnginx.org · checked 2026-10-25
  7. 07Apache HTTP Server 2.4: mod_alias, Redirecthttpd.apache.org · checked 2026-10-25
Questions

Asked a lot.

4 questions people ask next, answered from the sources on this page.

01What is the difference between HTTP status codes 308 and 301?

Both are permanent. A 308 forbids changing the request method, while a 301 allows POST to become GET for historical reasons.

02Should I use 301 or 308?

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.

03What does a 307 or 308 redirect mean?

Both keep the method and body. 307 is temporary, so clients keep using the original URL; 308 is permanent.

04Is 308 supported everywhere?

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.

Free · 2 minutes

Tools point. Agencies advise. This one ships.

Run the free audit, then approve the fixes. Every change can be undone.

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • 0→7 ChatGPT citations in six weeks Paylane