Error Code 410 Gone: What It Means and When to Use It

December 1, 2026
13 mins read
Error Code 410 Gone: What It Means and When to Use It

Key takeaways

A 410 Gone says a page was removed on purpose and will not come back; a 404 only says nothing is there now. Use 410 when a removal is final and no page replaces it, a 301 when a close replacement exists, a 404 when you are not sure, and a 5xx such as 503 during an outage. Google treats 410 and 404 the same way for indexing, so a 410 does not deindex a page faster. Never block a removed URL in robots.txt, test every rule with curl -I, and keep a mapping sheet with one code and one reason per removed URL.

Error code 410 Gone means the server removed the resource on purpose and does not expect it to come back. It gives no forwarding address, so search engines can drop the URL instead of retrying it.

So why does the choice between a 410 and a 404 still start arguments on migration calls? Because status codes are often treated as error messages to be cleaned up rather than as decisions about a URL's life. A 410 is not a failure. It's the last entry in a page's record, written by someone who knows the page is finished. Get that framing right and the technical questions mostly answer themselves.

What Error Code 410 Means and How It Differs from 404#

Why does one missing URL come back as 410 and another as 404?

RFC 9110[1], published by the RFC Editor in June 2022, places 410 in Section 15.5.11, the 4xx client-error entry for Gone. The Internet Assigned Numbers Authority registers that same value there. The definition says the resource is no longer available at the origin server and the condition is likely permanent. Send it when the server knows the removal was intentional.

A 404 and a 410 both end the request, and they disagree about the future. A 404 means nothing is here right now. A 410 means the page was taken down on purpose, so clients should stop asking. If the server cannot tell whether the absence will last, RFC 9110 recommends 404 instead.

A shop door carries the same split. "Not in stock today" leaves tomorrow open. "Discontinued, do not look for it again" closes the product for good. Same locked door, a different instruction about what happens next.

The distinction in one line: a 404 reports a missing thing, a 410 reports a finished decision.

That finished decision is why a 410 is cacheable by default. A cache can store the removal and stop sending the origin another request for a URL that will not return.

CodeMeaningForwards visitors?Typical use
410 GoneRemoved on purpose and not expected backNoRetired pages, expired promotions, deleted files
404 Not FoundNothing here now; permanence unknownNoMistyped URLs, uncertain removals
301 Moved PermanentlyMoved to a new address permanentlyYesPage replaced by a close equivalent
302 FoundTemporarily located elsewhereYesShort tests and temporary campaigns

A wrong 410 on a migration stays quiet and still breaks the map. The code sends no new address, so a URL that still has a close replacement never reaches the 301 you set. Visitors and crawlers stop at a dead end, and the redirect never runs.

You can see the code in a few seconds. Open the browser developer tools, switch to the Network tab, reload the URL, and read the status column. Or run this in a terminal and read the first line of the response:

txtcurl -I https://example.com/removed-page

A 410 means someone chose removal. A 404 means the server is not claiming the page is gone for good.

Choosing the Right Code for Each Removed URL#

Choosing a status code for a removed URL

RFC 9110 is explicit that 410 is an origin-level signal: the resource was intentionally removed and is expected to stay unavailable, and unlike a redirect it provides no forwarding address (RFC 9110 status code definitions[2]). That makes it a decision you make deliberately, not a default you inherit. Work through six steps in order.

  1. Confirm the removal is intentional and final. If a page vanished after a broken deploy, a failed import or an accidental unpublish, restore it. A 410 on a page you meant to keep is a self-inflicted outage.
  2. Look for a close replacement. If one exists, send a 301 to it. Use a 302 only while the move is temporary or under testing, and reach for 307 or 308 instead of 302 or 301 when the request method must survive the redirect, as with forms and APIs.
  3. If no replacement exists and the removal is permanent, return 410 Gone. This is the case the code was designed for.
  4. If you can't tell whether the page will return, return 404. RFC 9110 recommends exactly this for uncertain absence.
  5. If the site is down for maintenance or the backend is failing, return a 5xx such as 503. A 410 during an outage tells crawlers a page is gone forever when it's coming back in an hour.
  6. Decide on caching before you publish. Because the removal signal is cacheable, a 410 served without explicit cache-control headers can linger in caches long after you change your mind. Set the headers that match how reversible the decision really is.

Five removals, five answers#

An expired holiday promotion with no successor. Step 3 settles it: 410, so the index drops the URL and crawlers stop asking. A redirect to the current season's offer would be a lie about equivalence.

A discontinued product that has a direct replacement. Step 2 applies, so the old URL gets a 301 to the new model. Links pointing at the old page keep their value, and shoppers land somewhere useful.

A deleted forum thread. Gone for good gets a 410. If the account behind it could be reactivated and the thread restored, that's uncertain absence, and step 4 says 404.

A retired API endpoint in a versioned service. 410 is correct, and the response body should name the current version and link the migration notes. The status stays honest, and the developer reading it has a path forward.

A download pulled after a licence lapsed. 410 again, with a link on the referring page to the version you're allowed to distribute. Removing the file without updating the page that linked to it just moves the dead end.

Steps 2 and 5 are where most wrong choices happen, because both involve picking a code under time pressure. When the decision leans toward a redirect rather than a removal, it helps to know how the permanent and temporary codes behave before you commit. This breakdown of redirect types and their SEO effects covers when each one is the right call.

Keep one mapping sheet with a row per removed URL, the code you chose and the reason. In a redirect workflow a 410 is a terminal state, not a missing rule someone forgot to write, and the sheet is what stops a colleague from "fixing" it later by pointing it at the homepage.

What a redirect costs that a 410 does not#

A 410 ends the visit in one response. A 301 sends the browser on to a second request, so it pays off only when the destination really replaces the page. In the RedirHub redirect speed benchmark[3], which measures the median time to first byte of a redirect over a fresh connection from Washington, D.C., Frankfurt and Tokyo, that extra hop took a median of 12 ms on Fastly and Amazon CloudFront, 15 ms on RedirHub, 34 ms on Cloudflare and 112 ms on Bitly, but 253 ms on nginx and 429 ms on Apache, averaged over the three locations, from 24 November to 1 December 2026 (27 providers). That time is spent before the destination page starts to load, which is one more reason not to send hundreds of removed URLs on a detour to a page that does not replace them.

ProviderMedian time to first byte, one redirect (24 Nov–1 Dec 2026)
Fastly12 ms
Amazon CloudFront12 ms
RedirHub15 ms
Cloudflare34 ms
Bitly112 ms
nginx253 ms
Apache429 ms

Whether a 410 Removes a Page From Google#

There is no special ranking penalty for returning a 410. It's a removal signal, not a punishment, and it doesn't guarantee an instant disappearance from every index either.

How a 410 response affects search indexing

Google's documentation on HTTP status codes says Google does not index URLs that return a 4xx status code, and URLs that were already indexed and now return one are removed from the index. That covers 410 and 404 alike: either one tells search engines the page should not stay indexed (How HTTP status codes affect Google's crawlers[4]).

Where 410 and 404 part company#

For Google, 410 and 404 end in the same place. Its documentation says every 4xx code except 429 is treated the same way: the URL leaves the index and Google crawls it less and less often over time. So if someone promises you that switching a batch of 404s to 410s will speed up deindexing, the documentation doesn't back that up. What you get is a clearer signal for caches, other crawlers and whoever reads your logs next.

The distinction matters most during migrations. A permanently deleted URL with no relevant destination should return 410. A moved page should use an appropriate redirect so users and accumulated signals reach the replacement. Mixing those two up is where migrations lose traffic.

One mistake shows up constantly: blocking removed URLs in robots.txt. Google advises against it, because crawlers must be able to request the URL and observe the 410 or 404 response. Block the crawl and the page can linger in the index with no status to confirm it's gone.

Practical rule: never hide a removed URL from crawlers. You want them to see the 410, not to be turned away at the door.

After you publish, expect the page to leave the indexed count over several weeks rather than overnight. Watch Search Console for new crawl errors from external links still pointing at the removed URL, and decide case by case whether those links deserve a redirect to a live equivalent or nothing at all.

Setting Up a 410 Response on Common Servers#

Two server configurations cover most of the web, and both send the status with no forwarding address, which is exactly the point of the code.

ServerSingle URLWhole directory
Apache (.htaccess)Redirect gone /old-page.htmlRedirectMatch gone ^/promo/
nginx (server block)location = /old-page.html { return 410; }location /promo/ { return 410; }

In Apache, the gone keyword on a Redirect directive is the shortest path for one URL. For a whole retired section, RedirectMatch with a pattern handles everything under a path prefix in one line. In nginx, an exact-match location block with return 410 handles a single URL, and a prefix location covers the directory. Reload nginx after editing the config, because the rule won't apply until the running process picks it up.

Verify the rule caught exactly one URL#

Configuration that looks right often isn't. Run curl -I against the removed URL and confirm the status line reads HTTP/1.1 410 Gone, or HTTP/2 410 on an HTTP/2 server. Then test a URL inside the removed directory and a neighbouring live page that must still return 200. If the live page comes back as 410, your pattern is too broad and you've just deleted a section by accident.

Three checks worth running every time:

  • The exact URL returns 410 as intended.
  • A sibling URL on the same path returns 200.
  • A directory URL with a trailing slash behaves the way your pattern suggests it should.

Some CMS platforms and hosting panels expose a 410 option only through a plugin or a specific setting, and their default "not found" handling serves a 404 instead. Check the platform documentation before assuming your carefully chosen 410 is reaching the browser. If the panel can't do it, a 404 is a defensible fallback, but know which one you're publishing.

Diagnosing and Fixing Unexpected 410 Responses#

A 410 in the wrong place is worse than a 404, because it tells crawlers the removal was deliberate. When one appears where it shouldn't, find the layer that produced it before changing anything.

Start with the source. A 410 usually comes from a platform default or a stale rule rather than from someone's decision. Check CMS settings, plugin options, the hosting control panel, CDN edge rules and the server config in that order, since the outermost layer often wins. Run curl -I on the exact URL, then on a neighbouring URL, and compare. If the neighbour is fine, the rule is path-specific. If both fail, the problem is a pattern or a global setting.

Then deal with a restored page that still returns 410. The rule is still firing, or a cached copy is answering. Correct the rule, purge the CDN and any intermediary cache, then re-run curl -I. Don't trust a browser refresh here, because a cached 410 can survive long after the origin has changed its mind.

Then fix what still points at the dead URL. Internal menus, sitemaps and in-content links that lead to a 410 are dead ends you built yourself. Update them so visitors and crawlers stop arriving there.

And stop redirecting everything to the homepage. Mapping two hundred removed URLs to the front page tells search engines your homepage is the equivalent of two hundred different pages, and it tells visitors they can't have what they clicked. Map each URL to its closest relevant page, or return 410 where none exists. If broken links are already scattered across the site, this walkthrough on how to fix a broken link covers the repair order.

Check for every fix: the curl test on the affected URL, plus a sitemap scan for any remaining references to it.

Audit Removed URLs Before Publishing Any 410#

A wrong 410 does not look like a broken server. It looks like a finished cleanup. On a migration, that cleanup can retire a URL that still had a relevant destination, so the 301 never gets a chance to pass the links along. On a live redirect map, one overly broad rule can answer 410 for a path you meant to keep. The audit is the work. The status code is only what you write at the end of each row.

  1. Gather the URLs from your sitemap, server logs and any backlinks pointing at them. Logs catch URLs the sitemap never listed.
  2. Add columns for the current status code and whether a relevant replacement exists.
  3. Write one code per row, with the reason beside it. "Expired campaign, no successor" is a reason. "Looked old" is not. Choose 410 when nothing should replace the URL, 404 when you are not ready to treat the removal as permanent, and 301 when a relevant page should take over the address.
  4. Map high-value URLs with replacements to 301s. Keep paths and query parameters where the new page still needs them, test each redirect journey before launch, and run the list through a bulk redirect checker so one bad rule doesn't slip through.
  5. Set up 404 monitoring so broken high-value backlinks get flagged while they're still cheap to fix.

In RedirHub, that sheet becomes the redirect list itself: import the 301 rows from a CSV file and review what will be added, updated or removed before anything is written. After launch, the 404 report lists the URLs on each domain that answered 404 because no redirect serves them, with how often each was requested and the pages that still link to them, and emails you about new ones, so a high-value URL that slipped through is caught while it is still cheap to fix. The sheet stays the record a reviewer can read six months later to see why a URL was retired instead of redirected.

Run the audit this week. Record one code per removed URL with its reason. Then publish the 410s.

Retire old URLs without losing the ones that matter

Import your old-to-new URL map from a CSV file and review what will be added, updated or removed before anything is written. After launch, the 404 report lists the old URLs that still answer 404, how often they are requested and the pages that still link to them.

Plan a website migration

Sources

  1. [1]RFC 9110: HTTP Semantics
  2. [2]RFC 9110: HTTP Semantics
  3. [3]RedirHub redirect speed benchmark, 2026-11-24 to 2026-12-01
  4. [4]How HTTP Status Codes Affect Google's Crawlers

Frequently asked questions

It means the server removed the page on purpose and does not expect it to return. RFC 9110 defines 410 for a resource that is no longer available and likely gone for good, and unlike a redirect it gives no new address.

A 404 says nothing is at the URL right now and makes no promise about the future. A 410 says the page was removed deliberately and will not come back. Use 404 when you are unsure whether a page will return, and 410 when the removal is final.

Google's documentation says it treats every 4xx code except 429 the same way: the URL is dropped from the index and crawled less often over time. Switching 404s to 410s gives a clearer signal, but the documentation does not promise faster removal.

Use a 301 when a page that genuinely replaces the old one exists, so visitors and links reach it. Use a 410 when nothing replaces it and the removal is permanent. Redirecting unrelated URLs to the homepage helps neither visitors nor search engines.

On Apache, add Redirect gone /old-page.html to .htaccess, or RedirectMatch gone ^/promo/ for a whole section. On nginx, use location = /old-page.html { return 410; } and reload nginx. Then check the URL with curl -I and make sure a neighbouring live page still answers 200.

Leo Astarothman

Leo Astarothman is the Brand & Content Lead at RedirHub, where he shapes the company's visual identity, educational content, product experiences, and marketing strategies. He also specializes in system design. Simplifying complex redirect infrastructure into practical resources, product experiences, and campaigns that help businesses understand and adopt modern redirect management.