We all know the 404 Error page that appears when one follows an invalid link. Short and succinct, it says "We could not find the page you requested" and then follows with a little programmer humour.
Normally that is all that is needed.
However, in the case of a deleted question, the error message does not make much sense. The server found the question after all, otherwise it could not display the reason for its deletion.
- Example of a normal 404
- 404 for a voluntarily removed question
- 404 for a question removed by a moderator
So I would suggest we replace the current "404 not found" page:
Page not found
This question was voluntarily removed by its author.
We couldn't find the page you requested. We did, however, find this program.
[404 error joke program]
with a new "Question removed" page that looks like this:
Question removed
This question was voluntarily removed by its author at 2014-05-25 11:30
A possible duplicate of the question can be found here (only if the question had been closed as duplicate)
[insert joke here]
My main objection with the current error page are:
- The caption and the following text contradict the removal message. The server cannot really claim to "not find" something and at the same time claim that it was deleted.
- The notice that and why the question was removed is not very prominent.
- the 404 joke does not fit the situation, and further distracts from what actually happened.
The statement that the page was not found is clearly false. The server did find the page in question, and knows exactly what happened to it; the server is merely refusing to show the page to anyone with less than 10k reputation or mod privileges. We do not need to go into that much detail in the error page, simply stating that it was "removed" instead of "not found" should be enough
The joke also makes little sense here, since this is not really a 404 situation. And an user that just refreshed the page to find out it is gone may not appreciate the humour.
So my suggestion is:
- a custom error page for deleted questions, visually distinct from the default 404 error page, and without contradictory information
- (optionally) find a more fitting in-joke for the situation
- (optionally) provide additional information like
- link to the duplicate, (if the question had been closed as duplicate)
- date of removal
(useful for example if you share the link to a question via email or chat. If the recipients can see when the question was removed, they will be less confused as to why you sent them a non-working link.) - name of the parties responsible for removal
(to provide the same level of accountability we get for closed questions)
- (optionally) change the 404 status code into something more fitting like
303 See Other
(nothing to see here, but check our FAQ for deleted questions),403 Forbidden
(you lack the required reputation) or410 Gone
(for spam questions permanently deleted by a mod).
(There may be SEO reasons against that change, search engines may not know how to deal with uncommon status codes)