<?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>Jon Henshaw &#187; howto</title>
	<atom:link href="http://jon.henshaw.me/tag/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://jon.henshaw.me</link>
	<description>Spending entirely too much time on the Internet</description>
	<lastBuildDate>Sun, 05 Sep 2010 17:41:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Enable GZIP Compression on Pair Networks</title>
		<link>http://jon.henshaw.me/how-to-enable-gzip-compression-on-pair-networks/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-enable-gzip-compression-on-pair-networks</link>
		<comments>http://jon.henshaw.me/how-to-enable-gzip-compression-on-pair-networks/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 03:08:34 +0000</pubDate>
		<dc:creator>Jon Henshaw</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://henshaw.me/?p=670</guid>
		<description><![CDATA[There's a lot of different methods for enabling GZIP compression on PHP. Unfortunately, most of the common methods did not work for me on Pair Networks. In particular, trying to enable it via .htaccess for my WordPress sites proved fruitless. I finally found the solution for enabling GZIP compression on Pair. All I had to [...]]]></description>
			<content:encoded><![CDATA[<p>There's a lot of different methods for enabling GZIP compression on PHP. Unfortunately, most of the common methods did not work for me on <a href="http://henshaw.me/out/pair/">Pair Networks</a>. In particular, trying to enable it via .htaccess for my <a href="http://wordpress.org/">WordPress</a> sites proved fruitless.</p>
<p>I finally found the solution for enabling GZIP compression on Pair. All I had to do was add one simple line of PHP code to the top of my <em>header.php</em> file in my WordPress theme.</p>
<p><code>&lt;?php ob_start("ob_gzhandler"); ?&gt;</code></p>
<p>After you add the code, use the <a href="http://www.whatsmyip.org/http_compression/">HTTP Compression Test</a> to make sure the GZIP compression is working. If you want more tips on how to speed up your site, check out my article on <a href="http://raven-seo-tools.com/blog/1826/seo-howto-speed-up-your-site-for-google">how to speed up your site for Google</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jon.henshaw.me/how-to-enable-gzip-compression-on-pair-networks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Find New Music</title>
		<link>http://jon.henshaw.me/how-to-find-new-music/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-find-new-music</link>
		<comments>http://jon.henshaw.me/how-to-find-new-music/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 16:15:55 +0000</pubDate>
		<dc:creator>Jon Henshaw</dc:creator>
				<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://henshaw.me/?p=468</guid>
		<description><![CDATA[I like music, a lot! In fact, I probably spend the most discretionary money purchasing music (digitally.) I often get asked by my friends how I find the music I listen to. The answer is that there's many ways to find new and good music–like indie music that's not many people have heard of, but is hundreds of times better than anything that floats on the Billboard music charts.]]></description>
			<content:encoded><![CDATA[<p>I like music, a lot! In fact, I probably spend the most discretionary money purchasing music (digitally.) I often get asked by my friends how I find the music I listen to. The answer is that there's many ways to find new and <em>good</em> music–like indie music that not many people have heard of, but is hundreds of times better than anything that floats on the Billboard music charts.</p>
<p>One of the easiest ways to find new music is to search for an indie band in iTunes that you like listening to. Go to the album page and then scroll down to view the <strong>Listeners Also Bought</strong> list.</p>
<p><img class="alignnone size-full wp-image-469" src="http://jon.henshaw.me/files/2009/12/itunesbought.png" alt="" width="640" height="168" /></p>
<p>There are many other services that offer the same type of feature. However, my favorite way to find new music is via <a href="http://last.fm">last.fm</a>. I use their Scrobbler feature, which keeps a record of every song you listen to on your computer. You can use their <a href="http://www.last.fm/download">standalone Scrobbler software</a>, or use a third party application with the Scrobbler feature built in. I use <a href="http://www.sophiestication.com/coversutra/">CoverSutra</a>, which gives me additional controls for iTunes.</p>
<p>After you start scrobbling, last.fm will start finding what they call <em>Neighbours</em>. Neighbours are other last.fm users that have similar music listening tastes. When I'm interested in finding new music, I usually go to <a href="http://www.last.fm/user/jonhenshaw/neighbours">my last.fm Neighbours page</a>, and then look at the music my Neighbours are listening to. More often than not, I find a new artist that I've never heard of that I end up really liking.</p>
<p><img class="alignnone size-full wp-image-478" src="http://jon.henshaw.me/files/2009/12/neighbours1.png" alt="" width="640" height="383" /></p>
]]></content:encoded>
			<wfw:commentRss>http://jon.henshaw.me/how-to-find-new-music/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Get the WordPress &quot;Upgrade Automatically&quot; Feature to Work on Pair Networks</title>
		<link>http://jon.henshaw.me/how-to-get-wordpress-upgrade-automatically-feature-to-work-on-pair-com/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-get-wordpress-upgrade-automatically-feature-to-work-on-pair-com</link>
		<comments>http://jon.henshaw.me/how-to-get-wordpress-upgrade-automatically-feature-to-work-on-pair-com/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 16:52:07 +0000</pubDate>
		<dc:creator>Jon Henshaw</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://henshaw.me/?p=446</guid>
		<description><![CDATA[If you use the (best) Web hosting provider Pair, and you run WordPress, then you have undoubtedly found out that you can't upgrade automatically new versions of WordPress or updates for your plugins.]]></description>
			<content:encoded><![CDATA[<div id="attachment_448" class="wp-caption alignnone" style="width: 584px"><img class="size-full wp-image-448" src="http://jon.henshaw.me/files/2009/12/Screen-shot-2009-12-24-at-10.52.31-AM.png" alt="" width="574" height="194" /><p class="wp-caption-text">Enable &quot;Upgrade Automatically&quot; in WordPress on Pair Networks</p></div>
<p>If you use the (best) Web hosting provider <a href="http://henshaw.me/out/pair/">Pair</a>, and you run WordPress, then you have undoubtedly found out that you can't <em>upgrade automatically</em> new versions of WordPress or updates for your plugins. The reason for that is because by default, the <em>System CGI: php-cgiwrap</em> is not configured. Fortunately, it's not too difficult to enable.</p>
<h3>Enabling Automatic Upgrades on WordPress</h3>
<p>To use PHP 5 with php-cgiwrap, you must first copy php5.cgi to your own Web directory's (public_html) cgi-bin directory by SSH.</p>
<h4>Step 1</h4>
<p>Create the <strong>cgi-bin</strong> folder in your <em>public_html</em> folder, if it doesn't exist already.</p>
<h4>Step 2</h4>
<p>Copy and paste in your terminal connection:<br />
<strong>cp /usr/www/cgi-bin/php5.cgi ~/public_html/cgi-bin/</strong></p>
<h4>Step 3</h4>
<p>Copy and paste in your terminal connection:<br />
<strong>chmod 755 ~/public_html/cgi-bin/php5.cgi</strong></p>
<h4>Step 4</h4>
<p>Add the following lines to your WordPress .htaccess file. Make sure you change <em>[username]</em> with your actual Pair account username (remove the brackets.)</p>
<p><strong>Action application/x-pair-sphp5 /cgi-sys/php-cgiwrap/[username]/php5.cgi/<br />
AddType application/x-pair-sphp5 .php</strong></p>
<p>That's it. Assuming you did it correctly, you'll now be able to automatically upgrade WordPress and your plugins. If you need more details or help with this process, view Pair's Knowledge Base article, "<a href="http://www.pair.com/support/knowledge_base/authoring_development/system_cgi_php-cgiwrap.html">Authoring/Development - System CGI: php-cgiwrap</a>."</p>
]]></content:encoded>
			<wfw:commentRss>http://jon.henshaw.me/how-to-get-wordpress-upgrade-automatically-feature-to-work-on-pair-com/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Choosing a URL Naming Convention for WordPress (aka Permalink Structure)</title>
		<link>http://jon.henshaw.me/choosing-a-url-naming-convention-for-wordpress-aka-permalink-structure/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=choosing-a-url-naming-convention-for-wordpress-aka-permalink-structure</link>
		<comments>http://jon.henshaw.me/choosing-a-url-naming-convention-for-wordpress-aka-permalink-structure/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 00:36:10 +0000</pubDate>
		<dc:creator>Jon Henshaw</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://henshaw.me/?p=423</guid>
		<description><![CDATA[There are a handful of good ways to structure the URL naming for WordPress, but there is one way that's my favorite.]]></description>
			<content:encoded><![CDATA[<p>There are a handful of <em>good</em> ways to structure the URL naming convention for WordPress. The most common are:</p>
<ul>
<li>/%category%/%postname%</li>
<li>/%postname%</li>
<li>/category/%postname%-%post_id%</li>
<li>/%postname%-%post_id%</li>
</ul>
<p>All of those options work well, but I actually prefer to do mine as <strong>/%post_id%/%postname%/</strong>. At first glance, that choice may seem less than ideal. For example, why would I want to exclude my category name, and what purpose does it serve having the post ID in the URL?</p>
<h3>Category Name</h3>
<p>While having the category name in the URL is not a <em>bad</em> idea, I don't think it's necessary. Google can easily understand that a blog entry is related to a particular category by simply mapping the linking structure. It will also be reinforced by the page title and internal link structure on the entry.</p>
<p>It's also not desirable, because an entry can have multiple categories, and it can take up a lot of space in the SERPs. I prefer to show the the title of the blog entry, instead of the category name. In fact, showing the category name before a long title may cut off the title in the SERPs.</p>
<p>Not including the category in the URL of the entry also allows you to rename the category at a later time without having too much of a negative impact. I would much prefer to rename a category list page (which most people will not link to) than to change the URL of a post. If I'm really concerned about losing a list page, then I can go out of my way and set up a simple redirect in my .htaccess file.</p>
<h3>Post ID</h3>
<p>Most people consider displaying the post ID mainly because they're concerned they might write a blog entry one day that uses the same title, causing an issue with resolving to the correct destination content. While that certainly factors into my decision to use a post ID before the post name, it's not my main reason. I like using the post ID, because it handles changes to the blog entry <em>gracefully</em>.</p>
<p>If you change the page title and the permalink of a blog entry – like <strong>/id/original-blog-title</strong> to <strong>/id/new-blog-title</strong> – the old link will still resolve (correctly redirect to the new permalink.) That's because WordPress reverts to the post ID when something goes wrong. In fact, you can go to <em>just</em> the post id (like the one for this entry: <a href="http://henshaw.me/423/">http://henshaw.me/423/</a>) and it will bring up the correct blog entry. It won't bring up the full permalink, but there's no need to worry about duplicate content, that is, as long as you're specifying the <a href="http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html">canonical URL</a> in the HEAD area.</p>
]]></content:encoded>
			<wfw:commentRss>http://jon.henshaw.me/choosing-a-url-naming-convention-for-wordpress-aka-permalink-structure/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)

Served from: jon.henshaw.me @ 2010-09-10 07:39:19 -->