HTTP 410 Gone diagnosis from client request through intermediary to origin server

HTTP 410 (Gone) means access to a resource is no longer available and is likely permanently unavailable. To fix an unexpected response, identify the responding layer, then restore the resource or correct the request. Exclude 410 responses from automatic retries while investigating; retry only after a meaningful request correction, restoration, migration or cache fix. See MDN’s 410 guidance.

Start with the actual response and establish whether it matches the owner’s intent.


Key Facts

  • HTTP 410 reports that access to a resource is likely permanently unavailable.
  • The 4xx client-error classification alone does not establish who caused an unexpected response.
  • Both 404 and 410 support heuristic caching.
  • Compare matching requests before attributing a 410 to a proxy route.
  • Google does not promise an immediate removal deadline for 410 responses.

What HTTP 410 means

HTTP 410 is a response status, not an HTTP method. It reports likely permanent unavailability without proving deletion history. Its 4xx classification does not establish who caused an unexpected response. See RFC 9110 and our HTTP status code guide.

Inspect the actual response

Send a GET request. With curl, -i includes headers alongside the body. Initially omit -L so an initial redirect remains distinguishable from a destination returning 410. See the curl manual.

curl -i --request GET 'https://example.com/'

Replace the example address with the affected URL. Save the status line, headers, body and timestamp. Correlate any request ID with owner logs. Redact cookies, authorization values and private query parameters before sharing. See sending HTTP headers with curl.


What causes an unexpected HTTP 410?

Treat deletion, stale URLs, retired endpoints, server rules and intermediary responses as hypotheses. Compare the failing request with a working control.

Symptom Check Meaning Fix
All clients fail Owner logs and deletion history Possible deliberate removal Restore if accidental; otherwise retire link
Browser works, client fails URL, method, session and client version Request differences Correct request or supported client
Origin works, public URL fails Owner-controlled origin comparison and CDN logs Possible edge rule or cache Correct rule; invalidate affected cache
Old API endpoint fails Response body and vendor changelog Possible retirement Migrate to supported endpoint
Only proxy route fails Matched direct and proxy requests Route-dependent response Inspect proxy and edge evidence

Decide what a 410 means for you

Preserve the hostname, scheme, path and relevant session context. Change one variable at a time.

When diagnosing a DataImpulse proxy route, compare matching direct and proxied requests. Rotation cannot restore deleted content. Keep 407 proxy authentication separate: it concerns authentication to a proxy, as defined in RFC 9110.


Who can fix HTTP 410?

The next action depends on what you control.

Reader Responsibility Next action Stopping condition
Visitor or downloader Use the current published link Open the original source page Valid link found or removal confirmed
Developer Send a supported request Compare URL, method, session and client version Request works or migration is required
Server owner Return the intended response Trace application, server and edge handling Public response and content match intent
Scraper or API client Handle unavailable resources Record the failure and investigate retirement Resource disposition established

Platform-specific checks and fixes

NGINX, Apache and WordPress

For NGINX, inspect rules affecting the URL, including server-level rewrites. An exact-match location scopes the path; return sets the response.

location = /retired-page {
    return 410;
}

On November 18, 2026, with NGINX 1.24.0 and curl 8.5.0, this rule inside a server block passed nginx -t. The affected path returned HTTP/1.1 410 Gone; /retired-page/ returned 404.

For a local reversal example, create content at the affected path and a control path:

mkdir -p /tmp/http410-demo/html
printf 'Restored resource\n' > /tmp/http410-demo/html/retired-page
printf 'Control resource\n' > /tmp/http410-demo/html/control

Save this complete configuration as /tmp/http410-demo/nginx.conf:

worker_processes 1;
pid /tmp/http410-demo/nginx.pid;
error_log /tmp/http410-demo/error.log;

events {
    worker_connections 64;
}

http {
    access_log /tmp/http410-demo/access.log;
    default_type text/plain;

    server {
        listen 127.0.0.1:8080;
        server_name localhost;
        root /tmp/http410-demo/html;

        location = /retired-page {
            return 410;
        }

        location / {
            try_files $uri =404;
        }
    }
}

Validate, start the isolated instance and capture both responses:

nginx -t -p /tmp/http410-demo/ -c /tmp/http410-demo/nginx.conf
nginx -p /tmp/http410-demo/ -c /tmp/http410-demo/nginx.conf
curl -i 'http://127.0.0.1:8080/retired-page'
curl -i 'http://127.0.0.1:8080/control'

Remove only the exact-match location block, then validate and reload:

nginx -t -p /tmp/http410-demo/ -c /tmp/http410-demo/nginx.conf
nginx -s reload -p /tmp/http410-demo/ -c /tmp/http410-demo/nginx.conf
curl -i 'http://127.0.0.1:8080/retired-page'
curl -i 'http://127.0.0.1:8080/control'

The expected outcome is 410 at the affected path before reversal, with 200 and the control content at the control path. After reversal, both should return 200 with their respective file contents. Removing a rule does not recreate missing content. Local responses do not establish CDN behavior or indexing timing.

For Apache with mod_alias loaded, place this anchored rule inside the affected virtual host:

RedirectMatch gone ^/retired-page$

Apache defines gone as 410 without a destination URL; RedirectMatch supplies regular-expression matching. Reverse the specific rule, restore the resource and check sibling URLs.

For WordPress, inspect redirection plugins and custom callbacks. status_header() sets the status; template_redirect runs before template selection. Narrow or remove unintended 410 conditions.

Fix HTTP 410 in IDM, Free Download Manager and media clients

For Internet Download Manager (IDM), if the source still offers the same file and evidence points to an expired download address, right-click the failed download and choose Refresh download address. Open the original source page if IDM does not open it correctly, then start the same permitted download so IDM can capture the refreshed address. This addresses an expired link or session; it cannot restore a removed file. See IDM’s expired-link recovery instructions.

For Free Download Manager (FDM), obtain the current download link from the original source page and compare the resource and session with the failed request. Do not assume IDM’s menu instructions apply to FDM. If the owner confirms removal without a replacement, stop retries.

For yt-dlp, use the update method matching its installation: release binary, pip or another package manager. Follow the official update instructions. Updating a client cannot recreate removed content.

For other applications and integrations, capture the exact URL, numeric status and client version, then check the provider’s documentation before changing the request.

APIs and Python clients

Check provider retirement notices before changing an endpoint. For urllib.error.HTTPError, inspect exc.code and exc.headers. With Requests, inspect response.status_code and response.headers; see its status-code documentation and our curl to Python guide.

Save this example as check_410.py and run python3 check_410.py 'https://example.com/'. It disables redirects and prints only status information or fixed labels. Request construction stays inside the exception handler because Request can raise ValueError; HTTPException also covers InvalidURL.

import json
import sys
from http.client import HTTPException
from urllib.error import HTTPError, URLError
from urllib.request import HTTPRedirectHandler, Request, build_opener


class NoRedirect(HTTPRedirectHandler):
    def redirect_request(self, req, fp, code, msg, headers, newurl):
        return None


def check(url):
    try:
        if not url.lower().startswith(("http://", "https://")):
            raise ValueError("Expected an HTTP or HTTPS URL")
        opener = build_opener(NoRedirect())
        request = Request(url, method="GET")
        with opener.open(request, timeout=15) as response:
            status = response.status
    except HTTPError as exc:
        status = exc.code
        exc.close()
    except (URLError, TimeoutError, OSError, ValueError, HTTPException):
        print(json.dumps({"event": "request_failed", "action": "investigate"}))
        return 1

    action = "exclude_from_automatic_retries" if status == 410 else "inspect_response"
    print(json.dumps({"status": status, "action": action}))
    return 1 if status == 410 else 0


if __name__ == "__main__":
    if len(sys.argv) != 2:
        raise SystemExit("Usage: python3 check_410.py URL")
    raise SystemExit(check(sys.argv[1]))

Exit code 0 means an HTTP response other than 410 was received; it does not mean the resource is available. Inspect the printed status. Exit code 1 indicates 410 or a request failure.

Check the browser’s network panel. The standard labels are 410 Gone and 502 Bad Gateway; 502 describes an invalid upstream response. Mixed wording does not establish a ClassLink-specific cause.


410 vs 404: When should you remove or redirect a URL?

Response Use when Avoid when
404 Not Found No resource is available, including when permanence is uncertain A clear permanent replacement exists
410 Gone You explicitly communicate likely permanent unavailability The resource should remain available
301 Moved Permanently A relevant permanent replacement exists The destination does not replace the content

Use 410 to explicitly communicate likely permanent unavailability. A permanently removed page may also return 404; Google accepts either without a replacement.

Both 404 and 410 support heuristic caching under RFC 9110, subject to applicable cache controls. Include caches in restoration checks.

Google treats ordinary 4xx responses alike for indexing, except 429. Indexed URLs enter removal processing and crawling decreases, without an immediate removal deadline. See Google’s crawler documentation.

403 means refusal to fulfill the request; see our 403 troubleshooting guide. 409 indicates a conflict with the resource’s current state, as defined in RFC 9110.


How do you verify the result and decide whether to retry?

Exclude 410 responses from automatic retries while investigating. Retry only after a meaningful request correction, restoration, migration or cache fix. See MDN’s guidance.

Repeat the public GET after the change and check content and caches. If the intended configuration is a 410 removal response, verification should still return 410; it does not need to become 200.

  • Restoration: confirm expected content, not merely a 200 status.
  • Migration: verify the replacement and update stored links.
  • Rule correction: check the affected URL and unaffected routes.

Apply a status-aware retry policy in the client and surrounding job queue.


Frequently Asked Questions

Does HTTP 410 prove that someone intentionally deleted a page?

No. It reports likely permanent unavailability. Confirm intent through logs, removal history or a retirement notice. See RFC 9110.

Can I fix HTTP 410 by refreshing?

Refreshing alone does not repair the cause. Check again after a request correction, restoration, migration or cache fix.

How do I diagnose HTTP/1.1 410 Gone in IDM or Free Download Manager?

For an expired IDM link, choose Refresh download address and restart the same permitted download from its source page. See IDM’s instructions. For FDM, obtain a current source link and compare the resource and session. Neither approach restores removed files.

Should I choose 410 instead of 404 for faster Google removal?

No speed guarantee applies. Choose the response that communicates the resource’s state. Google accepts either for removal without a replacement; see Google’s 4xx guidance.

Should a Python client automatically retry urllib.error.HTTPError with code 410?

No. Inspect exc.code and investigate the resource’s status before another attempt. With Requests, inspect response.status_code.

Can changing proxy routes fix HTTP 410?

Route comparisons can reveal a discrepancy, but changing routes cannot restore confirmed deleted content.


Resolve the cause of HTTP 410

Match the response to the owner’s intent, correct the responsible layer and confirm that the public URL behaves as intended.

Last updated: November 18, 2026.