302 Found meaning in English

302 Found

Status

302 Found

What is a 302 Found HTTP response?

A 302 Found HTTP response status code is used for the temporary redirection of a resource.

For example, a resource that was previously at www.site1.com has temporarily moved to www.site2.org.

If the redirect is likely to be required on a permanent basis then a 301 Moved Permanently response would be more appropriate.

What type of HTTP status is a 302?

A 302 is in the 3xx class of status codes which are redirection based.

Other status codes in the 3xx class include 300, 301, 303, 304, 305, 306, 307, and 308.

Example 302 Response Header

Below is an example of a 302 response header:

HTTP/1.1 302 Found
Location: https://www.temporarydestination.comCode language: HTTP (http)
<!DOCTYPE html>
<html>
<head>
<title>302 Found</title></head>
<body>
<h1>302</h1>
<h2>Found</h2>
<p>The document has been temporarily moved.</p>
</body></html>Code language: HTML, XML (xml)
302 response, followed by a 200 success
Expanded view of a 301 redirect response, as shown in Chrome network tools

How do you create a 302 redirect in .htaccess?

You can create a simple 302 redirect with the following:

Redirect 302 /original.html https://example.com/new-page.htmlCode language: HTTP (http)

Is a 302 redirect good for SEO?

Used correctly a 302 redirect can be fine - if you want to redirect a resource for a temporary or unknown amount of time.

If the redirect is likely to be permanent then a 301 redirect would be better.

How to fix a 302 redirect?

If your site is redirecting a page and you don't know why consider looking at what might be causing the redirection. For example a .htaccess file or setting in your control panel.

Alternative redirect status codes

In addition to the 302 status code, other types of redirect status codes include 301, 303, 307 and 308.

Citation URL

https://www.searchcandy.uk/seo/seo-glossary/http-302/

Last modified: Created:

What is this content? This article is part of an SEO glossary and reference guide created by Search Candy - an SEO consultancy based in the UK. The Search Candy team is committed to providing content that adheres to the highest editorial standards. The date this article was created and last checked for accuracy is posted above. To reuse this content please get in touch via our contact form.
chevron-down