<?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 Master &#187; Wordpress Resources</title>
	<atom:link href="http://www.wordpress-master.com/category/wordpress-resources/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wordpress-master.com</link>
	<description>Teaching Wordpress to the World</description>
	<lastBuildDate>Sat, 19 Jun 2010 13:40:36 +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>Fix your WordPress 404 error page</title>
		<link>http://www.wordpress-master.com/fix-your-404-error-page.html</link>
		<comments>http://www.wordpress-master.com/fix-your-404-error-page.html#comments</comments>
		<pubDate>Tue, 29 Dec 2009 05:42:17 +0000</pubDate>
		<dc:creator>Ed Gately</dc:creator>
				<category><![CDATA[Setting Up Wordpress]]></category>
		<category><![CDATA[Wordpress Resources]]></category>
		<category><![CDATA[404 error]]></category>
		<category><![CDATA[404 Error Page]]></category>
		<category><![CDATA[Amp]]></category>
		<category><![CDATA[Asp Aspx]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[blogging help]]></category>
		<category><![CDATA[Default Template]]></category>
		<category><![CDATA[Ecommerce Website]]></category>
		<category><![CDATA[Foreach]]></category>
		<category><![CDATA[General Idea]]></category>
		<category><![CDATA[Gt One]]></category>
		<category><![CDATA[Htmlentities]]></category>
		<category><![CDATA[Little Bit]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[Match]]></category>
		<category><![CDATA[Query Posts]]></category>
		<category><![CDATA[Request Uri]]></category>
		<category><![CDATA[Server Request]]></category>
		<category><![CDATA[Strip Tags]]></category>
		<category><![CDATA[Taking Responsibility]]></category>
		<category><![CDATA[Variables]]></category>
		<category><![CDATA[Wordpress Blog]]></category>
		<category><![CDATA[wordpress tips]]></category>
		<category><![CDATA[Yoast]]></category>

		<guid isPermaLink="false">http://www.wordpress-master.com/?p=494</guid>
		<description><![CDATA[Previously I wrote a post about taking responsibility for your 404 errors.  Today I want to spend a little bit of time going over what I've done to change my own 404 error page. Wordpress actually makes it very easy to program an improved 404 error page.  Yoast.com had an interesting article on a few changes to make an attractive 404 page. I had a couple small issues with the code he shared but I still really liked the general idea.  I made a few changes which seems to work better for me.]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.wordpress-master.com/fix-your-404-error-page.html" title="Permanent link to Fix your WordPress 404 error page"><img class="post_image alignright" src="http://www.wordpress-master.com/wp-content/uploads/2009/12/404-display1.png" width="300" height="251" alt="Default WordPress 404 Page" /></a>
</p><p>Previously I wrote a post about <a href="http://www.wordpress-master.com/taking-responsibility-404-errors.html">taking responsibility for your 404 errors</a>.  Today I want to spend a little bit of time going over what I&#8217;ve done to change my own 404 error page.</p>
<p>You can see on the right what the default template and the default 404 error page looks like.  Needless to say it leaves a lot to be desired.</p>
<p>WordPress actually makes it very easy to program an improved 404 error page.  Yoast.com had an interesting article on a few changes to <a href="http://yoast.com/404-error-pages-wordpress/">make an attractive 404 page</a>. I had a couple small issues with the code he shared but I still really liked the general idea.  I made a few changes which seems to work better for me.</p>
<p>However you decide to design your error pages, keep in mind that they are important.  Doesn&#8217;t matter if you are using a WordPress blog, and eCommerce website, you don&#8217;t want to loose the traffic for visitors that might be coming into your site from an invalid link.</p>
<p>Editing your 404 Error Page is really simple.  For most templates you simply need to edit the file named 404.php  So here&#8217;s where I went with it:</p>
<blockquote><p>## Pull Query Variables and check for exact match ##<br />
$s = htmlentities(strip_tags($_SERVER['REQUEST_URI']));<br />
$s = str_replace(&#8216;/&#8217;,&#8221;,$s);<br />
$s = preg_replace(&#8216;/(.*)\.(html|htm|php|asp|aspx)?$/&#8217;,'$1&#8242;,$s);<br />
$posts = query_posts(&#8216;post_type=any&amp;name=&#8217;.$s);</p>
<p>## If no posts match perform search ##<br />
$s = str_replace(&#8216;-&#8217;,&#8217; &#8216;,$s);<br />
if (count($posts) == 0) {<br />
$posts = query_posts(&#8216;post_type=any&amp;s=&#8217;.$s);<br />
}</p>
<p>## Display results of either direct match or post search ##<br />
echo &#8216;&lt;ol&gt;&#8217;;<br />
if (count($posts) &gt; 0) {<br />
echo &#8216;&lt;li&gt;Were you looking for &lt;strong&gt;one of the following&lt;/strong&gt; posts or pages?&#8217;;<br />
echo &#8216;&lt;ul&gt;&#8217;;<br />
foreach ($posts as $post) {<br />
echo &#8216;&lt;li&gt;&#8217;;<br />
echo &#8216;&lt;a href=&#8221;&#8216;.get_permalink($post-&gt;ID).&#8217;&#8221;&gt;&#8217;.$post-&gt;post_title.&#8217;&lt;/a&gt;&#8217;;<br />
echo &#8216;&lt;/li&gt;&#8217;;<br />
}<br />
echo &#8216;&lt;/ul&gt;&#8217;;<br />
}<br />
echo &#8216;If not, don\&#8217;t worry, here are a few more options:&lt;/li&gt;&#8217;;<br />
echo &#8216;&lt;li&gt;&lt;strong&gt;If you typed in a URL&amp;hellip;&lt;/strong&gt; make sure the spelling, cApitALiZaTiOn, and punctuation are correct. Then try reloading the page.&lt;/li&gt;&#8217;;<br />
echo &#8216;&lt;li&gt;&lt;strong&gt;Look&lt;/strong&gt; for it in the &lt;a href=&#8221;/sitemap&#8221;&gt;sitemap.&lt;/a&gt;&lt;/li&gt;&#8217;;<br />
echo &#8216;&lt;li&gt;&lt;strong&gt;Start over again&lt;/strong&gt; at my &lt;a href=&#8221;/&#8221;&gt;homepage&lt;/a&gt; (and please &lt;a href=&#8221;/contact-jason&#8221;&gt;contact me&lt;/a&gt; to say what went wrong, so I can fix it).&lt;/li&gt;&lt;/ol&gt;&#8217;;</p></blockquote>
<p>Here&#8217;s a quick graphic to show you how you might find the 404.php page from the admin of your WordPress site:</p>
<p><a href="http://www.wordpress-master.com/wp-content/uploads/2009/12/404-default.png"><img class="aligncenter size-medium wp-image-513" title="Changing 404 Default" src="http://www.wordpress-master.com/wp-content/uploads/2009/12/404-default-300x284.png" alt="Changing Default WordPress 404 page" width="300" height="284" /></a></p>
<p>As you can see here from the code I took the Request URI from the server variables.  I clean it removing the starting slash as well as the ending extension.  I then take and process to see if I can find a name match, if not I remove dashes and do an actual keyword search.</p>
<p>My final result builds a page which includes the above results if there were any.  In addition I add in a possible fix, links to site map and home page, as well as a link to my contact page.</p>
<p>I still want to add the ability for a visitor to just perform a search right there on the 404 page, which technically they can in my header, but we&#8217;ll see what I put together who knows.
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.wordpress-master.com%2Ffix-your-404-error-page.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.wordpress-master.com%2Ffix-your-404-error-page.html&amp;source=wordpressmaster&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://www.wordpress-master.com/fix-your-404-error-page.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WordPress Theme Design Cheat Sheet &#8211; FREE!</title>
		<link>http://www.wordpress-master.com/wordpress-theme-design-cheat-sheet-free.html</link>
		<comments>http://www.wordpress-master.com/wordpress-theme-design-cheat-sheet-free.html#comments</comments>
		<pubDate>Tue, 18 Aug 2009 18:03:07 +0000</pubDate>
		<dc:creator>David Porter</dc:creator>
				<category><![CDATA[Wordpress News]]></category>
		<category><![CDATA[Wordpress Resources]]></category>
		<category><![CDATA[Wordpress Theme Tips]]></category>
		<category><![CDATA[Benefit]]></category>
		<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Cheat Sheet]]></category>
		<category><![CDATA[Header Php]]></category>
		<category><![CDATA[Info Tools]]></category>
		<category><![CDATA[Php Snippets]]></category>
		<category><![CDATA[Search Engines]]></category>
		<category><![CDATA[Template Files]]></category>
		<category><![CDATA[theme design]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[wordpress theme]]></category>
		<category><![CDATA[wordpress theme design]]></category>
		<category><![CDATA[wordpress theme help]]></category>
		<category><![CDATA[Wp]]></category>
		<category><![CDATA[wp theme help]]></category>

		<guid isPermaLink="false">http://www.wordpress-master.com/wordpress-theme-design-cheat-sheet-free.html</guid>
		<description><![CDATA[So there I was, looking around the search engines for some new info, tools and resources to help my coaching clients with their WP blogs, and I came across this very interesting &#8220;Cheat Sheet&#8221; for WP themes. Now I think it&#8217;s safe to say to that most people know having a custom WP theme has [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>So there I was, looking around the search engines for some new info, tools and resources to help my coaching clients with their WP blogs, and I came across this very interesting &#8220;Cheat Sheet&#8221; for WP themes.</p>
<p>Now I think it&#8217;s safe to say to that most people know having a custom WP theme has huge benefits, but most people out there don&#8217;t know anything about the subject.</p>
<p>So, I wanted to share it with you&#8230;</p>
<blockquote><p>The WordPress Help Sheet includes the following:</p>
<p>* Basic Template Files<br />
* PHP Snippets for the Header<br />
* PHP Snippets for the Templates<br />
* And Extra Stuff for WordPress</p>
<p>Read More At: <a href="http://wpcandy.com/articles/tutorials/the-wordpress-help-sheet.html">http://wpcandy.com/articles/tutorials/the-wordpress-help-sheet.html</a></p></blockquote>
<p>Having a &#8220;Cheat Sheet&#8221; is a great benefit and much needed resource for even the seasoned pro when it comes to WP themes.</p>
<p>I recommend go to the address above and grabbing a copy of the &#8220;Cheat Sheet&#8221; now &#8211; it&#8217;s FREE which makes it even better as a needed resources <img src='http://www.wordpress-master.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.wordpress-master.com%2Fwordpress-theme-design-cheat-sheet-free.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.wordpress-master.com%2Fwordpress-theme-design-cheat-sheet-free.html&amp;source=wordpressmaster&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://www.wordpress-master.com/wordpress-theme-design-cheat-sheet-free.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New and Free WordPress Report Available</title>
		<link>http://www.wordpress-master.com/new-and-free-wordpress-report-available.html</link>
		<comments>http://www.wordpress-master.com/new-and-free-wordpress-report-available.html#comments</comments>
		<pubDate>Thu, 02 Apr 2009 03:11:20 +0000</pubDate>
		<dc:creator>David Porter</dc:creator>
				<category><![CDATA[Wordpress Resources]]></category>
		<category><![CDATA[Basic Guide]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Experiences]]></category>
		<category><![CDATA[Free Gift]]></category>
		<category><![CDATA[free wordpress guide]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[Running]]></category>
		<category><![CDATA[Starter Guide]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress guide]]></category>
		<category><![CDATA[wordpress how to]]></category>
		<category><![CDATA[wordpress report]]></category>

		<guid isPermaLink="false">http://www.wordpress-master.com/?p=246</guid>
		<description><![CDATA[I&#8217;ve finally gone and done it! I&#8217;ve released my first WordPress report &#8211; and it&#8217;s FREE! That&#8217;s right. Today I officially released my new &#8220;WordPress Basics Starter Guide&#8221; report and I&#8217;m giving it away 100% FREE! This report is a basic guide that walks you through the process of setting up and configuring your blog [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve finally gone and done it!</p>
<p>I&#8217;ve released <strong>my first WordPress report &#8211; and it&#8217;s FREE</strong>!</p>
<p>That&#8217;s right.</p>
<p>Today I officially released my new &#8220;<a href="http://www.wordpress-master.com/free-wordpress-basics-report">WordPress Basics Starter Guide</a>&#8221; report and I&#8217;m giving it away <span style="text-decoration: underline;">100% FREE</span>!</p>
<p>This report is a basic guide that walks you through the process of setting up and configuring your blog AFTER you have it installed.</p>
<p>Everything from what to enter in your blog name field to adding your first post and even links, categories and a ping list.</p>
<p>It&#8217;s NOT a how to blog guide, but a guide that helps people get their WordPress blog up and running correctly with all of the best (my own experiences) settings put in place to start getting some good results right away.</p>
<p>You can get the report at: <a href="http://www.wordpress-master.com/free-wordpress-basics-report">http://www.wordpress-master.com/free-wordpress-basics-report</a></p>
<p>And I even have a way for you to get a free gift on top of the free report.</p>
<p>Anyway, let me know what you think of the report <img src='http://www.wordpress-master.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Here&#8217;s the link again!</p>
<p><a href="http://www.wordpress-master.com/free-wordpress-basics-report">http://www.wordpress-master.com/free-wordpress-basics-report</a>
<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.wordpress-master.com%2Fnew-and-free-wordpress-report-available.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.wordpress-master.com%2Fnew-and-free-wordpress-report-available.html&amp;source=wordpressmaster&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
]]></content:encoded>
			<wfw:commentRss>http://www.wordpress-master.com/new-and-free-wordpress-report-available.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

