9 Steps to Upgrade WordPress

If you’re like me, you’re a bit hesitant to upgrade to the latest release of WordPress. DoG was running a very good install of the last 2.2.x release and I wasn’t in a rush to upgrade it for several reasons. The largest reason and one you can still see some of the effects of on the site, is that the theme I’m using, Redoable by DJR hasn’t been updated for the 2.3 branch and most likely won’t be any time soon.

If you’re not currently running a theme compatible with the 2.3.x branch of wordpress, I would recommend changing your theme to one that is or wait to upgrade until you’re comfortable with doing the work yourself. I’m in the process of a redesign and I wanted to use some of the native features in the new releases of WP so I went ahead and made the jump. It wasn’t all cake though, there are some hoops to jump through before you dive right in.

  1. Download the latest version to your server (if you have ssh, log in and do a wget) via wget or ftp if you can.
  2. Log in to your admin area and disable ALL plugins (yes Virginia, even Akismet. No, don’t worry, you’ll have akismet back up with in 15 minutes). They make it nice and easy in wordpress to disable everything at once (there’s a link at the bottom of the plugin management page that disables everything with one click).
  3. Set your default theme to the Default wordpress theme. This is recommended practice for several reasons one, the default theme is standard in wordpress releases and WILL work on your site immediately after the upgrade where as your current theme may or may not.
  4. Unzip and copy (again really easy in ssh) the new release to your blog directory. Make sure to copy the contents in wordpress to your blog’s directory and not just the wordpress folder.
  5. Run http://yourdomain.com/wp-admin/upgrade.php – This is a crucial step as the database changed from the 2.2.x versions to the 2.3 branch. You need to update the database or nothing on the site will work correctly.
  6. Check your site. Once the upgrade has completed you can check your site. Your posts and everything should display properly using the default theme.
  7. Login to your admin area and UPGRADE ANY plugins that say there is a new release. **THIS IS IMPORTANT** as the database changes rendered the way some plugins accessed the information. If you don’t upgrade the plugins you might get errors (like the UTC category error on this site). Its easy and will take hardly any time at all. One of the features I LIKE about 2.3 is that it lets me know when I need to upgrade the plugins.
  8. Activate all your plugins – Or at least the ones you still want to use. I went through and cleared out some of the ones not in use here on the site and it helped a bit.
  9. Select new theme – You *should* now be able to reset your theme to the one you want. There may be some errors, if that is the case check the wordpress.org site for answers, chances are that someone has already had the same issue.

In all, it should take less than an hour to do the upgrade. If you’re unsure, there are plenty of people who will do it for you (often for a slight fee). I’ve found the best way is to be prepared. Download the new version before you start anything and make sure you read the upgrade notes. If you’re using a custom theme, make sure it will work. I’ve found that most themes will with some minor changes to the way they call some of the WP hooks.

Good Luck young Skywalker.

Google Buzz 
Blog Widget by LinkWithin

Popularity: 1% [?]

  • Share/Bookmark

4 Comments to “9 Steps to Upgrade WordPress”

  1. Gruntled 12 December 2007 at 6:08 pm #

    I think it takes me an average of 30 minutes to do an upgrade for WP. Except when major changes happened, and I spent another 30 minutes tweaking with the theme….

    I could just imagine offering WP as a hosting option!

    Gruntled’s last blog post..Five at Five

    Like or Dislike: Thumb up 0 Thumb down 0

  2. mcangeli 12 December 2007 at 5:11 pm #

    Gruntled »

    These days, I think it’d be rather easy… :) (Cpanel would take care of a lot of it) The one thing I did not mention was backing up your database….

    Like or Dislike: Thumb up 0 Thumb down 0

  3. Vladimir 12 December 2007 at 8:18 pm #

    I did the upgrade yesterday to 2.3.1 and I found a maintanance plugin very helpful (stops other traffic to the site). Everything went a breeze.

    Vladimir’s last blog post..Smart ways to enhance your blog’s RSS feed

    Like or Dislike: Thumb up 0 Thumb down 0

  4. helen 13 December 2007 at 11:31 pm #

    I hate updating my WP and I always make sure my husband is around. Just in case…:-)

    It’ll be worse if you have too many plugins and you’ll bound to get issues with some of them everytime you upgrade.

    BTW, I read the link you posted about climate change. Makes me think of Michael Crichton’s State of Fear. WOnder when they’ll turn it into those Hollywood movies…lol

    Like or Dislike: Thumb up 0 Thumb down 0


Additional comments powered by BackType