Browse > Home /

Thursday, March 11, 2010 | Subscribe via RSS

Customizing 404 error pages (on WordPress blogs)

September 28th, 2008 | 1 Comment | Posted in Web Matters

If you’ve ever seen a 404 error (“not found”), you’ll relate to the frustration that users experience when all they get is a “Sorry, can’t help you” type of message.

That’s why I’ve customized the 404 errors on Frederick’s Timelog to be a bit more user-friendly.

If you go to any random non-existent page (for instance, http://www.frederickding.com/posts/234u0af) you will come up against a 404 page with an evident error. The red background immediately indicates a problem, while the blue section indicates possible remedies.

404 error page

On a random URL, the possible remedies are limited to a site search. However, if you go to a misspelling (for instance, http://www.frederickding.com/podcasts as opposed to http://www.frederickding.com/podcast), there’s a neat feature that says “Go to [the correct URL]“.

Better 404 error page

How was this accomplished? (Code samples follow after the jump.)

More »

Homer Simpson in CSS

May 1st, 2008 | Comments Off | Posted in Web Matters

Can you believe it? Homer Simpson can be represented as characters on a page, formatted with CSS!

You can see this amazing feat animated by Ned Batchelder using jquery, and recorded for your viewing pleasure below. Or, you can download it as a compact (947 KB) QuickTime file.

Please enable Javascript and Flash to view this Flash video.
Tags: ,