<?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>HowIFixedIt.Net &#187; custom</title>
	<atom:link href="http://howifixedit.net/tag/custom/feed/" rel="self" type="application/rss+xml" />
	<link>http://howifixedit.net</link>
	<description>... Because Broken Is Not An Option.</description>
	<lastBuildDate>Sat, 25 Feb 2012 06:16:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>301 ReDirect For WordPress Back To Home Page Instead Of 404 Error Page.</title>
		<link>http://howifixedit.net/2010/07/301-redirect-wordpress-home-page-404-error-page/</link>
		<comments>http://howifixedit.net/2010/07/301-redirect-wordpress-home-page-404-error-page/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 16:17:52 +0000</pubDate>
		<dc:creator>HowIFixedIt</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[301]]></category>
		<category><![CDATA[301 redirect]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[404 error]]></category>
		<category><![CDATA[404 error page]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://howifixedit.net/?p=958</guid>
		<description><![CDATA[If you delete posts in WordPress that were once indexed by Google or bookmarked by one of your visitors, if they re-visit the link they&#8217;ll get your 404 error page.  The code below simply will re-direct them to your homepage.  Just copy the code to a file and rename it to 404.php.  In my WordPress  [...]]]></description>
			<content:encoded><![CDATA[<p>If you delete posts in WordPress that were once indexed by Google or bookmarked by one of your visitors, if they re-visit the link they&#8217;ll get your 404 error page.  The code below simply will re-direct them to your homepage.  Just copy the code to a file and rename it to 404.php.  In my WordPress installation, i just replaced the existing 404.php file in wp-content/themes/themename/ with the code below.</p>
<pre>
<div>&lt;?php

//Redirect for WordPress.
//http://howifixedit.net

<a rel="nofollow" href="http://www.php.net/header" target="_blank">header</a>("HTTP/1.1 301 Moved Permanently");
<a rel="nofollow" href="http://www.php.net/header" target="_blank">header</a>("Location: ".get_bloginfo('url'));

<a rel="nofollow" href="http://www.php.net/exit" target="_blank">exit</a>();

?&gt;</div>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://howifixedit.net/2010/07/301-redirect-wordpress-home-page-404-error-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

