Does Your Site have an Error 404 File Not Found Page?

Disclosure: We are a professional review site that receives compensation from the companies whose products we review. We test each product thoroughly and give high marks to only the very best. We are independently owned and the opinions expressed here are our own.

0 Flares Filament.io 0 Flares ×

So does your site have a 404 Page Not Found page? If so, do you think it is helpful to your readers? If you are a WordPress user and have not set one up yet, then odds are you might have one. You can easily check and see if you have one. The easiest way to do that is to type in your domain name followed by a /with gibberish  after it. What this will do is bring back a dead link and if you have a 404 page it should bring that up. After looking at yours, does look like it could help someone stay on your site later, or do you think it might annoy them and they click off your site and go somewhere else?

What Does 404 File Not Found Mean?

Before we go any further,  let me give you a brief overview of a what a 404 page and how it works. The 404 is a standard response code that tells the web browser that the web server could not find the requested page or file. In technical terms, the client or browser communicates via HTTP protocol to a web server. The server is waiting for a request from the browser. The request is usually a HTML file with a numeric response code  and a message. If a 404 code was received, this means an error occurred. Usually, the errors happen because, the file requested was moved, no longer exists, or the URL was mistyped. Along with the numeric response, a human-readable phrase is followed. That message is “Not Found”. Most web servers by default will have a HTML page that will have the 404 error code and the message file “Not Found.”

Can I Create a Custom 404 Page?

One of the easiest things you can do to your site to help out your visitors is to create a custom 404 page. If you are using WordPress then you might already have one created to match your theme. If not check out this page on creating a custom 404 Page for WordPress. With my theme, I was fortunate enough to have a 404 page that matched my theme. But, the sad part it is useless and empty. It does nothing to help the readers or even try and keep them on the site. Because of this, I modified my 404 page and made it more useful for the reader.

What Makes the Perfect 404 Page?

As mentioned before, the most common reason a user gets a 404 page is because of three reasons;

  • file does not exist
  • file was moved or deleted
  • user typed incorrect URL

When creating a customized 404 page, you need three things;

  • Link to or mention the sitemap so the user can use the sitemap
  • Search box
  • keep your 404 page simple. Its alright to be funny but make sure everyone can understand your joke.

So when creating your custom error 404 page, make sure to mention why the user may have  found your 404 page and then offer different options to find what they are looking for. When you come up with the content, be nice and don’t point fingers at who is at fault. Just give them a reason why they are seeing the page and how to find what they are looking for.

10 Custom Error 404 Pages for Inspiration

After researching custom error 404 pages I came across many articles that give examples of custom error pages. Since almost every site shows the same the sites and examples, I thought I would give you just a few examples of my favorite 404 pages.

1. Suspended Animations

suspendedanimation

2. HomeStar Runner

homestarrunner

3. Jibjab

jibjab

4. Daze Of Our Lives

dazeofourlives

5. Slonky

slonky

6. Jamie Huskisson

jhuskisson

7. CSS-Tricks

csstricks

8. RetardZone

retardzone

9. CSS Remix

CSSREMIX

10. SiteSketch101stitesketch101

Modifying the 404 File Not Found Page

Now that you had a little inspiration, here are the steps you will need to modify your them.  If you already, have a themed, 404 page then all you need to do is add your content, links and anything else you would like. But if you  don’t have a custom theme, then you will have to create one. I have not had the chance to create one yet, but its is not to hard. WordPress.Org has an excellent tutorial on how to create a custom 404 page to match your theme. The tutorial has a lot of additional information and give you addition information to help create a more advanced 404 page. Just remember, the more code, server calls and javascript you use, it can and will slow your load times down. Slow load times are one thing you want to avoid.

1. First thing you need to do is open your 404 style sheet inside the WordPress Editor

Admin panel >>> Appearance >>> Editor >>> 404 Template (404.php)

2. Inside the content section of the template this is were you would add your content, images and any code you want to appear on your custom error 404 page.

3. Make sure to add links to your sitemap if you have one and add a search box.

4. Once you are satisfied with the results save it and test it. Then your done.

Below is the sample code of what my 404 page code looks like as of June 15, 2010

[sourcecode language=”PHP”]

<?php
/* Mystique/digitalnature */
get_header();

?>

<!– main content: primary + sidebar(s) –>
<div id="main">
<div id="main-inside" class="clearfix">
<!– primary content –>
<div id="primary-content">

<h1 class="title"><span class="error">404.</span> <?php _e(‘The requested page was not found’,’mystique’); ?></h1>

<p>Nuts! You have stumbled across a page that no longer exists or never existed. If you think this is a conspiracy, you could try out the <a href="<?php bloginfo(‘siteurl’);?>/sitemap/">sitemap</a> or you can go back to the <a href="<?php bloginfo(‘siteurl’);?>">homepage</a> and start over again. If that doesn’t help, you could try out our nifty little search form…

<?php include(TEMPLATEPATH . "/searchform.php"); ?>

<!– /primary content –>
</div>

<?php get_sidebar(); ?>

</div>
</div>
<!– /main content –>

<?php get_footer(); ?>
[/sourcecode]


EvolutionaryDesigns.net runs on the Genesis Framework

Genesis Framework

Genesis empowers you to quickly and easily build incredible websites with WordPress. Whether you're a novice or advanced developer, Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go. It's that simple - start using Genesis now!


Take advantage of the 6 default layout options, comprehensive SEO settings, rock-solid security, flexible theme options, cool custom widgets, custom design hooks, and a huge selection of child themes ("skins") that make your site look the way you want it to. With automatic theme updates and world-class support included, Genesis is the smart choice for your WordPress website or blog.

About James

James spends most of his free time using social media and loves to teach others about design, web development, CSS, SEO, and social media. He is addicted to Wordpress, social media, and technology. You can reach him on his, personal website, Do not forget to follow him on Twitter @element321

Comments

  1. Those are some great examples. That is inspiring me to do something cute on mine.

    • Yeah, they inspired me as well. I am working on make a better one as well. I quickly put one out on this site, when I found my was useless…

  2. Really fun examples. I just had a plugin melt down the other day and sent a bunch of bad links to Twitter, It was a tragedy, well embarrassing anyway, but it got me thinking about my 404 page and then here you are with some great stuff. I’m inspired to do it up for sure now.

Trackbacks

  1. RT @element321: Does Your Site have a 404 Not Found Page? http://bit.ly/dgMsgZ

  2. Element321 says:

    New Blog Post: Does Your Site have a 404 Not Found Page? http://bit.ly/dgMsgZ

  3. […] This post was mentioned on Twitter by Element321, Omer Greenwald. Omer Greenwald said: RT @element321: Does Your Site have a 404 Not Found Page? http://bit.ly/dgMsgZ […]

  4. Ileane Smith says:

    RT @element321: Does Your Site have a Error 404 File Not Found Page? http://bit.ly/dgMsgZ

  5. Learn How to Customize Your Error 404 Page…

    Does your WordPress Site have a custom Error 404 page? If not, learn how to customize your error 404 page to make it more usable for your visitors….

  6. Story added…

    Your story was featured in Featured in MMO Social Network! Here is the link to vote it up and promote it: http://www.mmosocialnetwork.com/Wordpress/How_to_Create_a_Custom_Error_404_Page_On_WordPress

  7. RT @element321: Does Your Site have an Error 404 File Not Found Page? http://bit.ly/dgMsgZ

  8. DesignGizer says:

    RT @element321: Does Your Site have an Error 404 File Not Found Page? http://bit.ly/dgMsgZ

  9. MMO-Network says:

    RT @element321: Does Your Site have an Error 404 File Not Found Page? http://bit.ly/dgMsgZ

  10. @Element321 Yeah, Check mine out http://ow.ly/20oyh RT @element321: Does Your Site have a 404 Page? http://bt.io/FSRH

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Flares Twitter 0 Facebook 0 Pin It Share 0 Buffer 0 Email -- Filament.io 0 Flares ×
%d bloggers like this: