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

Canonical: https://scaplet.com/errors/http/307

Guide Error · HTTP status codes

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

307 3xx · Redirection

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](#what-a-307-response-means)
2. [307 vs 302 vs 308](#307-vs-302-vs-308)
3. [Set up or debug a 307](#set-up-or-debug-a-307)
4. [What it does to SEO](#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 with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F307%20(%22HTTP%20307%20Temporary%20Redirect%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F307%20(%22HTTP%20307%20Temporary%20Redirect%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F307%20(%22HTTP%20307%20Temporary%20Redirect%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Ferrors%2Fhttp%2F307%20(%22HTTP%20307%20Temporary%20Redirect%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

_01_Check 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](/glossary/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](/errors/http/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
```

_02_Choose by permanence and method

## 307 vs 302 vs 308

### Temporary

Method may change to GET

[302](/errors/http/302)

Method guaranteed

307

### Permanent

Method may change to GET

[301](/errors/http/301)

Method guaranteed

[308](/errors/http/308)

Pick 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](/errors/http/303).

_03_Worth 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](/seo-issues/redirect-loops).

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"
```

_04_Explained

## What it does to SEO

[Google's crawler](/ai-crawlers/googlebot) guide says a 307 is equivalent to a 302, so it is a [temporary redirect](/glossary/302-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](/seo-issues/temporary-redirects), keep hops few ([redirect chains](/seo-issues/redirect-chains)), and read Google's [redirects documentation](https://developers.google.com/search/docs/crawling-indexing/301-redirects).

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. 01 [RFC 9110: HTTP Semantics, Redirection 3xx](https://www.rfc-editor.org/rfc/rfc9110#name-307-temporary-redirect) rfc-editor.org · checked 2026-10-25
2. 02 [MDN: 307 Temporary Redirect](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/307) developer.mozilla.org · checked 2026-10-25
3. 03 [Redirects and Google Search](https://developers.google.com/search/docs/crawling-indexing/301-redirects) developers.google.com · checked 2026-10-25
4. 04 [How HTTP status codes affect Google's crawlers](https://developers.google.com/crawling/docs/troubleshooting/http-status-codes) developers.google.com · checked 2026-10-25
5. 05 [nginx: ngx_http_rewrite_module, return](https://nginx.org/en/docs/http/ngx_http_rewrite_module.html) nginx.org · checked 2026-10-25
6. 06 [Apache HTTP Server 2.4: mod_alias, Redirect](https://httpd.apache.org/docs/2.4/mod/mod_alias.html) httpd.apache.org · checked 2026-10-25

Questions

## Asked a lot.

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

_01_ What 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.

_02_ What 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.

_03_ What 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).

_04_ Does a 307 hurt SEO?

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

## Keep learning

[All errors](/errors)

[Learn HTTP 302 Found HTTP status codes](/errors/http/302) [Related Temporary redirects that should be permanent Redirects](/seo-issues/temporary-redirects) [Read next HTTP 303 See Other HTTP status codes](/errors/http/303) [Do Run a free site audit Free, about two minutes](/site-audit)

More in HTTP status codes
[508 Loop Detected](/errors/http/508) [510 Not Extended](/errors/http/510) [511 Network Authentication Required](/errors/http/511) [5xx errors](/errors/http/5xx-errors) [HTTP 200 OK](/errors/http/200) [HTTP 201 Created](/errors/http/201) [HTTP 204 No Content](/errors/http/204) [HTTP 206 Partial Content](/errors/http/206) [HTTP 301 Moved Permanently](/errors/http/301) [HTTP 302 Found](/errors/http/302) [HTTP 303 See Other](/errors/http/303) [HTTP 304 Not Modified](/errors/http/304) [HTTP 307 Temporary Redirect](/errors/http/307) [HTTP 308 Permanent Redirect](/errors/http/308) [HTTP 400 Bad Request](/errors/http/400) [HTTP 401 Unauthorized](/errors/http/401) [HTTP 405 Method Not Allowed](/errors/http/405) [HTTP 407 Proxy Authentication Required](/errors/http/407) [HTTP 408 Request Timeout](/errors/http/408) [HTTP 409 Conflict](/errors/http/409) [HTTP 412 Precondition Failed](/errors/http/412) [HTTP 431 Request Header Fields Too Large](/errors/http/431) [HTTP 499 Client Closed Request](/errors/http/499) [HTTP 500 Internal Server Error](/errors/http/500)

Terms on this page
[User agent](/glossary/user-agent) [302 redirect](/glossary/302-redirect)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

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

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
