307 Temporary Redirect meaning in English
307 Temporary Redirect
- What is a 307 Temporary Redirect HTTP Response?
- What type of HTTP status is a 307?
- 307 Redirects and HSTS
- Example 307 Response Header
- Does a 307 HTTP response / HSTS affect SEO?
- Why am I seeing a 307 response in Google Chrome browser but not when I test with other tools?
- Why do I get a 307 status code when I check my site on CloudFlare?
- Why do I get a 307 status code for my s3 bucket in Amazon?
- HTTP Response Status Codes List
307 Temporary Redirect
What is a 307 Temporary Redirect HTTP Response?
307 Temporary Redirect HTTP response status code is shown to indicate a resource has moved to a new location, and that the both the method and body of the original request will be reused.
What type of HTTP status is a 307?
A 307 is in the 3xx class of status codes which are redirection based.
Other status codes in the 3xx class include 300, 301, 302, 303, 304, 305, 306, and 308.
307 Redirects and HSTS
307 responses are typical in browsers when a site has HSTS (HTTP Strict Transport Security) in use.
The 307 HTTP response is confirmation that HSTS is working correctly.
Example 307 Response Header
Below is an example of a 307 response header.
HTTP/1.1 307 Internal Redirect Location: https://www.searchcandy.uk/ Non-Authoritative-Reason: HSTSCode language: HTTP (http)
Does a 307 HTTP response / HSTS affect SEO?
At the time of writing Googlebot does not see or follow 307 redirects - instead following the actual HTTP to HTTPS redirect that should be in place as part of the HSTS specification.
Using HSTS is unlikely to provide any positive ranking benefit.
Likewise, correct usage of a 307 response/HSTS is extremely unlikely to have any kind of negative impact.
There are situations where using a 307 response may be inappropriate if used incorrectly, or HSTS/redirects set up incorrectly.
Why am I seeing a 307 response in Google Chrome browser but not when I test with other tools?
A 307 Temporary Redirect should be used when a page is redirected to another URL, but the content and method of the new location will remain the same.
If you are seeing a 307 HTTP response when checking a URL in Google Chrome or another browser but not when testing with another tool, it is fairly likely the page is making use of the HSTS specification.
Why do I get a 307 status code when I check my site on CloudFlare?
If your site is using the HSTS option in CloudFlare then you will likely hit a 307 redirect when you first visit the site using HTTP.
Why do I get a 307 status code for my s3 bucket in Amazon?
When you create an s3 bucket in Amazon it can take up to 1 day to propagate across all service regions and during that time you may hit a 307 status code when testing.
The 307 (Temporary Redirect) status code 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. Since the redirection can change over time, the client ought to continue using the original effective request URI for future requests. The server SHOULD generate a Location header field in the response containing a URI reference for the different URI. The user agent MAY use the Location field value for automatic redirection. The server's response payload usually contains a short hypertext note with a hyperlink to the different URI(s). Note: This status code is similar to 302 (Found), except that it does not allow changing the request method from POST to GET. This specification defines no equivalent counterpart for 301 (Moved Permanently) ([RFC7238], however, defines the status code 308 (Permanent Redirect) for this purpose).Code language: plaintext (plaintext)
Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
HTTP Response Status Codes List
200 OK, 301 Moved Permanently, 302 Found, 303 See Other, 307 Temporary Redirect, 308 Permanent Redirect, 403 Forbidden, 404 Not Found, 410 Gone, 451 Unavailable For Legal Reasons, 500 Internal Server Error