SEO Guide

Seo

404 vs 410 vs 301: What to Do with a Removed Page

Choose the right response for a retired page, a moved guide or a sold-out product. Follow four HTTP traces and verify where visitors actually land.

Topic: SeoBy SearchGlint Editorial Team4 min read
On this page

Use a 301 when a removed URL has a permanent replacement that serves the same purpose. Use a 404 when the resource cannot be found and there is no suitable destination. A 410 gives a more specific answer when you know the removal is permanent. If the page still helps customers, keeping it available with updated information can be the best decision.

Does the old URL still have a job?

Imagine a store retiring a linen cover. People who search for the model may still need its measurements, washing instructions or warranty terms. Keeping the page live gives those customers somewhere useful to land. Mark the model’s availability clearly, remove any unusable purchase action and link to a successor if one exists. A temporary stock shortage is an especially good reason to keep the URL and update the availability shown to visitors.

A different decision applies when a fitting guide has simply moved. Open the old version or a saved copy and write down the question it answered. If the new guide gives the same measurements and installation instructions, send visitors directly there with a permanent redirect. If the proposed destination is a general furniture category, someone looking for a screw spacing diagram will still have to start over.

Situation Response to aim for What a visitor should find
Same guide at a new address 301 to the final URL The instructions they came for
Expired campaign, deliberately withdrawn 410 or 404 A useful error page with a route back into the site
Mistyped or unknown address 404 A clear message and working navigation
Product temporarily unavailable 200 on the product URL Identifying details and accurate availability

What changes when you choose 410 instead of 404?

A 410 communicates that the publisher knows the resource is gone permanently. A 404 leaves permanence unspecified. Google handles these missing-content responses similarly for indexing. Choose the status that describes the editorial decision. There is little reason to build thousands of special 410 rules solely to make an error report look tidier. Google’s HTTP status documentation

The more consequential mistake is serving a friendly “page missing” message with HTTP 200. Readers see the error, while the server tells a crawler that the request succeeded. Google can classify this as a soft 404. Configure the custom error template to return the appropriate HTTP status while keeping its search box or navigation usable. Google’s updated crawling guide also covers irrelevant homepage redirects and removal of retired URLs from sitemaps. Google’s crawling errors guide

Follow the response all the way to the destination

We set up four routes on a local test site and requested each twice. The first request stopped at the initial response. The second followed redirects to the end. The moved guide returned 301 with the new guide in its Location header and finished at a working 200 page. The retired sale returned 410, the unknown address returned 404, and the temporarily sold-out item still returned 200.

Local HTTP test showing a 301 leading to 200, a 410 for a retired sale, a 404 for an unknown URL and a 200 for a sold-out item.
Source: SearchGlint local HTTP test.

Try the same check in the Network panel of your browser. Enable Preserve log, load the old address and inspect the first document request. For a redirect, copy the Location value, open the destination and check the page’s headline and content. A final 200 could just as easily be the homepage. Checking the actual answer catches a bad mapping that a status-only audit would pass. If more than one redirect appears, trace the intermediate URLs before editing the rule. Redirect chain walkthrough

Clean up the places that still recommend the old page

Update menus, related guides and category descriptions to point straight to the replacement. Remove retired addresses from the active XML sitemap and include the replacement when it belongs there. For a page you want Google to recognize as gone, allow the crawler to fetch its response. Blocking the path in robots.txt can prevent it from seeing the 404 or 410.

Leave a record of why you chose the destination. “Same mounting diagram and parts list” makes a redirect reviewable six months later. “Nearest category” gives the next editor little basis for judging whether it ever worked. Google’s guide to permanent redirects covers the signals a move sends to Search. Redirect guidance

Which 404s deserve attention first?

Start with a missing URL that a live navigation link still sends people to, a valuable guide that disappeared during migration, or a product address receiving customer enquiries. Fix the link, restore the intended resource or map it to a relevant replacement. A one-off request for a made-up path can keep returning 404.

Review the public URL again after the change, including its final content and sitemap membership. When a guide has moved, test one link from an article that recommends it. That last click verifies the journey a reader will actually take. Site migration checklist

Sources

Written by SearchGlint Editorial Team

How we research and review our guides