Hacker News new | ask | show | jobs
by caseysoftware 4911 days ago
I prefer the 404 pages that something to the effect of "Sorry, that is broken" and then include the results of a site search of the keywords or friendly url that was provided.

It's less confusing and keeps people on site.

1 comments

If you do this (which you should in my opinion), please return the 404 code. For example Facebook used to return 200 on error. Very confusing.
Absolutely, I assumed that was a given.