Skip to content
FunnelGuard

Fix guide by FunnelsGuard

410 vs 404 for removed pages: when to use each and how

SEO-073Low impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Every URL answers with an HTTP status code. 404 Not Found says the server has no page at that address right now. 410 Gone says the page existed, was removed deliberately and will not return.

The issue is misuse: returning 404 for content you retired on purpose, or returning 410 for pages that are only missing by mistake or will come back. Both are sent to search engines and AI crawlers, so they shape how fast removed URLs drop out of the index.

Which status code fits which situation
SituationBest responseWhy
Page removed for good, no replacement410Clear signal that it is gone on purpose
Page removed, a close replacement exists301 to the replacementKeeps visitors and link value
URL never existed or mistyped404Nothing was ever there
Page missing by accident, may be restored404 (then fix it)Do not promise it is gone
Product temporarily out of stock200 with a stock messageThe page is still useful

Why it costs you leads or sales

The direct impact is low. Google has said it treats 404 and 410 in much the same way, though a 410 may be dropped from the index a little faster. The real costs come from what sites do instead.

Typical costs of getting it wrong
  • Old URLs stay in search results longer, so visitors land on dead pages and leave.
  • Crawlers keep re-requesting retired URLs, which wastes crawl time on large sites.
  • A 410 on a page that should be redirected throws away the value of links pointing to it.
  • A 410 sent by mistake on a live money page can remove it from search.
Crawler requests to removed URLs after a changeExample numbers
Crawler requests to removed URLs after a change (example)Week 0: 400 requests per day; Week 1: 300 requests per day; Week 2: 180 requests per day; Week 3: 90 requests per day; Week 4: 40 requests per day01533074003001809040Week 0Week 1Week 2Week 3Week 4requests per day

Example: illustrative numbers showing retired URLs being requested less often over four weeks once they return 410. Real results vary.

How to check if your site has it

Find removed pages and see what they return
  1. List the pages you removed

    Use your CMS trash, a content audit sheet or a past sitemap. Note which have a replacement and which do not.

  2. Check the status code

    Run curl -I on each URL, or open browser DevTools, Network tab, and read the status of the first request.

  3. Review Google Search Console

    Open Pages (Indexing) and look at the 'Not found (404)' reason. Check which listed URLs were removed on purpose.

  4. Look for fake successes

    Make sure removed URLs do not return 200 with an error message, or redirect everything to the homepage. Both look like soft 404s.

Check the status code of a removed URLbash
curl -s -o /dev/null -w "%{http_code}\n" https://example.com/old-page/
# Expected for permanently removed content: 410
What a crawler sees for a removed page
  1. Old URL requestedCrawler follows an old link or sitemap entry
  2. Wrong statusServer returns 404 or 200 instead of 410
  3. Index cleanupURL stays in the index longer
  4. Visitor clickSearcher lands on a dead page

With a 200 or a mass redirect, the crawler keeps treating the URL as live.

How to fix it

First decide for each removed URL: redirect (a close replacement exists), 410 (gone for good) or 404 (unknown or accidental). Then apply it where your site runs.

Return a 410 on your platform
  1. Use a redirect plugin

    Plugins such as Redirection let you add a rule with the HTTP code '410 - Content Deleted' for a given URL. Check your plugin's current options.

  2. Or add code

    For a handful of URLs, add a rule in .htaccess on Apache (see Custom code) rather than editing theme files.

nginx: return 410 for a removed pathnginx
location = /old-page/ {
    return 410;
}

# Several URLs under one folder
location ^~ /discontinued/ {
    return 410;
}
Apache .htaccess: return 410htaccess
Redirect gone /old-page/

# Pattern version
RewriteEngine On
RewriteRule ^discontinued/ - [G,L]
Finish the cleanup
  1. Remove internal links

    Update menus, blog posts and buttons that still point to the removed URL.

  2. Remove from the sitemap

    Take the URL out of your XML sitemap so you are not advertising a dead page.

  3. Do not block it in robots.txt

    Crawlers must be able to request the URL to see the 410. A robots.txt block hides the signal.

  4. Keep a real page for visitors

    Make the 410 response show a helpful page with search and links to your main sections.

Removed page handling

Before

  • Retired URL returns 200 with a 'not available' message
  • Or everything redirects to the homepage
  • Old URL lingers in search results

After

  • Replacement exists: 301 to the matching page
  • No replacement: 410 with a helpful message
  • URL removed from sitemap and internal links

How to confirm it's fixed

Verify the change
  1. Re-run curl

    Request the removed URL again and confirm 410 (or the 301 target you chose).

  2. Test live pages

    Spot-check pages next to the pattern you used to be sure none return 410 by accident.

  3. Inspect in Search Console

    Use URL Inspection on a removed URL and view the live test. It should report the page as not found.

  4. Watch the Pages report

    Over the following weeks, the removed URLs should leave the indexed count. Timing varies.

How to prevent it happening again

Removal routine
  • Decide redirect, 410 or 404 before deleting any page.
  • Keep a log of removed URLs and the chosen response.
  • Remove the URL from sitemaps and internal links on the same day.
  • Review Search Console 'Not found' URLs monthly.
  • Test rule patterns on a staging site before adding them to production.

How FunnelGuard handles this

FunnelGuard does not check this yet. Whether a removed page should return 404 or 410 is a possible future check, not something it reports today.

What FunnelGuard does do is run your real customer journeys, such as lead forms, checkouts and booking buttons, on a schedule and check each step. That covers the pages visitors actually use to convert, but not how your retired URLs respond to crawlers.

To watch for this yourself, review the 'Not found (404)' reason in Search Console's Pages report, run a crawler such as Screaming Frog on your site and sort by status code, and keep a list of removed URLs that you re-test with curl after each site change.

Questions people ask

What is the difference between a 404 and a 410 status code?

A 404 means the server cannot find the page, without saying whether that is temporary. A 410 means the page was removed on purpose and is not coming back. Both tell visitors and crawlers there is no content at that URL.

Does Google treat 410 differently from 404?

Only slightly. Google has said it treats them in much the same way, though a 410 may lead to a URL being dropped from the index a bit sooner. Do not expect a ranking change from switching.

When should I use a 410 instead of a 404?

Use 410 when you removed content deliberately, there is no replacement and you know it will not return. Examples are discontinued product lines or old campaign pages. Use 404 when the URL never existed or the page may be restored.

Should I redirect deleted pages or return 410?

Redirect with a 301 if a close, relevant replacement exists, since that keeps visitors and link value. Return 410 if there is no real replacement. Avoid redirecting everything to the homepage, which search engines may treat as a soft 404.

How do I return a 410 in WordPress?

Use a redirect plugin that supports a 410 'Content Deleted' rule, or add a Redirect gone line to .htaccess on Apache hosting. Check the result with curl -I to confirm the status is 410.

Can I return a 410 on Shopify or Webflow?

Not natively. Shopify and Webflow return their own 404 for deleted pages and redirects are 301 only. If you need a true 410, you would have to put a proxy or CDN in front of the site that can return it.

How long does it take for a 410 page to leave Google?

It varies. Google needs to recrawl the URL first, which can take days or weeks depending on how often it visits. Keeping the URL out of your sitemap and internal links helps.

Does FunnelGuard check for 410 vs 404 misuse?

No. FunnelGuard does not check this yet, and it is a possible future check. You can monitor it with Search Console's Pages report and a crawler that lists status codes.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.