🏆 SEO Agency of the Year 2024, 25
Hire us Book a Meeting
SEO Discovery Google Partner
SEO Discovery
Call us Email WhatsApp
— Navigation
Hire us Book a Meeting
Technical SEO HTTP Status Codes Numbers

307 Temporary Redirect

Quick Definition

A 307 Temporary Redirect is an HTTP status code that temporarily sends users and search engines to a different URL. This informs browsers that the website being requested is temporarily available at another URL but that the original address might be accessed again in the future.

01 — OverviewWhat Is a 307 Temporary Redirect?

As opposed to a permanent redirect, a 307 is not an indication that the primary URL is completely replaced. This is primarily used for temporary circumstances such as website maintenance, testing, or short-term content modifications.

02 — MechanicsHow Does a 307 Temporary Redirect Work?

In a 307 response, the server uses the Location header to give the temporary destination URL. The browser or search engine then navigates to that URL and asks for the resource from its new location.

For example, a website may temporarily move:

https://example.com/page

to:

https://example.com/temporary-page

The server can respond with a 307 Temporary Redirect to redirect visitors to the temporary web page. When the temporary situation is over, the original website address can be recovered.

A 307 redirect is unique in that it maintains the original HTTP request method. For instance, if the request utilizes POST, the redirected request should also use POST at the new URL. So 307 is helpful for maintaining the request method.

03 — Use CasesWhen Is a 307 Temporary Redirect Used?

A 307 redirect is used when the change of URL is temporary and not permanent. Some common examples are:

  • Website maintenance: A page can temporarily redirect visitors to a downtime or alternate page if the website is under maintenance until the modifications are finished.
  • Temporary testing: A 307 can be used by website owners when they want to test a new page or URL, rather than implying that the update is permanent.
  • Short-term campaigns: A website might send visitors to a promotional or event page for a short period of time before sending them back to the original URL.
  • Temporary unavailability issues: If the original page is unavailable, visitors may be redirected to some other relevant resource.

When the temporary condition is over, the redirect is supposed to be deleted so visitors can return to the original URL.

04 — Comparison307 vs. 302 vs. 308: What Is the Difference?

All three redirect status codes, 307, 302, and 308, are able to redirect users from one URL to another, but they convey slightly different meanings to web browsers and search engine providers.

A 302 redirect is a short-term redirect, just like a 307. The primary technical distinction is the way the HTTP request method is addressed. A 307 maintains the original method directly, while a 302 has traditionally been used to change the method, e.g., from a POST request to GET.

In contrast, a 308 redirect is permanent. It informs browsers and search engines that the page has moved permanently to another URL. It retains the primary request method, like a 307.

RedirectTypeRequest Method
302TemporaryMay change depending on client behavior
307TemporaryPreserved
308PermanentPreserved

For SEO, the choice between these status codes relies on the objective of the URL update. 307 is for a temporary move; 308 is for a permanent move. 302 may also be utilized for temporary redirects, especially where it's not necessary to maintain the request method.

Choosing the right redirect type is an essential component of managing website URLs. Businesses with complicated redirects or URL modifications can use SEO audit services to detect redirect bugs and other technical problems.

05 — SEO ImpactDoes a 307 Temporary Redirect Affect SEO?

By default, a 307 redirect isn't bad for SEO. The effect of it is dependent on the manner in which it is executed and whether the redirect is truly temporary.

Google views 307 as a temporary redirect. Googlebot might follow the redirect, but the 307 response itself does not instruct Google to permanently replace the original URL with the destination URL.

Challenges can arise if a 307 is utilized to indicate what is actually a permanent modification. In that case, search engines might not get the best possible message about which URL should be viewed as the long-term destination.

06 — Best PracticesBest Practices for Using a 307 Redirect

A 307 redirect must be used mindfully so that the URL structure of the website remains clear and crawling or user-experience issues are not faced unintentionally.

  • Use a 307 only when the URL change is genuinely temporary.
  • Redirect users to a relevant destination rather than an unrelated page.
  • Avoid creating long redirect chains.
  • Remove the redirect when the original URL becomes available again.
  • Use a permanent redirect when a URL has permanently moved.
  • Check important redirects regularly to ensure they return the intended status code.

Tracking redirects is part of a larger SEO strategy and, if you have a website with many pages, it can help prevent technical issues from affecting both users and search engines.

07 — Takeaway307 Temporary Redirect: Final Thoughts

A 307 Temporary Redirect is a temporary redirect that sends users and search engines to a different URL but keeps the original URL as the intended destination. Its main technical property is that it maintains the primary HTTP request method.

The biggest difference is whether the change to the URL is permanent or temporary. The 307 is for when the change is temporary, and the 308 is for when the change is permanent. A 302 can manage temporary redirects too, but is different from a 307 in request-method behavior.

A status code that accurately reflects the real purpose of the URL change makes it easier for browsers, users, and search engines to figure out how the site should be navigated.

08 — FAQsFrequently Asked Questions

What is a 307 temporary redirect in simple words?

It's an HTTP status code that temporarily sends users and search engines to a different URL, while keeping the original URL as the intended destination that may be used again later.

What's the difference between a 307 and a 302 redirect?

Both are temporary. The main difference is the HTTP request method: a 307 preserves the original method directly, while a 302 has traditionally been used to change the method, for example from POST to GET.

What's the difference between a 307 and a 308 redirect?

A 307 is temporary and a 308 is permanent. Both preserve the original request method, but a 308 tells browsers and search engines the page has moved permanently to another URL.

Does a 307 temporary redirect affect SEO?

By default a 307 is not bad for SEO. The effect depends on how it's used and whether the redirect is truly temporary. Problems can arise if a 307 is used for what is actually a permanent change.

When should I use a 307 redirect?

Use a 307 only when the URL change is genuinely temporary, such as website maintenance, testing, or short-term campaigns, and remove it once the original URL becomes available again.