HTTP

HTTP 302 Found vs 410 Gone

HTTP 302 (Found) is a 3xx Redirection response, while 410 (Gone) is a 4xx Client Error response. 302 indicates that the resource temporarily resides at a different URL. The client should continue using the original URL for future requests. In contrast, 410 means that the resource is permanently gone and will not be available again. Unlike 404, this is intentional and permanent.

Description

The resource temporarily resides at a different URL. The client should continue using the original URL for future requests.

When You See It

During A/B testing, temporary maintenance pages, or geo-based redirects.

How to Fix

Follow the Location header. Note: browsers may change POST to GET on redirect.

Description

The resource is permanently gone and will not be available again. Unlike 404, this is intentional and permanent.

When You See It

When a resource has been deliberately removed and should be de-indexed by search engines.

How to Fix

Remove references to this URL. Search engines will de-index the page.

Key Differences

1.

302 is a 3xx Redirection response, while 410 is a 4xx Client Error response.

2.

HTTP 302: The resource temporarily resides at a different URL. The client should continue using the original URL for future requests.

3.

HTTP 410: The resource is permanently gone and will not be available again. Unlike 404, this is intentional and permanent.

4.

You encounter 302 when during A/B testing, temporary maintenance pages, or geo-based redirects.

5.

You encounter 410 when when a resource has been deliberately removed and should be de-indexed by search engines.

When to Use Which

For 302 (Found): Follow the Location header. Note: browsers may change POST to GET on redirect. For 410 (Gone): Remove references to this URL. Search engines will de-index the page.

Learn More