<?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>The Official Rackspace Blog &#187; Matt Martz</title>
	<atom:link href="http://www.rackspace.com/blog/author/matt-martz/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rackspace.com/blog</link>
	<description>The Official Rackspace Blog</description>
	<lastBuildDate>Fri, 17 May 2013 15:00:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Why I Love WordPress</title>
		<link>http://www.rackspace.com/blog/why-i-love-wordpress/</link>
		<comments>http://www.rackspace.com/blog/why-i-love-wordpress/#comments</comments>
		<pubDate>Wed, 06 Jun 2012 20:00:22 +0000</pubDate>
		<dc:creator>Matt Martz</dc:creator>
				<category><![CDATA[Business Tips and Tricks]]></category>
		<category><![CDATA[Cloud Industry Topics]]></category>
		<category><![CDATA[Cloud Sites]]></category>
		<category><![CDATA[martz videos]]></category>
		<category><![CDATA[Software I Love]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.rackspace.com/blog/?p=19057</guid>
		<description><![CDATA[Racker and WordPress guru Matt Martz gives three reasons why he loves WordPress: the WordPress community, that it's more than a blog and that it's free.]]></description>
				<content:encoded><![CDATA[<p>I have been using WordPress for the six years; developing using WordPress for five years; and contributing to the WordPress code base for four years. Over the course of this time I have found three things that make WordPress awesome.</p>
<h2><strong>1. The Community</strong></h2>
<p>One of the greatest things about <a title="WordPress.org | Official Site" href="http://wordpress.org/" target="_blank">WordPress</a> is the community. I worked with many different open source and closed source development communities, and this is the best one that I have ever dealt with. There are a number of ways that you can get involved in the WordPress community.</p>
<p>You can participate in <a title="WordCamp | Official Site" href="http://central.wordcamp.org/" target="_blank">WordCamp</a>, an informal, community organized event throughout the world that is open to users and developers to share ideas on WordPress. For more frequent events, look for <a title="WordPress | Meetup" href="http://www.meetup.com/find/?keywords=WordPress&amp;sort=default&amp;op=search&amp;events=true&amp;psize=20&amp;show=results&amp;radius=25.0" target="_blank">WordPress Meetups</a> in your area; I am part of a Meetup in San Antonio that is hosted at <a title="Geekdom | Official Site" href="http://geekdom.com/" target="_blank">Geekdom</a> on a monthly basis.</p>
<p style="padding-left: 30px;"><em>Learn more about the good news of <a href="http://www.rackspace.com/blog/install-wordpress-on-cloud-sites/" target="_blank">installing WordPress on Cloud Sites with just one click</a> through the Rackspace control panel.</em></p>
<p>Whether you have been working with WordPress for years, or if you just picked it up yesterday, all are welcome to WordPress events. In fact, some of the best people to get involved in your local community are the newer WordPress users because they bring a fresh perspective. The WordPress community is very welcoming and the dialogue about what people like and don’t like leads to some great improvements for everyone.</p>
<h2><strong>2. More Than A Blog</strong></h2>
<p><strong></strong>A lot of people look at WordPress and think of it as “just a blog.” While it was forked from a blogging piece of software, WordPress has evolved to be so much more than that. Many of the sites you go to on a daily basis are probably running on WordPress. WordPress is fully customizable and with such an active community, many people are creating amazing themes and plugins that push it well beyond simply being a blog.</p>
<h2><strong>3. It’s Free</strong></h2>
<p>A lot of people say, “You get what you pay for,” but with WordPress you get so much more than that. You get an awesome community, you get a piece of software that can be much more than a blog and you get it all for free. The only thing left now is to find some <a title="Cloud | Rackspace" href="http://rackspace.com/cloud" target="_blank">good hosting</a>, throw up a WordPress site and begin writing content.</p>
<p>This is what I have found to be awesome about WordPress, what do you love about it? Be sure to let me know in the comment section below!</p>
<p><em title="What You Need To Know To Backup WordPress | Rackspace Blog">In a previous post, Matt talked about the <a title="Importance Of Updating Your WordPress Site | Rackspace Blog" href="http://rackspace.com/blog/importance-of-updating-your-wordpress-site" target="_blank">importance of updating your WordPress site</a>. Check out the <a title="WordPress Tag | Rackspace Blog" href="http://www.rackspace.com/blog/tag/wordpress/" target="_blank">WordPress tag</a> for more WordPress articles on the Rackspace blog! <em title="Three Tips For Selecting A WordPress Plugin | Rackspace Blog"><em title="Three Tips For Selecting A WordPress Plugin | Rackspace Blog"><em><em>Learn more about how <a title="Hosted WordPress | Rackspace" href="http://rackspace.com/wordpress" target="_blank">Rackspace can help you with hosting your WordPress site</a>.</em></em></em></em></em></p>
<p><em title="What You Need To Know To Backup WordPress | Rackspace Blog"><em title="Three Tips For Selecting A WordPress Plugin | Rackspace Blog"><em title="Three Tips For Selecting A WordPress Plugin | Rackspace Blog"><br />
<iframe src="http://www.youtube.com/embed/zkGSaDjhEZs" frameborder="0" width="560" height="315"></iframe></em></em></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rackspace.com/blog/why-i-love-wordpress/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Importance Of Updating Your WordPress Site</title>
		<link>http://www.rackspace.com/blog/importance-of-updating-your-wordpress-site/</link>
		<comments>http://www.rackspace.com/blog/importance-of-updating-your-wordpress-site/#comments</comments>
		<pubDate>Wed, 30 May 2012 20:00:05 +0000</pubDate>
		<dc:creator>Matt Martz</dc:creator>
				<category><![CDATA[Business Tips and Tricks]]></category>
		<category><![CDATA[Cloud Industry Topics]]></category>
		<category><![CDATA[Cloud Sites]]></category>
		<category><![CDATA[martz videos]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.rackspace.com/blog/?p=19052</guid>
		<description><![CDATA[Racker and WordPress guru Matt Martz discusses the importance of updating your WordPress site, themes and plugins.]]></description>
				<content:encoded><![CDATA[<p>With WordPress it is important to update three things: the actual WordPress application, themes and plugins. However, before you begin updating any of these items, you should make sure that you have a current backup. This is important because sometimes these updates don’t go as well as planned and you need to restore a previous version of your site. Additionally, you might have made some modifications to your theme or plugin and forgot about the changes you made. Having a backup can help in that situation as well.</p>
<p style="padding-left: 30px;"><em>Learn more about the good news of <a href="http://www.rackspace.com/blog/install-wordpress-on-cloud-sites/" target="_blank">installing WordPress on Cloud Sites with just one click</a> through the Rackspace control panel.</em></p>
<p>You want to make sure that you are continually updating <a title="WordPress.org | Official Site" href="http://wordpress.org/" target="_blank">WordPress</a> as new versions are released. You don’t want to be that guy that waits around and doesn’t update. With each update to WordPress you will find bug fixes and security fixes; the major version updates (like 3.1, 3.2, 3.3…) will contain feature enhancements. One of these enhancements could be really helpful to you, but if you hold off on updating you won’t have access to them.</p>
<p>Many people don’t update their themes and a common reason is that they modify them to make them more personal. This is one reason you should look into using a <a title="What Are Parent And Child Themes | WPMU Dev" href="http://premium.wpmudev.org/the-buddypress-manual/what-are-parent-and-child-themes/" target="_blank">child theme instead of modifying a parent theme</a>. A lot of things that you can do in child themes will give you the functionality you are looking for when you modify the parent theme.</p>
<p>You also want to make sure to update plugins frequently because they are susceptible to no longer working when a new version of WordPress comes out. Most of the time this is OK as WordPress tries to maintain 100 percent backwards compatibility, however, there are cases where a new version can break a plugin. Additionally, there can be security vulnerabilities in plugins and you don’t want to be running an insecure version of that plugin where someone could maliciously compromise your site.</p>
<p><em title="Three Tips For Selecting A WordPress Plugin | Rackspace Blog">Previously, Matt talked about <a title="What You Need To Know To Backup WordPress | Rackspace Blog" href="http://rackspace.com/blog/what-you-need-to-know-to-backup-wordpress" target="_blank">what you need to know to backup WordPress</a> check out his next post where he talks about <a title="Why I Love WordPress | Rackspace Blog" href="http://www.rackspace.com/blog/why-i-love-wordpress/" target="_blank">why he loves WordPress</a>. <em title="Three Tips For Selecting A WordPress Plugin | Rackspace Blog"><em><em>Learn more about how <a title="Hosted WordPress | Rackspace" href="http://rackspace.com/wordpress" target="_blank">Rackspace can help you with hosting your WordPress site</a>.</em></em></em><br />
</em><br />
<iframe src="http://www.youtube.com/embed/kZYbXP7swQI" frameborder="0" width="560" height="315"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rackspace.com/blog/importance-of-updating-your-wordpress-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What You Need To Know To Backup WordPress</title>
		<link>http://www.rackspace.com/blog/what-you-need-to-know-to-backup-wordpress/</link>
		<comments>http://www.rackspace.com/blog/what-you-need-to-know-to-backup-wordpress/#comments</comments>
		<pubDate>Wed, 23 May 2012 20:00:32 +0000</pubDate>
		<dc:creator>Matt Martz</dc:creator>
				<category><![CDATA[Business Tips and Tricks]]></category>
		<category><![CDATA[Cloud Industry Topics]]></category>
		<category><![CDATA[martz videos]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.rackspace.com/blog/?p=19044</guid>
		<description><![CDATA[Racker and WordPress guru Matt Martz explains that properly backing up your WordPress site means backing up both your file system and database.]]></description>
				<content:encoded><![CDATA[<p>There are two pieces to a <a title="WordPress.org | Official Site" href="http://wordpress.org/" target="_blank">WordPress</a> site: the database component and the file component. Often people will neglect one of them when backing up their WordPress site. Many backup plugins are written to backup a certain component, but there are plugins that cover both bases. You definitely need to backup both your database and file system; without both, your backups will be useless to you in most scenarios.</p>
<p>To make sure that your backups are current, I suggest you install a plugin. Having a backup plugin will make sure that you perform your backups on a regular, automatic basis instead of relying on yourself to remember to do manual backups. There are a few plugins that do this really well.</p>
<p style="padding-left: 30px;"><em>Learn more about the good news of <a href="http://www.rackspace.com/blog/install-wordpress-on-cloud-sites/" target="_blank">installing WordPress on Cloud Sites with just one click</a> through the Rackspace control panel.</em></p>
<p><a title="BackWPup | WordPress.org" href="http://wordpress.org/extend/plugins/backwpup/" target="_blank">BackWPup</a> is a free backup plugin that will backup both your files and database content, or you could opt for the premium plugin called <a title="Backup Buddy | Plugin Buddy" href="http://pluginbuddy.com/purchase/backupbuddy/" target="_blank">Backup Buddy</a> to backup both components. Both Backup Buddy and BackWPup can send your backups off to <a title="Cloud Files | Rackspace" href="http://www.rackspace.com/cloud/cloud_hosting_products/files/" target="_blank">Rackspace Cloud Files</a> for storage in case you need to retrieve them in the future. Another plugin that has become very popular is called <a title="VaultPress | Official Site" href="http://vaultpress.com/help/install-vaultpress/" target="_blank">VaultPress</a>, which is run by <a title="Automattic | Official Site" href="http://automattic.com/" target="_blank">Automattic</a>, the same guys who run WordPress.com.</p>
<p>If your site is compromised or your server fails, it is important to have a backup. By installing a backup plugin, you can have peace of mind that you have a record of your site that you can restore from.</p>
<p><em title="Three Tips For Selecting A WordPress Plugin | Rackspace Blog">Previously, Matt talked about how you can <a title="Integrating A Content Delivery Network With WordPress" href="http://rackspace.com/blog/integrating-a-content-delivery-network-with-wordpress" target="_blank">integrate a Content Delivery Network (CDN)</a> with your WordPress site and you can check out his next post where he explains the <a title="Importance Of Updating Your WordPress Site | Rackspace Blog" href="http://www.rackspace.com/blog/importance-of-updating-your-wordpress-site/" target="_blank">importance of updating your WordPress site</a>. <em><em>Learn more about how <a title="Hosted WordPress | Rackspace" href="http://rackspace.com/wordpress" target="_blank">Rackspace can help you with hosting your WordPress site</a>.</em></em><br />
</em><br />
<iframe src="http://www.youtube.com/embed/nTnGMgqVjOk" frameborder="0" width="560" height="315"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rackspace.com/blog/what-you-need-to-know-to-backup-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Integrating A Content Delivery Network With WordPress</title>
		<link>http://www.rackspace.com/blog/integrating-a-content-delivery-network-with-wordpress/</link>
		<comments>http://www.rackspace.com/blog/integrating-a-content-delivery-network-with-wordpress/#comments</comments>
		<pubDate>Wed, 16 May 2012 20:00:19 +0000</pubDate>
		<dc:creator>Matt Martz</dc:creator>
				<category><![CDATA[Business Tips and Tricks]]></category>
		<category><![CDATA[Cloud Industry Topics]]></category>
		<category><![CDATA[martz videos]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.rackspace.com/blog/?p=19036</guid>
		<description><![CDATA[Racker and WordPress guru Matt Martz explains the value of a CDN for media heavy sites and offers some plugins for your WordPress site to connect with Rackspace Cloud Files.]]></description>
				<content:encoded><![CDATA[<p>Using a Content Delivery Network (CDN) can be beneficial for just about any type of site; however, you are going to see greater improvements for media heavy sites, such as photo blogs.</p>
<p>The goal of a CDN is to distribute static media to users who are visiting your website. One benefit of using a CDN is the fact that they use a geographical DNS resolution to make sure that your users hit a CDN server closest to their geographic location. By doing this, you can deliver the media content quicker to your users’ browser.</p>
<p style="padding-left: 30px;"><em>Learn more about the good news of <a href="http://www.rackspace.com/blog/install-wordpress-on-cloud-sites/" target="_blank">installing WordPress on Cloud Sites with just one click</a> through the Rackspace control panel.</em></p>
<p>There are a couple of <a title="WordPress.org | Official Site" href="http://wordpress.org/" target="_blank">WordPress</a> plugins that can connect the media on your site to Rackspace Cloud Files and help leverage the CDN. One of those is CDN Tools – as you upload an image or media file to your site, the plugin will store that file automatically on your <a title="Cloud Files | Rackspace" href="http://www.rackspace.com/cloud/cloud_hosting_products/files/" target="_blank">Rackspace Cloud Files</a> account so you can benefit from the CDN. Another plugin that supports a large variety of CDNs in addition to Rackspace Cloud Files is W3 Total Cache.</p>
<p>With only a few clicks, you can leverage these plugins to better serve media content to your end users. Not only will they get the content faster, your server will not be over taxed by rendering media files and can focus on delivering the text content of your site.</p>
<p><em>Previously, </em><em>Matt talked about the <a title="Importance Of Caching Your WordPress Site | Rackspace Blog" href="http://www.rackspace.com/blog/importance-of-caching-your-wordpress-site/" target="_blank">importance of caching your WordPress site</a> and <em>check out the following post</em> where he explains how to<a title="What You Need To Know To Backup WordPress" href="http://www.rackspace.com/blog/what-you-need-to-know-to-backup-wordpress/" target="_blank"> backup both the file system and database</a> of your WordPress Site. <em>Learn more about how <a title="Hosted WordPress | Rackspace" href="http://rackspace.com/wordpress" target="_blank">Rackspace can help you with hosting your WordPress site</a>.</em></em></p>
<p><iframe src="http://www.youtube.com/embed/TtOG_pQUfsI" frameborder="0" width="560" height="315"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rackspace.com/blog/integrating-a-content-delivery-network-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Importance Of Caching Your WordPress Site</title>
		<link>http://www.rackspace.com/blog/importance-of-caching-your-wordpress-site/</link>
		<comments>http://www.rackspace.com/blog/importance-of-caching-your-wordpress-site/#comments</comments>
		<pubDate>Wed, 09 May 2012 20:00:06 +0000</pubDate>
		<dc:creator>Matt Martz</dc:creator>
				<category><![CDATA[Business Tips and Tricks]]></category>
		<category><![CDATA[Cloud Industry Topics]]></category>
		<category><![CDATA[martz videos]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.rackspace.com/blog/?p=18861</guid>
		<description><![CDATA[Racker and WordPress guru Matt Martz talks about the importance of caching your WordPress site as well as some plugins that can help you do this.]]></description>
				<content:encoded><![CDATA[<p>There are several things happening on your server that can become bottlenecks as traffic increases to your site. The first bottleneck will be retrieving the data from your MySQL database. The second is trying to execute the PHP code that will ultimately display the content of your site to your end users. New sites with a small amount of traffic might not see these bottlenecks, but as traffic to your site goes up, the efficiency of your server will go down. Standing up additional servers can solve this problem but can be an expensive solution. This is when caching becomes important.</p>
<p style="padding-left: 30px;"><em>Learn more about the good news of <a href="http://www.rackspace.com/blog/install-wordpress-on-cloud-sites/">installing WordPress on Cloud Sites with just one click</a> through the Rackspace control panel.</em></p>
<p>The object of caching is to store dynamically generated data in a static format so you can retrieve that data again without further processing. Since <a href="http://wordpress.org/">WordPress</a> is an application that calls a database to retrieve content for your users, caching your content is a helpful way to speed up the performance of your server.</p>
<p>There are several plugins that can help you with caching your WordPress site. The <a href="http://wordpress.org/extend/plugins/batcache/">BatCache</a> plugin, along with the <a href="http://wordpress.org/extend/plugins/memcached/">MemCached Object Cache</a> plugin, is what WordPress.com uses to cache all its sites. It is a proven and simple plugin that will most likely work with your site. This solution is best if you are running a WordPress config on multiple dedicated or cloud servers.</p>
<p>If you are using something like shared hosting to run WordPress, you might want to look at something like <a href="http://wordpress.org/extend/plugins/wp-super-cache/">WP Super Cache</a> or <a href="http://wordpress.org/extend/plugins/w3-total-cache/">W3 Total Cache</a>. These options don’t take advantage of memcache or APC, but instead use static file caching. There are benefits to static file caching, namely you don’t have to invoke PHP to grab the data out of the caching mechanism, but rather deliver it directly from the disk to further cut down the load on the server. However, if you have more than one server in your WordPress Configuration, file caching doesn’t work that great since you are keeping two copies of the cache.</p>
<p>Even though your site might not have a huge amount of traffic right now, it is best to prepare for a growing user base by implementing a caching strategy as soon as you can.</p>
<p><em> <em></em>Previously, Matt talked about <a title="Three Tips For Selecting A WordPress Plugin | Rackspace Blog" href="http://www.rackspace.com/blog/three-tips-for-selecting-a-wordpress-plugin/" target="_blank">three tips for selecting a WordPress plugin</a> and check the following post where he explains the <a title="Integrating A Content Delivery Network With WordPress | Rackspace Blog" href="http://www.rackspace.com/blog/integrating-a-content-delivery-network-with-wordpress/" target="_blank">benefits of using a Content Delivery Network</a> to serve up your larger media files and some plugins that can help you do it. <em>Learn more about how <a title="Hosted WordPress | Rackspace" href="http://rackspace.com/wordpress" target="_blank">Rackspace can help you with hosting your WordPress site</a>.</em></em></p>
<p><iframe src="http://www.youtube.com/embed/cGQ9faDwHfE" frameborder="0" width="560" height="315"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rackspace.com/blog/importance-of-caching-your-wordpress-site/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Three Tips For Selecting A WordPress Plugin</title>
		<link>http://www.rackspace.com/blog/three-tips-for-selecting-a-wordpress-plugin/</link>
		<comments>http://www.rackspace.com/blog/three-tips-for-selecting-a-wordpress-plugin/#comments</comments>
		<pubDate>Wed, 02 May 2012 20:00:14 +0000</pubDate>
		<dc:creator>Matt Martz</dc:creator>
				<category><![CDATA[Business Tips and Tricks]]></category>
		<category><![CDATA[Cloud Industry Topics]]></category>
		<category><![CDATA[martz videos]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.rackspace.com/blog/?p=18595</guid>
		<description><![CDATA[Racker and WordPress guru Matt Martz gives you three tips for selecting WordPress plugins.]]></description>
				<content:encoded><![CDATA[<p>One of the first things that people want to do after creating a <a href="http://wordpress.org/">WordPress</a> site is to customize it. This is one of the strengths of WordPress, and with the abundance of themes and plugins it is easy to make it your own. As you look to install plugins, I would advise you to follow at these three simple guidelines.</p>
<h2><strong>1. Download From The WordPress.org Plugin Repository</strong></h2>
<p><strong></strong>I recommend that you download plugins from the <a href="http://wordpress.org/extend/plugins/">WordPress.org repository</a> for a couple of reasons: First, you will get automatic plugin upgrade notifications in the WordPress admin portal. This makes it easy to know that you have the latest and greatest version of the plugin with all the newest features and security patches.</p>
<p style="padding-left: 30px;"><em>Learn more about the good news of <a href="http://www.rackspace.com/blog/install-wordpress-on-cloud-sites/">installing WordPress on Cloud Sites with just one click</a> through the Rackspace control panel.</em></p>
<p>Another benefit is that the WordPress.org repository has higher security restrictions on the code used to write the plugins. People in the WordPress community review the plugins in the repository on a somewhat regular basis, which helps ensure that you are running plugins without malicious code. This protects both your site and your users.<strong></strong></p>
<h2><strong>2. Choose A Trusted Author </strong></h2>
<p>Picking a trusted plugin author is a somewhat complicated task. First, look for an author who has written more than one plugin hosted on the WordPress.org repository. Additionally, look for a plugin with a large number of downloads and seek out plugins with multiple released versions. This is a good indication that some of the kinks have been worked out.</p>
<h2><strong>3. Be Sure It Works With Your WordPress Version</strong></h2>
<p><strong></strong>On the plugin page, there will be a line on the right hand side that states what version of WordPress the plugin is compatible with. You will be given two values, both the lowest version required and the most recent version that the plugin is compatible with. Further down the page is a spot that says, “See what others are saying…” where you can review others’ opinions on the plugin. An overwhelmingly positive (or negative) response should be helpful in determining whether the plugin works correctly with the listed version of WordPress.</p>
<p><em>Check out Matt&#8217;s previous post where he talks about the <a href="http://www.rackspace.com/blog/dangers-of-installing-wordpress-from-an-os-software-repository/" target="_blank">dangers of installing WordPress from an OS software repository</a>. In the next post of this series Matt explains the benefits of <a title="Importance Of Caching Your WordPress Site | Rackspace Blog" href="http://www.rackspace.com/blog/importance-of-caching-your-wordpress-site/" target="_blank">caching your WordPress site</a> and some plugins that can help you do it. Learn more about how <a title="Hosted WordPress | Rackspace" href="http://rackspace.com/wordpress" target="_blank">Rackspace can help you with hosting your WordPress site</a>.<br />
</em></p>
<p><iframe src="http://www.youtube.com/embed/1OvWmpqxoac" frameborder="0" width="560" height="315"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rackspace.com/blog/three-tips-for-selecting-a-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dangers of Installing WordPress from an OS Software Repository</title>
		<link>http://www.rackspace.com/blog/dangers-of-installing-wordpress-from-an-os-software-repository/</link>
		<comments>http://www.rackspace.com/blog/dangers-of-installing-wordpress-from-an-os-software-repository/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 18:00:22 +0000</pubDate>
		<dc:creator>Matt Martz</dc:creator>
				<category><![CDATA[Cloud Industry Topics]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.rackspace.com/blog/?p=15158</guid>
		<description><![CDATA[Racker and WordPress aficionado Mart Martz explains why you never want to install WordPress from an OS software repository.]]></description>
				<content:encoded><![CDATA[<p>This is one topic that really gets me fired up. There are so many reasons why you should not install WordPress from an Operating System’s software repository, yet thousands of people do it every day. We will discuss reasons why you should consider installing WordPress from the package available on the <a title="WordPress | Official Website" href="http://wordpress.org/" target="_blank">official site</a> instead of from the software repository provided by your Operating System.</p>
<h2>Packaging, Releases and Versioning</h2>
<p>The version of WordPress installed from your Operating Systems software repository is very likely not up to date. Most OS distributions are going to include the stable version of WordPress from the time that the OS goes into beta. Let&#8217;s imagine that our fictional Linux distribution, My Cool Distro, releases a beta or release candidate today with the latest stable release of WordPress, which we will call 4.9.3. In this scenario let&#8217;s pretend that WordPress 5.0 is 14 days away from being released. My Cool Distro is going to still ship with WordPress 4.9.3 even though it shipped after 5.0 was officially released.  This is due to the rules and regulations of how the OS handles testing and package verification once it nears it&#8217;s release date.</p>
<p style="padding-left: 30px;"><em>Learn more about the good news of <a href="http://www.rackspace.com/blog/install-wordpress-on-cloud-sites/">installing WordPress on Cloud Sites with just one click</a> through the Rackspace control panel.</em></p>
<p>With WordPress, the X.Y releases are the major releases and the X.Y.Z releases are the minor releases that contain security and bug fixes for the X.Y major release. Just as 4.9 is a major release, 5.0 is also a major release, and 4.9.3 is the minor security and bug fix release. Most Operating Systems, will never upgrade a software package to another major release within the Operating Systems major release lifetime. In the majority of cases this is OK, as the developers and maintainers for My Cool Distro will <a title="Backporting | Wikipedia" href="http://en.wikipedia.org/wiki/Backporting" target="_blank">backport</a> important security fixes into the major version they initially shipped with. In some cases the developers of the original software package will do this themselves.</p>
<p>WordPress, however, does not participate in such a practice of keeping previous major releases up to date with new security fixes once a new major version is released. The WordPress project decided to do this for WordPress 2.0, largely to support the requirements of Debian Etch. However, in the end it didn&#8217;t work well and the idea was <a title="The WordPress 2.0.x Legacy Branch is Deprecated | WordPress" href="http://wordpress.org/news/2009/07/the-wordpress-2-0-x-legacy-branch-is-deprecated/" target="_blank">eventually abandoned</a>. Additionally, in the case of WordPress, the developers and maintainers for My Cool Distro aren&#8217;t likely to have the skills or familiarity with WordPress to backport fixes, and will almost certainly never attempt it.</p>
<p>So let&#8217;s say that you install version 4.9.3 from My Cool Distro, and you notice that 5.0.2 is released. You go through the manual or automatic update process to upgrade to 5.0.2. Now, for the sake of argument, let&#8217;s say that WordPress starts backporting security fixes into previous major versions, and the WordPress 4.9 point release gets bumped to 4.9.4. The developers for My Cool Distro decide to update the package in their repository, you run an &#8216;apt-get upgrade&#8217;. You have potentially just blown away your 5.0.2 install with 4.9.4.</p>
<h2>File Locations</h2>
<p>The WordPress package from your Operating Systems repository is probably going to put files in really strange places, and likely reference it by use of symlinks from multiple other locations. For example, My Cool Distro puts WordPress in /usr/share/wordpress and symlinks portions from /etc/wordpress.</p>
<p>First, who would want web content in /etc? It is also generally bad practice to have your web content in a place like /usr/share/wordpress as it is not really a web directory. My Cool Distro will also create an Apache configuration file for you that will add an alias for to /usr/share/wordpress. Then you may want it to be accessible from directly from mycoolwpsite.com and the simple solution will be to set the DocumentRoot for mycoolwpsite.com to /usr/share/wordpress, or you are going to symlink /usr/share/wordpress to yet another place such as /var/www/vhosts/mycoolwpsite.com/. By the way, WordPress and WordPress plugins don&#8217;t really play that well with symlinks (but I won&#8217;t go into that now).</p>
<p>Now that you have a site using /usr/share/wordpress, you will probably want to install a new theme or plugin (I mean, how many people want to have a cookie cutter WordPress site, running the default theme?). You try to install from the WordPress admin and you find it is asking you for FTP credentials because PHP/Apache does not have <a title="WordPress Update/Install Clarifications and Requirements | Sivel.net" href="http://sivel.net/2009/03/wordpress-updateinstall-clarifications-and-requirements/" target="_blank">appropriate access</a> needed to perform the file system operations on the WordPress files and directories. At this point you install a FTP server, and have to screw around with it to allow your user to FTP to /usr/share/wordpress. You can also configure the FTP server to allow root logins, while deliberately slamming your head in a door. Or you just chown -R www-data:www-data /usr/share/wordpress so it stops asking for FTP connection information. ACK!</p>
<p>You will also want to upload images and such for inclusion in your posts. Do you really want to allow the web server user to upload content in /usr/share/wordpress/wp-content/uploads? You shouldn&#8217;t be uploading content like this to /usr/share/ at all. You will have to go through the process of moving your uploads directory, which can be difficult, because WordPress expects the uploads directory to be relative to the WordPress installation directory.</p>
<p>Later you decide that you want to create another WordPress site, so you make another symlink from /usr/share/wordpress, but with the symlink issues and the fact that you want completely different plugins and themes (not to mention that you don&#8217;t want to use WordPress Multisite or may not even know what it is), you download WordPress from the <a title="WordPress | Official Website" href="http://wordpress.org/" target="_blank">official site</a>, or copy the original files to somewhere else. Now you are pretty much going through the manual install process &#8212; why didn&#8217;t you just do this to begin with?</p>
<p>You may decide that you want to run lighttpd, nginx or cherokee instead of Apache. You cannot use the configuration file that My Cool Distro provided for Apache, and you have to make modifications to the new web servers configuration file. In the process you find that aliasing doesn&#8217;t work the same as it did in Apache, so you symlink, point directly to /usr/share/wordpress, download WordPress or copy the files from /usr/share/wordpress to some place else. You are again going through the manual install process &#8212; so why didn&#8217;t you just do this to begin with?</p>
<p>I could go on&#8230;</p>
<h2>Easy Button?</h2>
<p>You have been taught by modern Linux distributions that installing software from your Operating Systems software repository is the only way to go. I will admit that I am one of the people who push this idea. But all ideas and best practices have their use cases and limitations. While it does make it easier, it was solving for a problem that WordPress doesn&#8217;t have. You don&#8217;t need to know what compile flags to use, you don&#8217;t have to worry with dependencies (other than of course the obvious applications needed to run a website), and you don&#8217;t have to put it in some pre defined location so that other software can find it to use it as a dependency.</p>
<p>Your Operating Systems software repository was designed to help make it easier for users to install software and help you stay secure. We have covered why using such a method is not helping you keep secure, so why is it not easier?</p>
<p>When you download WordPress from the <a title="WordPress | Official Website" href="http://wordpress.org/" target="_blank">official site</a> you immediately have access to the installation instructions promising the famous 5 minute install. With some practice, you can install Apache, PHP, MySQL and WordPress within 5 minutes and have time left to go grab a coffee.</p>
<p style="text-align: center;"><a title="Download WordPress" href="http://wordpress.org/download/" target="_blank"><img class="aligncenter" src="http://c179631.r31.cf0.rackcdn.com/Download%20Wordpress%20Screenshot.png" alt="" width="516" height="288" /></a></p>
<p>What do you get when you install from a software repository? You get some files dropped in an obscure directory, you get a small Apache configuration file that isn&#8217;t going to get you what you want, and you are going to get a readme.txt that the average person isn&#8217;t going to know where to find. This is supposed to be easy right?</p>
<p>Then you are going to be surprised that the installer doesn&#8217;t create a database for you, a database username, password or even tell you that you what to do next. That readme.txt is likely to be in some place like /usr/share/doc/wordpress-4.9.3/readme.txt. You find this file and it really tells you nothing. You go to <a title="Download | WordPress" href="http://wordpress.org/download" target="_blank">WordPress Download website</a> and find the install instructions and go from there. Now why didn&#8217;t you just do this to begin with? This is supposed to be easy right?</p>
<p>You get things installed and you go to upload media items and you don&#8217;t have the flash uploader, which means you cannot upload multiple files at once. What!? You hit the WordPress support forums, someone reads the readme.txt file that is bundled with the package from the software repository and finds that, My Cool Distro stripped the required files. You now need to download that file from the WordPress website. Now you are back to downloading something else from the WordPress website &#8212; again, why didn&#8217;t you just do this to begin with? To be fair, in it&#8217;s current form, WordPress 3.3, does not use the SWFUpload flash uploader any longer, but plugins may require it. This still gives you an idea of some of the problems that you can run into.</p>
<h2>Support</h2>
<p>If you have an issue, you will need support. At this point you are running an old, possibly insecure version of WordPress, your files are in strange places, you aren&#8217;t sure which place has the real files and have probably been hacked. On top of that, the support forums and IRC channel for My Cool Distro are of no help with WordPress. The support forums and IRC channel for WordPress have no familiarity with the way you installed it, and are recommending you upgrade to the newest version before they can really provide help, because they can&#8217;t remember if the year old version you are using supports the functionality you are looking for.</p>
<p>You eventually find out that you have been hacked because you didn&#8217;t stay up to date, and now there is concern about the integrity of your entire OS install and Google thinks you are running a bogus pharmacy website.</p>
<p>At this point, I hope that I have convinced you that installing WordPress from your Operating Systems software repository is bad practice and that you should never do it. By the way, for all you folks who installed WordPress from your Operating Systems software repository, I was just asked to buy some pharmaceutical products from your site and got a popup offering a free pirated film available for immediate download from an anonymous FTP site running on your server.</p>
<p><em>Check out Matt&#8217;s <a href="http://www.rackspace.com/blog/three-tips-for-selecting-a-wordpress-plugin/" target="_blank">next post for three tips on selecting a WordPress plugin</a>. Learn more about how <a title="Hosted WordPress | Rackspace" href="http://rackspace.com/wordpress" target="_blank">Rackspace can help you with hosting your WordPress site</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rackspace.com/blog/dangers-of-installing-wordpress-from-an-os-software-repository/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Add the Content-MD5 HTTP Header to nginx</title>
		<link>http://www.rackspace.com/blog/add-the-content-md5-http-header-to-nginx/</link>
		<comments>http://www.rackspace.com/blog/add-the-content-md5-http-header-to-nginx/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 18:00:46 +0000</pubDate>
		<dc:creator>Matt Martz</dc:creator>
				<category><![CDATA[Tips for Devs and Sys Admins]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.rackspace.com/blog/?p=15138</guid>
		<description><![CDATA[The Content-MD5 HTTP Header was recently put in place on WordPress.org for WordPress releases to allow easier MD5 checksum verification of the download without requiring an extra HTTP request to grab an MD5 file. WordPress will soon start validating the MD5 checksum when downloading files based on this header. I had recently implemented some code in a WordPress plugin, [...]]]></description>
				<content:encoded><![CDATA[<p>The <a title="Content-MD5" href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.15" target="_blank">Content-MD5 HTTP Header</a> was recently <a title="WordPress.org: Add md5/sha1 for latest.zip and latest.tar.gz" href="http://core.trac.wordpress.org/ticket/19928" target="_blank">put in place</a> on <a title="WordPress" href="http://wordpress.org/" target="_blank">WordPress.org</a> for WordPress releases to allow easier MD5 checksum verification of the download without requiring an extra HTTP request to grab an MD5 file. WordPress will soon <a title="WordPress.org: Attempt MD5 checksum verification in upgrader if available" href="http://core.trac.wordpress.org/ticket/20074" target="_blank">start validating</a> the MD5 checksum when downloading files based on this header.</p>
<p>I had recently implemented some code in a WordPress plugin, for downloading some source javascript files and then verifying them by requesting an MD5 file, and comparing the MD5 of the downloaded source file to that of what we expected. I had wanted to use the Content-MD5 header, but as I am running <a title="nginx" href="http://nginx.org/" target="_blank">nginx,</a> and <a title="nginx: Using Content-MD5 header" href="http://mailman.nginx.org/pipermail/nginx/2008-July/006251.html" target="_blank">nginx not supporting it</a>, I decided for the time being to leave it, making the extra request.</p>
<p>I knew the solution to adding it was in using the <a title="nginx: Embedded Perl Module" href="http://wiki.nginx.org/EmbeddedPerlModule" target="_blank">nginx embedded perl module</a>, and to make sure that I didn&#8217;t block the delivery of the content, that pulling an MD5 hex hash out of an MD5 file that lived along side the original file would be best.</p>
<p>I ended up writing two versions, one that would only pull the MD5 out of an MD5 file, and one that would fall back to compute the MD5 hex hash on the fly if an MD5 file didn’t exist.</p>
<p>Here is the finished product:</p>
<pre># nginx Embedded Perl module for adding a Content-MD5 HTTP header
#
# This perl module, will output an MD5 of a requested file using the
# Content-MD5 HTTP header, by pulling the hex hash from a file of the
# same name with .md5 appended to the end, if it exists.
#
# Author: Matt Martz &lt;matt@sivel.net&gt;
# Link: https://gist.github.com/1870822#file_content_md5_req_dot_md5.pm
# License: http://www.nginx.org/LICENSE

package ContentMD5;
use nginx;

sub handler {
    my $r = shift;
    my $filename = $r-&gt;filename;

    return DECLINED unless ( -f $filename &amp;&amp; -f "$filename.md5" );

    my $content_length = -s $filename;

    open( MD5FILE, "$filename.md5" ) or return DECLINED;
    my $md5 = &lt;MD5FILE&gt;;
    close( MD5FILE );
    $md5 =~ s/^\s+//;
    $md5 =~ s/\s+$//;
    $md5 =~ s/\ .*//;

    $r-&gt;header_out( "Content-MD5", $md5 ) unless ! $md5;

    return DECLINED;
}

1;
__END__</pre>
<pre># nginx Embedded Perl module for adding a Content-MD5 HTTP header
#
# This perl module, will output an MD5 of a requested file using the
# Content-MD5 HTTP header, by either pulling it from a file of the
# same name with .md5 appended to the end, if it exists, or will
# calculate the MD5 hex hash on the fly
#
# Author: Matt Martz &lt;matt@sivel.net&gt;
# Link: https://gist.github.com/1870822#file_content_md5.pm
# License: http://www.nginx.org/LICENSE

package ContentMD5;
use nginx;
use Digest::MD5;

sub handler {
    my $r = shift;
    my $filename = $r-&gt;filename;

    return DECLINED unless -f $filename;

    my $content_length = -s $filename;
    my $md5;

    if ( -f "$filename.md5" ) {
        open( MD5FILE, "$filename.md5" ) or return DECLINED;
        $md5 = &lt;MD5FILE&gt;;
        close( MD5FILE );
        $md5 =~ s/^\s+//;
        $md5 =~ s/\s+$//;
        $md5 =~ s/\ .*//;
    } else {
        open( FILE, $filename ) or return DECLINED;
        my $ctx = Digest::MD5-&gt;new;
        $ctx-&gt;addfile( *FILE );
        $md5 = $ctx-&gt;hexdigest;
        close( FILE );
    }

    $r-&gt;header_out( "Content-MD5", $md5 ) unless ! $md5;

    return DECLINED;
}

1;
__END__</pre>
<pre># nginx sample configuration for adding a Content-MD5 HTTP header
# using the Embedded Perl module
#
# Author: Matt Martz &lt;matt@sivel.net&gt;
# Link: https://gist.github.com/1870822#file_nginx.conf

http {
    perl_modules perl/lib;
    perl_require ContentMD5.pm;

    server {
        location / {
            root /var/www;
            index index.html
        }

        location /download {
            perl ContentMD5::handler;
        }
    }
}</pre>
<p>Here is an example of the resultant HTTP Headers:</p>
<pre>$ curl -I 

HTTP/1.1 200 OK
Server: nginx/1.0.5
Date: Mon, 20 Feb 2012 20:19:04 GMT
Content-Type: application/octet-stream
Content-Length: 134217728
Last-Modified: Mon, 20 Feb 2012 20:18:25 GMT
Connection: keep-alive
Content-MD5: fde9e0818281836e4fc0edfede2b8762
Accept-Ranges: bytes</pre>
<pre>$ curl -i 

HTTP/1.1 200 OK
Server: nginx/1.0.5
Date: Mon, 20 Feb 2012 20:28:57 GMT
Content-Type: application/octet-stream
Content-Length: 42
Last-Modified: Mon, 20 Feb 2012 20:28:32 GMT
Connection: keep-alive
Content-MD5: 017d95ac06d4200bbcb2a5682e873fd7
Accept-Ranges: bytes

fde9e0818281836e4fc0edfede2b8762 128.bin</pre>
<pre>$ curl -I 

HTTP/1.1 200 OK
Server: nginx/1.0.5
Date: Mon, 20 Feb 2012 20:29:27 GMT
Content-Type: application/octet-stream
Content-Length: 134217728
Last-Modified: Mon, 20 Feb 2012 20:28:20 GMT
Connection: keep-alive
Content-MD5: fde9e0818281836e4fc0edfede2b8762
Accept-Ranges: bytes</pre>
<pre>$ curl -I 

HTTP/1.1 404 Not Found
Server: nginx/1.0.5
Date: Mon, 20 Feb 2012 20:29:36 GMT
Content-Type: text/html
Content-Length: 168
Connection: keep-alive</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.rackspace.com/blog/add-the-content-md5-http-header-to-nginx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Content Delivery Network via Rackspace Cloud Files: c3414940.r40.cf0.rackcdn.com

 Served from: www.rackspace.com @ 2013-05-18 21:47:02 by W3 Total Cache -->