Skip to main content
SiteIndex

3xx Redirection

307 Temporary Redirect

The resource is temporarily at another URL, and the client must repeat the request with the same method and body.

Check a URL's HTTP status

What it means

307 is the method-preserving version of 302: a POST stays a POST.

Common causes

  • Temporary routing changes for APIs or forms.
  • HSTS: browsers show an internal 307 when upgrading HTTP to HTTPS.

How to fix it

  1. Use 308 if the move is permanent.
  2. An internal 307 from HSTS is expected and needs no fix.

Example response

HTTP/1.1 307 Temporary Redirect
Location: https://example.com/new-location

Worked example

A client requests an old URL and receives a redirect with a Location header. It requests the destination next, preserving or changing the HTTP method according to the specific redirect code.

How to read this response

  1. Find the status line in your browser's Network panel, API client, or server access log.
  2. Read the response body and headers shown above; headers such as Location, Allow, Retry-After, and WWW-Authenticate explain the next step.
  3. Use the code's class to orient your diagnosis: informational, successful, redirected, request-related, or server-side.

SEO impact

Treated as temporary. The original URL keeps its ranking signals.

How to check a status code

Enter a URL in the HTTP Status Checker to see its status code, every redirect hop, and response time. For redirect-heavy pages, the Website Speed Test shows how much time redirects add.

Frequently asked questions

What it means: HTTP 307
307 Temporary Redirect: The resource is temporarily at another URL, and the client must repeat the request with the same method and body.
Common causes: 307
Temporary routing changes for APIs or forms. HSTS: browsers show an internal 307 when upgrading HTTP to HTTPS.
How to fix it: HTTP 307
Use 308 if the move is permanent. An internal 307 from HSTS is expected and needs no fix.

Defined in RFC 9110.

Related codes

Tools