There is nothing like arriving at a hard core 404 error page. The beauty of the default Apache non-existent page error is just amazing. Still, there are people who don’t think that is very cool and perhaps even a bit frightening. Especially persons from the older generation. Even if your website doesn’t have that kind of visitors it’s good to have an understandable and easy navigated error page anyway. Most visitors arrive at your page and want to access just one thing, that is whatever they’re looking for. If that thing isn’t there they will exit your website and maybe never come back.
If you, however, provide them with some links and a search function they might find what they were looking for or an interesting article to read instead of it. Then you will have a happy visitor and the good thing about them is that they have the habit of returning in the future.
Your error page must be nice and understandable to everyone, even people in their eighties. I know persons who think it’s very funny joking with people ending up at the 404 page, but you should be very friendly. Don’t insult them by telling everything is their fault. Maybe it is their fault, but keep yourself from writing anything… stupid.
Some error page must-haves
All these things could prevent the visitor from just hitting the browser back button and instead surf your site for a while. The default error page didn’t allow you to go anywhere but back but the new one will if you just follow some simple rules.
- Search box
You can’t be without this one. - Navigation
You need some very minimalistic site navigation. Links to the main page, about page and perhaps some links to your best articles/content. - Possible errors
List some of the things that could have went wrong. Like a mistyped address, a broken link and a not updated search engine. - Link to site map
A link to your site map is great and one of the most used ways to exit an error page. - Email
Allow your visitors to send you a message about a broken link by providing them with your email address ora contact page.
A dynamic error page
There is some ways to make your error page dynamic. You can use JavaScript or php for example. Since I’m not very good at either I have traced down a few sites with some useful scripts:
I hope these can be helpful for you. Implement the code in your website design and you’ll have a great 404 page.
I have made a new error page to this site based on some of the rules in this article. It’s not dynamic yet, that still needs to be fixed, but you could get some inspiration by the design and layout. Making a custom error page will sow your visitors that you actually care about them.
Check out this page if you want some inspiration on making your design personalized.
Good luck with your custom 404 page.
Share This
6 responses so far ↓
1 Joel // Sep 30, 2007 at 2:18 pm
As everyone already knows, 404 Not Found is a member of the 4xx class of HTTP status codes that signify client error. Hear that? Client error! Sure, maybe the user clicked a broken link (from somebody else’s site, obviously — I don’t make such novice errors) and isn’t directly responsible. Still, I ask you: is that my problem? Last time I checked RFC 2616 it said, “I don’t think so, Tim!”
And a search box? Are you kidding me? If I wanted to do that, I’d be in the search engine industry, not the porn sites for obscure fetishes industry! I’ve only got so much time on this earth, and I’m going to spend it helping my fellow man find quality pictures of girls with nice elbows if you don’t mind.
If I ever decide to take the blame for your stupid mistake, I’ll send you a 501 Not Implemented (solving every Web-illiterate’s problem being the functionality “not implemented”). Until then, just be glad I haven’t 403 Forbade you from every site I own and operate, grandma!
2 George // Sep 30, 2007 at 4:00 pm
Take it easy, Tim. This was a well written, insightful article.
How about adding, maybe, a Statcounter code or something similar to see how often this error occurs; In addition, you’ll get the referring site’s URL so you can investigate the matter further.
3 Wahoo // Oct 6, 2007 at 6:36 am
Thank you for sharing!
4 Jamie // Nov 3, 2007 at 9:02 pm
A good article. While not everyone needs to implement all of the suggestions (some, such as a search box, might be overkill for small sites), the underlying point is good: default 404 pages just aren’t user friendly enough.
5 Floroskop // Mar 19, 2008 at 9:07 am
Hello!
I think this try.
6 Jocelyn Fulton // May 30, 2008 at 10:30 pm
tumultuariness resweat tricaudate typhloempyema exocentric chromoisomeric sphenophyllales macrogamy
Census Bureau - Boyd County
http://thecathedralfaribault.com/
Leave a Comment