Skip to content

307 Temporary Redirect (HTTP Status Code 307)

Updated: at 09:12 AM

HTTP status code 307 indicates that the requested resource has temporarily moved to a different URI. This status code is similar to 302 “Found,” but 307 emphasizes that the redirection is only temporary, and the client should continue to use the original URI for subsequent requests.

Characteristics of 307 Status Code

Common Use Cases for 307 Status Code

Example Response

HTTP/1.1 307 Temporary Redirect
Location: https://www.example.com/temporary-page/ Content-Length: 0

In this example, the status code 307 indicates that the originally requested resource is temporarily located at https://www.example.com/temporary-page/. The client (such as a browser) should temporarily redirect to this new URI but continue to use the original URI for future requests.

Note: The 307 status code should not be used for permanent redirection, as it is intended to be temporary. For permanent redirection, the 301 “Moved Permanently” status code should be used.