7 ms·
That's also a good reason for news orgs to have strict policies around never taking down articles or changing URLs. It happens enough to give cover to the behav
by ballenf 6y ago
That's also a good reason for news orgs to have strict policies around never taking down articles or changing URLs. It happens enough to give cover to the behavior you cite.
News sites could also replace their 404 page with an explanation "there used to be an article here, but we decided to remove it because ____" or "there's never been an article at this address".
- btrettel 6y agoThere's a HTTP status code for pages which were deleted: 410 Gone. https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#4xx_Client_errors https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#4xx_... This was famously used by Mark Pilgrim: https://en.wikipedia.org/wiki/Mark_Pilgrim#%22Disappearance%22_from_the_Internet https://en.wikipedia.org/wiki/Mark_Pilgrim#%22Disappearance%...
- elliekelly 6y agoHas anyone ever seen this in the wild? I didn’t even know it existed. Who knew there were so many different status codes.
- btrettel 6y agoSeems that I edited my comment to add an example at the same time you posted yours.
- LukeShu 6y agoI'm sure I've seen 410 in the wild, but it's pretty uncommon. If you're keeping track of things well enough to know that there used to be a page there in order to serve a 410, you're probably keeping track of things well enough to be able to do something better, like redirect to an updated URL. > Who knew there were so many different status codes. As an HTTP nerd, the authoritative listing of the different codes is: https://www.iana.org/assignments/http-status-codes https://www.iana.org/assignments/http-status-codes Note: Everything with a reference that's not RFC 7231 is an extension; don't use that status code unless you actually implement that extension. For example, don't use 401 (Unauthorized) instead of 403 (Forbidden) unless you actually implement the RFC 7235 Authentication extension.
- irl_zebra 6y agoGitLab does it for links to deleted repos!
- deleted 6y ago[deleted]
- tracker1 6y agoI use it for APIs when an item gets marked as deleted, vs actually deleted... depends on the underlying data though.
- spc476 6y agoI use it to mark pages that I have taken down for good [1]. I have also used 418 ("I'm a teapot") response code on my gopher server to discourage web bots from attempting to index the site. Edit--added note [1] For all the good it does. I just checked my logs and I still see requests for pages I marked as "gone" 15 years ago.