410 Gone
The resource was here, has been removed on purpose and is not coming back. A clearer goodbye than a 404.
- Class
- 4xx Client error. The request is the problem: a wrong address, missing credentials, data the server can't accept.
- Defined in
- RFC 9110
What causes it
For content that was taken away deliberately and has no successor: an offer that has ended, a deleted account, a version of an API that was switched off. The server has to know that the address once existed, which is why it is sent far less often than 404.
What to do about it
As a visitor there is nothing to wait for. Remove the bookmark and look for the content elsewhere.
As the owner, use 410 when you remove pages for good, and take away the links to them. If a new page replaces the old one, a 301 to it serves people better than a 410.
Not to be confused with
| 404 Not Found | Nothing here, with no word on whether there ever was or will be. |
|---|---|
| 301 Moved Permanently | The content has a new address. |
| 451 Unavailable For Legal Reasons | Removed for a legal reason. |
How Google treats it
Google removes a page that returns 410 from its index. Its documentation treats 410 and 404 the same way.
All codes are on the list of HTTP status codes, which can be searched by number and by word.
Other 4xx codes
- 400 Bad Request
- 401 Unauthorized
- 402 Payment Required
- 403 Forbidden
- 404 Not Found
- 405 Method Not Allowed
- 406 Not Acceptable
- 407 Proxy Authentication Required
- 408 Request Timeout
- 409 Conflict
- 411 Length Required
- 412 Precondition Failed
- 413 Content Too Large
- 414 URI Too Long
- 415 Unsupported Media Type
- 416 Range Not Satisfiable
- 417 Expectation Failed
- 418 I'm a teapot
- 421 Misdirected Request
- 422 Unprocessable Content
- 423 Locked
- 424 Failed Dependency
- 425 Too Early
- 426 Upgrade Required
- 428 Precondition Required
- 429 Too Many Requests
- 431 Request Header Fields Too Large
- 451 Unavailable For Legal Reasons