---
title: "307 Temporary Redirect"
description: "307 Temporary Redirect sends visitors to another address for now and keeps the request method and data exactly the same on the next request."
url: https://ursy.com/wiki/307-temporary-redirect/
updated: 2026-11-24T23:00:33+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/wiki/307-temporary-redirect/
---

# 307 Temporary Redirect

> 307 Temporary Redirect sends visitors to another address for now and keeps the request method and data exactly the same on the next request.

**307 Temporary Redirect is an [HTTP](https://ursy.com/wiki/http/) status code that sends a visitor to a different address for now, while telling them the original address is still the right one, and the request must be repeated in exactly the same form.** A form sent with POST stays a POST, with the same data, at the new address.

## What is a 307 redirect? {#what-is-a-307-redirect}

A [redirect](https://ursy.com/wiki/redirect/) is a reply that says “not here, try there”. The server gives a status code from the 300 group and a Location header with the new address. The HTTP standard, [RFC 9110](https://www.rfc-editor.org/rfc/rfc9110.html#section-15.4.8), says that with 307 the target is for the moment at a different address, and the [user agent](https://ursy.com/wiki/user-agent/) must not change the request method if it follows the redirect itself. The server should include a Location header with that address.

That last rule is the whole reason 307 exists. Older browsers often turned a POST into a GET when they followed a 302, so the data in the form was lost. RFC 9110 now allows a POST to become a GET for 301 and 302. [MDN’s guide to redirections](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Redirections) says 307 was created to remove that doubt for methods other than GET.

## How is it different from 301, 302, 303 and 308? {#how-is-it-different-from-301-302-303-and-308}

| Code | Lasts | Method and body on the next request | Typical use |
| --- | --- | --- | --- |
| 301 Moved Permanently | For good | GET stays GET; others may become GET | A page has a new home |
| [308 Permanent Redirect](https://ursy.com/wiki/308-permanent-redirect/) | For good | Kept exactly | A move where forms or API calls post to the old address |
| 302 Found | For now | GET stays GET; others may become GET | A short detour |
| 303 See Other | For now | Always becomes GET; body dropped | After a form is sent, show a thank-you page |
| 307 Temporary Redirect | For now | Kept exactly | A short detour where non-GET requests happen |

[MDN’s 307 page](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/307) adds a simple point: for an ordinary GET request, 307 and 302 behave the same. For most page visits the choice between them makes no visible difference. Our [301 vs 302 redirect](https://ursy.com/wiki/301-vs-302-redirect/) page covers the permanent versus temporary choice in more depth.

## Why does it matter for search? {#why-does-it-matter-for-search}

[Search engines](https://ursy.com/wiki/search-engine/) read “temporary” as “keep the old address”. [Google](https://ursy.com/wiki/google/)’s guide to [HTTP status codes and Google Search](https://developers.google.com/search/docs/crawling-indexing/http-network-errors) lists 307 as equal to 302. Google follows it but treats it as a weak signal that the target should be processed. 301 and 308 are a strong signal.

Google’s page on [redirects and Google Search](https://developers.google.com/search/docs/crawling-indexing/301-redirects) spells out the result. With a permanent redirect, Google shows the new target in search results and uses the redirect as a sign the target should be the canonical. With a temporary one, it shows the source page, and the redirect is not used as a canonical signal, though the target may still be indexed if other signals point to it. So a 307 that stays in place for months can keep the wrong address in results. If the move is for good, Google recommends a permanent server-side redirect.

## Why does it matter for AI answers? {#why-does-it-matter-for-ai-answers}

AI tools follow redirects too. A [live fetcher](https://ursy.com/wiki/live-fetcher/) such as [ChatGPT-User](https://ursy.com/wiki/chatgpt-user/) may land on the target, while the address it quotes back to a person depends on how that product handles redirects. Nobody has published those rules in full. What you control is clarity: if a page has moved for good, say so with 301 or 308 so every crawler, search or AI, gets the same message. If the detour is short, a 307 keeps the original as the address that should be [cited](https://ursy.com/wiki/citation/).

## When should I use a 307? {#when-should-i-use-a-307}

- **A short outage.**  MDN describes the use case as a page that is temporarily unavailable for reasons nobody planned for.
- **Forms and APIs.**  If people or apps send POST, PUT or DELETE requests to an address that must point elsewhere for a while, 307 keeps their data intact.
- **A test.**  Sending some traffic to a new page during an [A/B test](https://ursy.com/wiki/ab-testing/), then removing the redirect.
- **Not for a site move.**  When you [move a website](https://ursy.com/wiki/move-a-website-without-losing-traffic/) or change a [URL slug](https://ursy.com/wiki/url-slug/), use 301 or 308.

## Common mistakes {#common-mistakes}

- **A “temporary” redirect left for years.**  Google keeps treating the old address as the one to show. Change it to 301 once you know the move is final.
- **Chains.**  307 to 301 to 302 wastes crawler time and slows people. See [redirect chain](https://ursy.com/wiki/redirect-chain/).
- **Loops.**  A sends to B and B sends back to A. MDN says browsers detect this and show an error; the page is never reached.
- **Using 307 for HTTP to HTTPS forever.**  A permanent move to [HTTPS](https://ursy.com/wiki/https-vs-http/) deserves a permanent code. Browsers that have seen a Strict-Transport-Security header switch to https by themselves before the request is sent, MDN explains, so they need no redirect at all.
- **Links still pointing at the old address.**  Update your [internal links](https://ursy.com/wiki/internal-linking/) so visitors and [bots](https://ursy.com/wiki/bot-web-robot/) skip the hop.
- **Blaming the code for lost rankings.**  A temporary redirect does not punish a site. It simply tells search engines not to swap the address.

## A worked example {#a-worked-example}

A ticket seller runs its booking form at /book/. One evening the booking system fails. The team points /book/ to a backup at /book-backup/ while it is fixed.

| Code used | What happens to a customer pressing “Pay” | What search engines do |
| --- | --- | --- |
| 302 | An older client may resend as GET; the booking details are lost | Keep /book/ |
| 307 | The POST and its data go to /book-backup/ intact | Keep /book/ |
| 301 | Data may be lost, and the backup is announced as the new home | May start showing /book-backup/ |

307 is the right fit. Next morning the redirect comes off and /book/ answers 200 again.

## How to check it {#how-to-check-it}

1. Run the address through our [Redirect Checker](https://ursy.com/redirect-checker/). It shows each hop and its status code. The [how-to guide](https://ursy.com/guides/how-to-use-redirect-checker/) explains the result.
2. Read the raw reply with our [HTTP Header Checker](https://ursy.com/http-header-checker/): look for the status line and the Location header.
3. Build the right server rule with our [redirect generator](https://ursy.com/webmaster-tools/redirect-generator/), and plan a full set of old and new addresses with the [redirect mapper](https://ursy.com/webmaster-tools/redirect-mapper/).
4. Find links that point at redirecting pages with the [Broken Link Checker](https://ursy.com/broken-link-checker/), then fix them at the source.
5. Make sure the final page can be indexed. See [page with redirect](https://ursy.com/wiki/page-with-redirect/) in [Google Search Console](https://ursy.com/wiki/google-search-console/), and use [URL Inspection](https://ursy.com/wiki/url-inspection/) on single addresses.
6. Check that your [XML sitemap](https://ursy.com/wiki/xml-sitemap/) lists only final addresses, not ones that redirect, with our [Sitemap Checker](https://ursy.com/sitemap-checker/).
7. In URSY Pro, the [Redirect monitor](https://ursy.com/pro/redirect-monitor/) and [Links to redirects fixer](https://ursy.com/pro/links-to-redirects-fixer/) watch this over time, opening in stages.

## Questions {#questions}

### Does a 307 pass link value? {#does-a-307-pass-link-value}

Google treats it as a weak signal and keeps showing the original address. If you want the new address to take over, use a permanent code.

### Is 307 better than 302? {#is-307-better-than-302}

Only when requests other than GET are involved. For normal page views they behave the same.

### Can I set a 307 with a meta refresh or JavaScript? {#can-i-set-a-307-with-a-meta-refresh-or-javascript}

No. 307 is an HTTP status code, so it must come from the server. MDN says HTTP redirects run first, before any JavaScript or meta redirect.

### How long can a 307 stay? {#how-long-can-a-307-stay}

No rule sets a limit. If it is still there after the problem is fixed, it is no longer temporary, so remove it or make it permanent.

## Related words {#related-words}

- [Redirect](https://ursy.com/wiki/redirect/)
- [301 vs 302 redirect](https://ursy.com/wiki/301-vs-302-redirect/)
- [Redirect chain](https://ursy.com/wiki/redirect-chain/)
- [HTTP status code](https://ursy.com/wiki/http-status-code/)
- [Canonical tag](https://ursy.com/wiki/canonical-tag/)

## Sources {#sources}

- [RFC 9110: HTTP Semantics, section 15.4.8, 307 Temporary Redirect](https://www.rfc-editor.org/rfc/rfc9110.html#section-15.4.8), checked 24 November 2026
- [MDN Web Docs: 307 Temporary Redirect](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/307), checked 24 November 2026
- [MDN Web Docs: Redirections in HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Redirections), checked 24 November 2026
- [MDN Web Docs: Strict-Transport-Security](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Strict-Transport-Security), checked 24 November 2026
- [Google Search Central: How HTTP status codes and network errors affect Google Search](https://developers.google.com/search/docs/crawling-indexing/http-network-errors), checked 24 November 2026
- [Google Search Central: Redirects and Google Search](https://developers.google.com/search/docs/crawling-indexing/301-redirects), checked 24 November 2026

*Updated 24 November 2026 by URSY.*
