Free auditStart free
GuideError · HTTP status codes

HTTP 307 Temporary Redirect

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.

3 min
read
6
sources
Oct 23, 2026
updated
Scaplet Editorial Team
author
The short answer

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.

  1. What a 307 response means
  2. 307 vs 302 vs 308
  3. Set up or debug a 307
  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 307 response means

RFC 9110 says a 307 indicates that the target resource resides temporarily under a different URI and the user agent "MUST NOT change the request method if it performs an automatic redirection to that URI." Because the redirection can change over time, the client ought to keep using the original target URI. The server SHOULD send a 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.

A 307 keeps the method
POST /api/upload HTTP/1.1
Host: example.com

HTTP/1.1 307 Temporary Redirect
Location: https://backup.example.com/api/upload
03Worth knowing

Set up or debug a 307

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

Seeing 307 on a page you never redirected?

Check CDN and framework settings; a 307 can come from any layer in front of your origin.

Client drops the body?

A client that does not follow the specification may mishandle it; confirm with curl -i that the 307 and Location are correct first.

Bouncing endlessly?

Compare each hop's Location; a repeated URL means a redirect loop.

nginx
location /api/upload {
    return 307 https://backup.example.com/api/upload;
}
Apache: numeric status in mod_alias
Redirect 307 "/api/upload" "https://backup.example.com/api/upload"
04Explained

What it does to SEO

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.

Sources · 6

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. 02MDN: 307 Temporary Redirectdeveloper.mozilla.org · checked 2026-10-25
  3. 03Redirects and Google Searchdevelopers.google.com · checked 2026-10-25
  4. 04How HTTP status codes affect Google's crawlersdevelopers.google.com · checked 2026-10-25
  5. 05nginx: ngx_http_rewrite_module, returnnginx.org · checked 2026-10-25
  6. 06Apache 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 does code 307 mean?

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.

02What is the difference between a 302 redirect and a 307 redirect?

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.

03What is the status code for a redirect in HTTP?

Redirects are the 3xx codes. The common ones are 301 and 308 (permanent), and 302, 303 and 307 (temporary).

04Does a 307 hurt SEO?

Not if the move is temporary. Google treats it like a 302. For a permanent move, use 301 or 308.

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