File folder with progress bar

Fixing the 2MB limit in WordPress

WordPress has a default limit of 2MB for any file uploaded to the system.  However, the value is easy to change by adjusting some PHP settings on the server.  Let’s look at two ways to change the configuration values to set the limit to suit our needs. The 2MB limit is determined by two PHP configuration variables.  These variables are upload_max_filesize and post_max_size.  The values can be set in the php.ini file or a .htaccess file.  Let’s look at each of these options. Changing... Read more

Person reading while sitting on RSS feed symbol

Using the WordPress Feed to Display Posts on Your Website

WordPress is a great stand alone solution for blogging.  You can quickly adopt themes and launch a blog site in under an hour.  However, sometimes you will want to provide access to your content through another website or application.  You can provide this content quickly with the WordPress feed using RSS.  We will walk through an example in PHP that can have you linked to your blog in minutes. The WordPress Feed First, let’s verify you can see your feed.... Read more

Swap Drive Common EC2 Problems

Adding a Swap Drive to your EC2 instance

If you are using Amazon EC2 instance to run WordPress, then one of the biggest challenges you will encounter is running out of system memory.  The server works fine for vanilla installs, but issues typically arise once you add some plugins.  For instance, these system memory problems can manifest themselves in the form of database crashes or system downtimes.  Luckily, this is an easy problem to fix without having to deal with expensive hardware upgrades.  Instead, all you need to do... Read more