A WordPress blog is an easy way to establish a dynamic online presence however it’s also very easy to get trigger happy with plugins and themes that ultimately slow down your websites loading time. Here’s a quick little checklist to help improve your blogs performance.

1) Test your blogs speed first and get it primed

Use tools like iWebTool’s Speed Test and Pingdom’s Full Page test to visually see your blogs weaknesses and identify any key areas to focus on.

You should also be sure that your HTML adheres to W3C guidelines by validating your website and fixing any problems.

2) Make sure you have reliable hosting

Choose a reliable host that has the most recent versions of PHP and MYsql installed as well as enough space/bandwidth to handle large loads. WordPress has it’s own list of recommended hosts.

Here are a few others worth checking out:

3) Handle your images properly

Images can put a huge strain on your server’s load time if not managed properly. Your images don’t need to be any higher than 72 DPI and should be resized before being inserted into your post. Resizing images with HTML can distort the image and increase it’s loading time.

It also might be a good idea to disable hotlinking so no one outside of your website is using up your resources. All you have to do is navigate to your .htaccess file and insert the following code. (Note: If you are unfamiliar with how htaccess works, you may want to skip this step or contact a web developer for help)

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?example\.com/.*$ [NC]
RewriteRule .*\.(gif|jpg|png|ico)$ - [F,L]

It also wouldn’t hurt to cache your commenter’s gravatar images if you are currently displaying them on your site.

4) Easy with the javscript calls

Calls to 3rd party javascripts seem to be the main culprit in slowing down WordPress blogs. Between all the analytics packages available and social media enhancements you can make, their are tons of ways to slow down your blog. It really comes down to just choosing wisely. Do you really need that nifty little MyBlogLog widget? Is Google friend connect that important to your blogs strategy?

Two easy ways to cut down on the amount of time is takes to load whatever scripts you deem are necessary is to:

  • Move javascript to an external file so browsers can cache the scripts.
  • Move any remaining scripts to your WordPress’s footer.php

5) Don’t load too many videos at once

Too many flash videos on one page is a sure way to use up all of someones memory trying to load your page. I worked around this problem by assigning all video posts to the same category and not displaying any posts from that category on the home page. I just placed the following code above my “WordPress loop”:


Another easy fix would be to use the <!–more–> tag above your code that embeds the video in your post. This would only prevent the video itself from displaying on your home page.

6) Control your plugins

Only make calls to plugins when you need them by only calling them on the pages they will be used on.

if (is_page('archives')) {
// function code here

This code only displays “function code here” when you are viewing the “archives” page. A full list of all the conditional tags can be found here.

Also be careful not to install too many plugins in general and disable and remove any plugins that are not being used.

7) Cache Your Pages

The WP Super Cache plugin is probably the easiest way to seemingly increase your blogs loading time. It saves a copy of your website to a file on your server so WordPress only need to call that file rather than all the SQL and PHP it normally has to run. It comes in very useful when you have traffic spikes from certain social media sites.

8) Reduce SQL queries and PHP calls

Yoast has a great post that can help significantly reduce the number of calls your blog makes to your database. It also wouldn’t hurt to clean up your database either manually or with a plugin like WP DB Manager.

Another thing you can do that might speed up your database is to disable post revisions.

I hope someone finds this useful. Are there anymore tips you would recommend for speeding up a WordPress blog’s loading time?

– Photo by kevindean

Leave a comment below and continue the conversation, or subscribe to my RSS feed to get articles like this delivered automatically to your feed reader.