Browser showing a 410 Gone HTTP response
# website errors# troubleshooting

410 Gone: What It Means and How to Fix It

A 410 Gone status code means the resource you requested used to exist, but it has been permanently removed and won't be coming back. Unlike a 404 Not Found which simply says "I can't find this," a 410 is a deliberate statement: "This was here, and we intentionally removed it."

Understanding when to use 410 versus 404 — and how each affects your SEO — is important for maintaining a clean, well-managed website.

What Does a 410 Gone Mean?

A 410 response tells clients and search engines that the resource at this URL has been intentionally and permanently deleted. The server is explicitly confirming that it knows about the URL, that content used to live there, and that it's gone for good.

The key differences from related status codes:

  • 404 Not Found: "I don't have anything at this URL." Could be temporary, could be a typo, could be permanent. Ambiguous.
  • 410 Gone: "This URL used to have content, and we deliberately removed it. It's not coming back."
  • 301 Redirect: "This content moved to a new URL." Redirects the user to the new location.

From an SEO perspective, Google treats 410 and 404 similarly in the long run — both eventually lead to de-indexing. However, Google has confirmed that a 410 causes faster de-indexing than a 404, because it's an explicit signal that the page is permanently gone.

Common Causes of a 410 Response

1. Intentionally Deleted Content

The most legitimate use of 410. You've removed a page, product, or article permanently and want search engines to know it's not coming back.

Examples:

  • A product that's been discontinued and won't be restocked.
  • A time-limited promotion page that's expired permanently.
  • An article that was removed for legal or accuracy reasons.

2. Discontinued API Endpoints

When sunsetting an API version or endpoint, returning 410 tells consumers the endpoint has been permanently retired:

curl -i https://api.example.com/v1/users
# HTTP/1.1 410 Gone
# {"message": "API v1 has been permanently retired. Use /v2/users instead."}

3. Removed User-Generated Content

Deleted user accounts, removed forum posts, or purged comments. A 410 tells search engines to stop trying to crawl these URLs.

4. Misconfigured Server Rules

Sometimes a 410 appears unintentionally because of an overly broad server rule. A poorly written rewrite rule might return 410 for URLs that should still be active.

5. Content Cleanup After Migration

After a site migration, you might intentionally 410 old URLs that don't have equivalents on the new site, rather than letting them 404.

How to Fix a 410 Gone Error

If You're Seeing an Unexpected 410

If pages that should be live are returning 410, check your server configuration for rules that might be incorrectly returning this status.

On Nginx:

# Search Nginx config for 410 rules
grep -r "410" /etc/nginx/sites-enabled/
grep -r "410" /etc/nginx/conf.d/
# Example of a rule that might be too broad
location /old-section/ {
    return 410;  # This catches ALL URLs under /old-section/
}

On Apache:

# Search Apache config and .htaccess files for 410 rules
grep -r "410\|Gone" /etc/apache2/sites-enabled/
find /var/www -name ".htaccess" -exec grep -l "410\|Gone" {} \;
# Check for overly broad rewrite rules
RewriteRule ^old-section/(.*)$ - [G,L]
# The [G] flag means "Gone" (410)

How to Intentionally Return a 410

If you've deleted content and want to properly signal it:

On Nginx:

# Single URL
location = /old-page/ {
    return 410;
}

# Multiple URLs using a map
map $uri $is_gone {
    /discontinued-product/    1;
    /expired-promotion/       1;
    /removed-article/         1;
    default                   0;
}

server {
    if ($is_gone) {
        return 410;
    }
}

On Apache (.htaccess):

# Single URL
Redirect 410 /old-page/

# Using RewriteRule
RewriteEngine On
RewriteRule ^discontinued-product/?$ - [G,L]
RewriteRule ^expired-promotion/?$ - [G,L]
# Reload after changes
sudo systemctl reload nginx
# or
sudo systemctl reload apache2

Creating a Custom 410 Page

Just like a custom 404 page, you can serve a helpful page for 410 responses:

error_page 410 /gone.html;

location = /gone.html {
    internal;
    root /var/www/html/errors;
}

410 vs 404: Which Should You Use?

Use 410 Gone when:

  • You intentionally removed the content.
  • The content won't be coming back.
  • You want Google to de-index the URL faster.
  • You want to clearly communicate to users that the removal was deliberate.

Use 404 Not Found when:

  • You're not sure if the content existed.
  • The URL might work again in the future.
  • It's a generic "not found" situation.

Use 301 Redirect when:

  • The content moved to a new URL.
  • There's an equivalent page the user should see instead.
  • You want to preserve the old URL's SEO value.

SEO Impact

Google processes 410s faster than 404s for de-indexing. If you have a large number of pages you need removed from Google's index quickly, 410 is the more effective choice. Google's John Mueller has confirmed this:

"If you're cleaning up a site and want to tell search engines 'this is really gone,' use 410. We'll process it faster than a 404."

You can also verify how Google sees your 410 pages using Search Console:

# Check the URL using the URL Inspection API or Search Console UI
# Navigate to: Search Console > URL Inspection > Enter the URL

How Domain Monitor Can Help

If a server misconfiguration starts returning 410 for pages that should be live, the damage can be severe — search engines will begin de-indexing those pages faster than they would with a 404. You might not notice until your organic traffic drops, by which point the damage is done and recovery takes time.

Domain Monitor checks your important pages every minute from multiple locations. If a page that should be returning a 200 suddenly starts responding with a 410 (or any error code), you'll be alerted immediately via email, SMS, or Slack. You can set up downtime alerts for key landing pages, product pages, and high-traffic URLs so misconfigurations are caught before search engines act on them. Proper website monitoring is your safety net against accidental content removal.

Quick Summary

CauseFix
Intentionally deleted content410 is correct — no fix needed
Overly broad server ruleNarrow the rule to specific URLs
Content should redirect insteadReplace 410 with 301 redirect
Accidental 410 configurationRemove or correct the server rule
Need faster de-indexingUse 410 instead of 404

A 410 is a powerful, intentional signal. Use it when content is truly gone for good. If you're not sure, a 404 is safer. And if the content moved, always use a 301 redirect instead.

More posts

Wildcard vs SAN vs Single-Domain SSL Certificates: Which Do You Need?

Wildcard, SAN (multi-domain), and single-domain SSL certificates cover different use cases. Here's a clear comparison to help you pick the right type — and avoid paying for coverage you don't need.

Read more
Why DNS Works in One Location but Fails in Another

DNS resolves correctly from your office but fails for users in other countries or on different ISPs. Here's why geographic DNS inconsistency happens and how to diagnose which layer is causing it.

Read more
Registrar Lock vs Transfer Lock: What's the Difference?

Registrar lock and transfer lock are often confused — and disabling the wrong one leaves your domain vulnerable. Here's a clear breakdown of what each does and when to use them.

Read more

Subscribe to our PRO plan.

Looking to monitor your website and domains? Join our platform and start today.