302 Found

302 Found

Server returns the 302 HTTP response status code, previously known as “Moved Temporarily", to indicate that the client redirects to a new location specified within the Location HTTP header, as HTTP response is temporary it's expected to be revalidated upon the next time the URI is requested.

You can Check Your URLs HTTP Code for FREE

The HTTP response status code 302 Found, previously known as "Moved Temporarily," is used by the server to tell the client that the requested resource has been temporarily moved to a new location.

The new location is provided in the Location HTTP header. Since it's a temporary redirection, the client is expected to revalidate the redirection the next time it requests the same URI.

When you receive a 302 Found status code, it means that the resource you requested has been temporarily moved to a different location.

The server provides the new location, and your web browser automatically fetches the resource from there. Unlike a permanent move (301 status code), you don't need to update any links or bookmarks.

Keep in mind that some older browsers may change your original request method from POST to GET, but newer ones will handle it properly without any action required from you.

In this example, when the client tries to access a resource, the server responds with a message saying that the resource has been temporarily moved to a different location. The server also provides the new location where the resource can be found. The client can then automatically fetch the resource from the new location without any need for manual intervention.

Request

GET /news.html HTTP/1.1
Host: www.example.com

Response

HTTP/1.1 302 Found
Location: http//www.example.com/testing/news.html
Content-Type: text/html
Content-Length: 167

< h1>The Newsfeed has moved

< body>The site is currently under development and the newsfeed has temporarily moved to < a href=/testing/news.html>here.

When you receive the 302 Found status code, it means that the resource you requested has temporarily moved to a new location. Your browser or application will automatically follow the new location and fetch the resource from there, so you don't need to do anything manually. It's a temporary redirection, and you can continue using the resource as usual from its new location.

Related articles

999 Request Denied

999 Request Denied The 999 HTTP response status code is...

599 Network Connect Timeout Error

599 Network Connect Timeout Error The 599 HTTP response status...

598 Network read timeout error

598 Network read timeout error The 598 HTTP response status...

561 Unauthorized

561 Unauthorized The 561 HTTP response status code means there...

530 Site Frozen

530 Site Frozen The 530 HTTP response status code is...

999 Request Denied

561 Unauthorized

530 Site Frozen