<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blogussion &#187; page not found</title>
	<atom:link href="http://www.blogussion.com/tag/page-not-found/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blogussion.com</link>
	<description>Blogging Discussion, Tips &#38; Tricks</description>
	<lastBuildDate>Wed, 08 Feb 2012 07:48:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to Create an Informative &#8220;404 Error&#8221; Page</title>
		<link>http://www.blogussion.com/design/404-error-page-exist/</link>
		<comments>http://www.blogussion.com/design/404-error-page-exist/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 21:52:25 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Study of Design]]></category>
		<category><![CDATA[404 error]]></category>
		<category><![CDATA[page not found]]></category>

		<guid isPermaLink="false">http://www.blogussion.com/?p=4087</guid>
		<description><![CDATA[How to create an effective 404 page that draws traffic back to your site.


Related posts:<ol><li>
<a href='http://www.blogussion.com/general/blog-design-making-footer-space/' rel='bookmark' title='Blog Design: Making the most out of your footer space'>Blog Design: Making the most out of your footer space</a></li>
<li>
<a href='http://www.blogussion.com/blogging-tips/wp-tags-on-posts/' rel='bookmark' title='Do You Utilize Tags On Your Posts?'>Do You Utilize Tags On Your Posts?</a></li>
<li>
<a href='http://www.blogussion.com/general/optimizing-layout-blog-homepage/' rel='bookmark' title='Optimizing the Layout of Your Blog Homepage'>Optimizing the Layout of Your Blog Homepage</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p></p><p><span class="drop_cap">B</span>elieve it or not 404 error pages are a very important part of your website. Just because it&#8217;s (hopefully) the least viewed page on your blog doesn&#8217;t mean it shouldn&#8217;t be paid attention to. The reason why it is so important is because it serves as a gateway for lost and misguided users on your blog.</p>
<p>You should always work your hardest to never let a user see a 404 page (unless it&#8217;s their fault they see it), however you need to be sure that you have a functional and informative 404 page, so when someone does see it they get back on track.</p>
<p><span id="more-4087"></span></p>
<p>Before you start messing with your 404 page, or even before I really get into further detail, you need to remember the K.I.S.S concept (Keep it Short and Simple, or Keep it Simple, Stupid). That&#8217;s basically saying to keep your design simple and away from anything that may serve complex. So just remember that through this post.</p>
<h3>The 2 Kinds of 404 Pages</h3>
<p>I can categorize 404 pages into two different sections. Which of the categories can you classify your 404 page in?</p>
<p><strong>The Good 404:</strong> Pages that are full of information that will help people get around the blog and find what they thought they were going to.</p>
<p><strong>The Bad 404:</strong> Generally pages that are a waste of space, and basically show no interest or care for why a page on THEIR blog is not working. Usually you will see this negative sounding &#8220;Sorry, but you are looking for something that isn&#8217;t here&#8221; message and a search box if you&#8217;re lucky.</p>
<h4>What are you?</h4>
<p>So, which kind of 404 page do you want on your blog? The 404 page that says &#8220;Dude, you&#8217;re on your own&#8221;, or the page that says &#8220;Here, let me help you with that&#8221;. Take a look at your 404 page right now, and see which of the categories you fall into. I seriously hope you are in the &#8220;Good&#8221; category!</p>
<p class="alert">Note: Most of the information below will be directed at users with blogs powered by WordPress. However, non WordPress users can still take information from this article and put it to use at their own blog.</p>
<h3>Ways you can make your 404 page more helpful</h3>
<p>There are certain things I feel should be included on every blogs 404 page. Everything I list will all be focused around the idea of &#8220;delivering useful content to someone&#8221;, and of course how to carry out the specific action on the page itself.</p>
<h4>1. Recent + Popular Posts</h4>
<p>A no-brainer, and the first thing that should come to mind when creating a 404 page. I can understand if you are skeptical on adding these things to your 404 page though. I guess you can say there is more pertinent information to be added to the page, but I find that adding this information can help people find extra information they weren&#8217;t necessarily looking for before (which is a good thing).</p>
<h5>Add Recent Posts to your blog with or <em>without</em> a plugin</h5>
<p>If you want a plugin for this, check out the <a href="http://wordpress.org/extend/plugins/recent-posts-plugin/">Recent Posts Plugin</a>. It&#8217;s definitely the best available, and lets you customize the output of the plugin in nearly any way you want.</p>
<p>For some people, it is their goal to use as less plugins as possible. A very understandable goal, and many of us should try and do the same. So I did a little reasearch, and found a simple way to show your latest posts on your blog without a plugin. Just paste this code wherever you want it to appear:</p>
<pre>&lt;ul&gt;
  &lt;?php $recent = new WP_Query("showposts=<strong>5</strong>"); while($recent-&gt;have_posts()) : $recent-&gt;the_post();?&gt;
    &lt;li&gt;&lt;a href="&lt;?php the_permalink() ?&gt;" rel="bookmark" title="&lt;?php the_title(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;?php endwhile; ?&gt;
&lt;/ul&gt;</pre>
<p>You can edit the number of posts shown by editing the value &#8220;5&#8243; to however many you like.</p>
<p style="text-align: right;">Code Found At <a href="http://webdemar.com/wordpress/display-recent-posts-without-plugin/">Webdemar.com</a></p>
<h5>Popular Posts (Plugin + No Plugin Options)</h5>
<p>I recommend the popular posts plugin from Rob Marsh (same author of the Recent Posts plugin above). It has the same amazing options as the Recent Posts plugin does. <a href="http://wordpress.org/extend/plugins/popular-posts-plugin/">Download it</a>.</p>
<p>Paste this code wherever you want popular posts to display:</p>
<pre>&lt;h2&gt;Popular Posts&lt;/h2&gt;
&lt;ul&gt;
&lt;?php $result = $wpdb-&gt;get_results("SELECT comment_count,ID,post_title FROM $wpdb-&gt;posts ORDER BY comment_count DESC LIMIT 0 , <strong>5</strong>");
foreach ($result as $post) {
setup_postdata($post);
$postid = $post-&gt;ID;
$title = $post-&gt;post_title;
$commentcount = $post-&gt;comment_count;
if ($commentcount != 0) { ?&gt;
&lt;li&gt;&lt;a href="&lt;?php echo get_permalink($postid); ?&gt;" title="&lt;?php echo $title ?&gt;"&gt;
&lt;?php echo $title ?&gt;&lt;/a&gt; {&lt;?php echo $commentcount ?&gt;}&lt;/li&gt;
&lt;?php } } ?&gt;
&lt;/ul&gt;</pre>
<p>You can edit the number of posts shown by editing the value &#8220;5&#8243; to however many you like.</p>
<p style="text-align: right;">Code Found At <a href="http://www.problogdesign.com/wordpress/create-your-own-popular-posts-page/">ProBlogDesign</a></p>
<h4>2. Search Box</h4>
<p>Such an obvious thing to do, yet one of the most important things to add to your 404 page. You can&#8217;t expect the post the user is looking for will be in the &#8220;Recent Posts&#8221; or &#8220;Popular Posts&#8221; section. You need to add a Search form so people can look more in depth of your blog.</p>
<p>This is the code I use for the standard WordPress search:</p>
<pre>&lt;form method="get" id="searchform" action="&lt;?php bloginfo('url'); ?&gt;/"&gt;
	&lt;input size="20" type="text" value="Search..." onfocus="if(this.value==this.defaultValue)this.value='';" onblur="if(this.value=='')this.value=this.defaultValue;" name="s" id="s" /&gt;
	&lt;input type="submit" id="submit" value="Search" /&gt;
&lt;/form&gt;</pre>
<p>The neat thing about the code above is it will have the default &#8220;Search&#8230;&#8221; text, but when the user clicks on the input box, that text will disappear. A neat little effect I think. <img src='http://www.blogussion.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h4>3. Contact Information + Subscription Options</h4>
<p>These are important too, more important than you think actually. Both of these options are pretty much ways to get the user more involved with the community, but more specifically: you.</p>
<h5>Why contact information on 404 pages are useful</h5>
<p>You should give users an option to be able to contact you to look for a post. You can either direct them to your contact page, or set up a custom contact form right on the page.</p>
<p>So with a contact form, a user has the option to send you an email and ask if the post exists, and if you can find it for them. Or, it could be a simple notice that a page is broken. It&#8217;s a win win situation for you, because you either get to help a user out, or you will be alerted of a broken URL on your blog.</p>
<h5>Link to your Feed. Why not?</h5>
<p>This is kind of a &#8220;Why not?&#8221; kind of thing. I think that if you put a URL to your RSS feed on your 404 page and ask people to subscribe in an inviting manner, they can feel more part of the community. I know how it sounds, inviting someone to follow your blog from a broken page can be weird. But I feel it is very beneficial.</p>
<p><strong>Quick Suggestion:</strong> Add some extra inviting text to your RSS link. It&#8217;s on a 404 page, so I think if you say something like &#8220;Subscribing to our RSS Feed is a great way to stay up to date with our blog&#8221; and basically promising them they won&#8217;t have to ever see that page again if they subscribe. Sounds like good idea, right?</p>
<h3>Examples of very informative 404 pages on blogs</h3>
<p>Do you want to see an example of some cool 404 pages? Take the pages listed below as an example of what it means to have a great 404 page:</p>
<div id="attachment_4132" class="wp-caption aligncenter" style="width: 542px">
	<a href="http://www.problogger.net/404/"><img class="size-full wp-image-4132" title="ProBlogger.net" src="http://www.blogussion.com/wp-content/uploads/2009/04/problogger-404.gif" alt="ProBlogger.net" width="542" height="258" /></a>
	<p class="wp-caption-text">ProBlogger.net</p>
</div>
<div id="attachment_4136" class="wp-caption aligncenter" style="width: 542px">
	<a href="http://thoushallblog.com/404/"><img class="size-full wp-image-4136" title="Thoushallblog.com" src="http://www.blogussion.com/wp-content/uploads/2009/04/thoushallblog-404.gif" alt="ThouShallBlog.com" width="542" height="258" /></a>
	<p class="wp-caption-text">ThouShallBlog.com</p>
</div>
<div id="attachment_4138" class="wp-caption aligncenter" style="width: 542px">
	<a href="http://blogsessive.com/404/"><img class="size-full wp-image-4138" title="Blogsessive.com" src="http://www.blogussion.com/wp-content/uploads/2009/04/blogsessive-404.gif" alt="Blogsessive.com" width="542" height="258" /></a>
	<p class="wp-caption-text">Blogsessive.com</p>
</div>
<div id="attachment_4140" class="wp-caption aligncenter" style="width: 542px">
	<a href="http://www.smashingmagazine.com/404-page/"><img class="size-full wp-image-4140" title="Smashing Magazine" src="http://www.blogussion.com/wp-content/uploads/2009/04/smashing-404.gif" alt="SmashingMagazine.com (Extremely Awesome by the way)" width="542" height="258" /></a>
	<p class="wp-caption-text">SmashingMagazine.com (Extremely Awesome by the way)</p>
</div>
<h3>Other Tips</h3>
<ul>
<li><a href="http://wordpress.org/extend/plugins/random-posts-plugin/">Download Random Posts by Rob Marsh</a>. Every time the page is accessed, a random post can be displayed in the same format as Popular posts or Random posts.</li>
<li><strong>Don&#8217;t put too much blame on the user</strong>. Basically, don&#8217;t be mean about it. I know people like to be funny and add little jokes but don&#8217;t overdo it.</li>
<li><strong>Speaking of being funny and jokes &#8211; Add personality</strong>. Like on any other post or page of your blog, personality is key.</li>
<li><strong>Link to the homepage of your blog</strong>. Get your readers off of that 404 page, and direct them to the <em>real</em> content.</li>
<li>If you need help creating a 404 page, check out the <a href="http://codex.wordpress.org/Creating_an_Error_404_Page">WordPress Docs</a>.</li>
</ul>


<p>Related posts:<ol><li><p><a href='http://www.blogussion.com/general/blog-design-making-footer-space/' rel='bookmark' title='Blog Design: Making the most out of your footer space'>Blog Design: Making the most out of your footer space</a></p></li>
<li><p><a href='http://www.blogussion.com/blogging-tips/wp-tags-on-posts/' rel='bookmark' title='Do You Utilize Tags On Your Posts?'>Do You Utilize Tags On Your Posts?</a></p></li>
<li><p><a href='http://www.blogussion.com/general/optimizing-layout-blog-homepage/' rel='bookmark' title='Optimizing the Layout of Your Blog Homepage'>Optimizing the Layout of Your Blog Homepage</a></p></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.blogussion.com/design/404-error-page-exist/feed/</wfw:commentRss>
		<slash:comments>70</slash:comments>
		</item>
	</channel>
</rss>

