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.
| Situation | Best response | Why |
|---|---|---|
| Page removed for good, no replacement | 410 | Clear signal that it is gone on purpose |
| Page removed, a close replacement exists | 301 to the replacement | Keeps visitors and link value |
| URL never existed or mistyped | 404 | Nothing was ever there |
| Page missing by accident, may be restored | 404 (then fix it) | Do not promise it is gone |
| Product temporarily out of stock | 200 with a stock message | The 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.
- 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.
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
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.
Check the status code
Run curl -I on each URL, or open browser DevTools, Network tab, and read the status of the first request.
Review Google Search Console
Open Pages (Indexing) and look at the 'Not found (404)' reason. Check which listed URLs were removed on purpose.
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.
curl -s -o /dev/null -w "%{http_code}\n" https://example.com/old-page/
# Expected for permanently removed content: 410- Old URL requestedCrawler follows an old link or sitemap entry
- Wrong statusServer returns 404 or 200 instead of 410
- Index cleanupURL stays in the index longer
- 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.
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.
Or add code
For a handful of URLs, add a rule in .htaccess on Apache (see Custom code) rather than editing theme files.
Know the limit
Shopify's URL redirects only create 301s, and deleted resources return 404. A true 410 is not available without a proxy in front of the store.
Pick the next best option
Redirect to a relevant collection if one exists. Otherwise leave the 404 and keep the URL out of your sitemap and internal links.
Know the limit
Webflow does not let you set a 410 per page. Deleted pages return its 404 page.
Use a proxy if you need 410
A CDN or reverse proxy in front of the site can return 410 for a list of paths. Otherwise use 301 redirects in Site settings, Hosting, 301 redirects, or accept the 404.
nginx
Add a location block that returns 410 (example below), then reload nginx.
Apache
Add a Redirect gone or RewriteRule with the G flag in .htaccess (example below).
location = /old-page/ {
return 410;
}
# Several URLs under one folder
location ^~ /discontinued/ {
return 410;
}Redirect gone /old-page/
# Pattern version
RewriteEngine On
RewriteRule ^discontinued/ - [G,L]Remove internal links
Update menus, blog posts and buttons that still point to the removed URL.
Remove from the sitemap
Take the URL out of your XML sitemap so you are not advertising a dead page.
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.
Keep a real page for visitors
Make the 410 response show a helpful page with search and links to your main sections.
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
Re-run curl
Request the removed URL again and confirm 410 (or the 301 target you chose).
Test live pages
Spot-check pages next to the pattern you used to be sure none return 410 by accident.
Inspect in Search Console
Use URL Inspection on a removed URL and view the live test. It should report the page as not found.
Watch the Pages report
Over the following weeks, the removed URLs should leave the indexed count. Timing varies.
How to prevent it happening again
- 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.
Related issues
- SEO-068Soft 404: error or empty page returned with 200Fix guide
- SEO-069Out-of-stock or expired product pages return 404 instead of staying usefulFix guide
- SEO-070Internal links to 404 pagesFix guide
- SEO-071Broken links sitewide outside the funnelFix guide
- SEO-076Custom 404 page missing or with no navigationFix guide
- SEO-077404 page returns 200 status (soft 404)Fix guide