<?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>WordPress Hacks &#187; 404 Page</title>
	<atom:link href="http://wphacks.com/tag/404-page/feed/" rel="self" type="application/rss+xml" />
	<link>http://wphacks.com</link>
	<description>WordPress Themes, Plugins, Hacks, Tutorials, and more!</description>
	<lastBuildDate>Thu, 02 Feb 2012 15:20:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Making Better Use of Your Error &#8220;404&#8243; Page</title>
		<link>http://wphacks.com/making-better-use-of-your-error-404-page/</link>
		<comments>http://wphacks.com/making-better-use-of-your-error-404-page/#comments</comments>
		<pubDate>Fri, 18 Jan 2008 11:00:24 +0000</pubDate>
		<dc:creator>Kyle Eslick</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[404 Page]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Code]]></category>
		<category><![CDATA[WordPress Hacks]]></category>

		<guid isPermaLink="false">http://wphacks.com/making-better-use-of-your-error-404-page/</guid>
		<description><![CDATA[While browsing my feeds, I noticed an interesting post over at JohnCow explaining how to make money online with missing pages. The author noticed that a lot of traffic was ending up on his error page (almost 26,000 people to be exact) and felt that there had to be a better way to use this [...]]]></description>
			<content:encoded><![CDATA[<p>While browsing my feeds, I noticed an interesting post over at JohnCow explaining <a href="http://www.johncow.com/making-money-online-with-missing-pages/">how to make money online with missing pages</a>.  The author noticed that a lot of traffic was ending up on his error page (almost 26,000 people to be exact) and felt that there had to be a better way to use this page so there wasn&#8217;t so much wasted traffic.</p>
<p>In the authors example, the idea is to redirect all traffic that hits his 404 page to his &#8220;make money&#8221; page, which contains affiliate links and other ways to get paid.   While this example probably wouldn&#8217;t apply to most of us, I do think that it might be a good idea to redirect these bloggers to a more important page on your blog, such as your homepage.</p>
<p>In order to do so, you simply need to do a quick edit to your 404.php page (which most themes should have).  Before attempting, make sure you have a backup copy of your 404.php page in case something goes wrong. You&#8217;ll want to add this code to the top of your 404.php page:</p>
<p><code> &lt;?php<br />
header ('Location: <a href="http://www.johncow.com/tools-and-ebooks/%27">http://yourhomepageurl/'</a> );<br />
?&gt;</code></p>
<p>You&#8217;ll of course want to manually enter your homepage URL.  If you have a favorite post you&#8217;d like to promote, you could instead add the URL to that post.</p>
<p>If you&#8217;d prefer not to redirect your 404 page, you can always <a href="http://wphacks.com/wordpress-tip-customizing-404-page">customize it</a> to help the potential reader to find what they were looking for.</p>
<img src="http://wphacks.com/?ak_action=api_record_view&id=130&type=feed" alt="" /><p>You are reading <a href="http://wphacks.com/making-better-use-of-your-error-404-page/">Making Better Use of Your Error &#8220;404&#8243; Page</a>  © 2008 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>

<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>]]></content:encoded>
			<wfw:commentRss>http://wphacks.com/making-better-use-of-your-error-404-page/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

