410 Gone
When you encounter the HTTP status code 410 Gone, it means that the resource you are trying to access was once available, but it has been permanently removed, and you won’t find it again in the future.
You can Check Your URLs HTTP Code for FREE
Introduction
In Action
Sample
Conclusion
Introduction
When you encounter the HTTP status code 410 Gone, it means that the resource you are trying to access was once available, but it has been permanently removed, and you won’t find it again in the future.
This is different from the 404 Not Found status, which indicates that the resource doesn’t exist and may or may not have existed before.
So, if you receive a 410 Gone response, you should not expect the resource to come back, and you may need to look for alternative content or update your links accordingly.
In Action
When you encounter the HTTP status code 410 Gone, it means that the resource you are trying to access was available before but has now been permanently removed.
This is commonly used when a document or content was only available for a limited time, like a temporary promotion, and it has now expired. If the server expects the resource to come back in the future, it may use a different code like 404 Not Found.
The 410 Gone status is useful for website maintenance, as it tells clients to remove any links or references to the resource.
Sample
In the example, when the client requests a resource, the server responds with a 410 Gone status because the promotion has ended, and the content is no longer available.
This status indicates that the resource existed previously but has been permanently removed, so there’s no way to access it anymore.
Request
GET /holiday-promotion-Jan-2021.pdf HTTP/1.1
Host: www.example.com
Response
HTTP/1.1 410 Gone
Content-Type: text/html
Content-Length: 161
< html>
< head>
< title>Promotion Expired< /title>
< /head>
< body>
< p>The promotional period has ended and is no longer available.< /p>
< /body>
< /html>
Conclusion
The 410 Gone HTTP status code indicates that the requested resource was valid at one point, but it has been permanently removed and is no longer available. This response helps clients and search engines understand that the resource is gone for good, allowing them to remove any links or references to the resource.