410 Gone 

410 消失

What is the 410 Gone Error?

什么是 410 Gone 错误?

The 410 Gone is an HTTP status code returned by the web server when the client (a browser or a web crawler) requests a resource that is no longer available at the requested address. It is one of the so-called “client errors,” meaning that the error is on the client side, not on the server.
410 Gone 是当客户端(浏览器或 Web 爬网程序)请求请求的地址中不再可用的资源时,Web 服务器返回的 HTTP 状态代码。这是所谓的 “客户端错误” 之一,这意味着错误在客户端,而不是在服务器上。

Unlike the 404 Not Found response code that can be shown for non-existing or mistyped URLs, the 410 code indicates that the resource was in use but is no longer available and will not be available again at the requested address.
与可针对不存在或键入错误的 URL 显示的 404 Not Found 响应代码不同,410 代码指示资源正在使用中,但不再可用,并且不会在请求的地址中再次可用。

For website visitors, the 410 error means that the webpage was deleted and, generally, is no different from the 404 error.
对于网站访问者,410 错误意味着网页已被删除,通常与 404 错误没有什么不同。

For search engines, the 410 status code is more unambiguous than the 404 response because the 404 error can be temporary. Google, for example, can wait around 24 hours before removing a 404 page from the index, while 410 pages can be removed instantly after crawling.
对于搜索引擎,410 状态代码比 404 响应更明确,因为 404 错误可能是暂时的。例如,Google 可以等待大约 24 小时后再从索引中删除 404 页面,而 410 页面可以在抓取后立即删除。

Should you use a 404 or 410 for deleted pages on your website?
您应该对网站上的已删除页面使用 404 还是 410?

Here’s what Matt Cutts from Google said in one of the webmaster help videos:
以下是 Google 的 Matt Cutts 在其中一个网站站长帮助视频中所说的话:
If a page is gone and you think it’s temporary, go ahead and use a 404. If the page is gone and you know no other page that should substitute for it, you don’t have anywhere else that you should point to, and you know that that page is going to be gone and never come back, then go ahead and serve a 410.
如果一个页面消失了,并且你认为它是临时的,那就继续使用 404。如果该页面消失了,并且您不知道其他页面可以替代它,那么您没有其他应该指向的地方,并且您知道该页面将消失并且永远不会回来,那么请继续提供 410。

Should you use a 404 or 410 for deleted pages on your website?

您应该对网站上的已删除页面使用 404 还是 410?

Here’s what Matt Cutts from Google said in one of the webmaster help videos:
以下是 Google 的 Matt Cutts 在其中一个网站站长帮助视频中所说的话:

If a page is gone and you think it’s temporary, go ahead and use a 404. If the page is gone and you know no other page that should substitute for it, you don’t have anywhere else that you should point to, and you know that that page is going to be gone and never come back, then go ahead and serve a 410.
如果一个页面消失了,并且你认为它是临时的,那就继续使用 404。如果该页面消失了,并且您不知道其他页面可以替代它,那么您没有其他应该指向的地方,并且您知道该页面将消失并且永远不会回来,那么请继续提供 410。