Temporary
- Method may change to GET
- 302
- Method guaranteed
- 307
HTTP 307 Temporary Redirect sends the client elsewhere without changing the method or body. See how it differs from 302 and 308 and how to set or debug it.
HTTP 307 Temporary Redirect means the resource is temporarily at another URL, and the client must not change the request method when it follows the redirect. It differs from 302 mainly in that guarantee. The server, CDN or app sends it on purpose; keep using the original URL for future requests.
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.MDN says the method and body of the original request are reused for the redirected request, and that a 307 and a 302 behave identically for GET. MDN also says that where you want the method changed to GET, for example to answer a successful PUT with a status monitor or confirmation page, you should use 303 instead. The practical test is simple: if a page view is all that is redirected, 302 and 307 act the same, and the difference shows up for requests such as POST.
POST /api/upload HTTP/1.1
Host: example.com
HTTP/1.1 307 Temporary Redirect
Location: https://backup.example.com/api/uploadPick 307 for a temporary move of an endpoint that receives POST, PUT or DELETE, such as an API failover. Pick 302 only when the request is a plain page view and you do not care how old clients treat the method. If the redirect should become the new address for good, use 301 or 308. If you want the browser to switch to GET on purpose, use 303.
return accepts redirect URLs for 307. Apache's Redirect can take a numeric status, and a status between 300 and 399 requires the URL argument. The Apache docs also warn that POSTs are discarded by mod_alias redirects, so test a real POST with curl -i -X POST before relying on it for write endpoints.Check CDN and framework settings; a 307 can come from any layer in front of your origin.
A client that does not follow the specification may mishandle it; confirm with curl -i that the 307 and Location are correct first.
Compare each hop's Location; a repeated URL means a redirect loop.
location /api/upload {
return 307 https://backup.example.com/api/upload;
}Redirect 307 "/api/upload" "https://backup.example.com/api/upload"Google's crawler guide says a 307 is equivalent to a 302, so it is a temporary redirect: the source page stays in results and the target is a weak signal. If the move is permanent, a 307 under-signals it; switch to 301 or 308. Use the audit view in temporary redirects, keep hops few (redirect chains), and read Google's redirects documentation.
4 questions people ask next, answered from the sources on this page.
The resource is temporarily at a different URL, in the Location header, and the client must not change the request method. MDN adds that the method and body are reused.
A 307 guarantees the method and body do not change. With a 302, older clients incorrectly changed the method to GET, per MDN, and RFC 9110 lets a client change POST to GET.
Redirects are the 3xx codes. The common ones are 301 and 308 (permanent), and 302, 303 and 307 (temporary).
Not if the move is temporary. Google treats it like a 302. For a permanent move, use 301 or 308.
Run the free audit, then approve the fixes. Every change can be undone.