Thursday, February 7, 2008

How to Upgrade WordPress

How to upgrade WordPress introduction


Sometimes it seems that by the time I get my websites upgraded there is a new version or minor update to WordPress. After a while, upgrading WordPress seems as easy as brushing my teeth or tying my shoes. I do understand that for a beginner, this process can be frightening. In reality, WordPress is probably the easiest and simplest CMS or Blog software available. I have personally tried Joomla (which I like) and Drupal (which I don't like). I also tried Google's Blogger which has obviously been dumbed down to the least common denominator so that you can't customize it.

I do not accept liability for your ability to follow these steps, nor to I accept liability for any changes that may occur to Wordpress or its upgrade methods. Essentially, I'm saying that these steps have worked for me for upgrading the last few versions of Wordpress and they probably won't change in the near future. This article/post assumes that you know how to use FTP and how to download a file from Wordpress.org.

Short version - Steps for upgrading WordPress blog/CMS software



  1. To be safe, backup your database via your webhost's control panel via PHPMyAdmin (ask your webhosting company how)

  2. Disable all plugins

  3. Download the newest version of Wordpress from wordpress.org.

  4. Extract all of the files to your copy of Wordpress on your computer (your backup, you do have one right?) overwriting the older files with the same name.

  5. Upload your Wordpress directory or your website via FTP to your server overwriting files with the same name.

  6. go to http://yourdomain.com/wordpressdirectory/wp-admin/upgrade.php or http://yourdomain.com/wp-admin/upgrade.php and follow the steps until it says it is finished.

  7. Re-enable your plugins


If you never installed any plugins, then you can skip steps 2 and 7. The options in step 6 depend on whether you have Wordpress installed in your main directory or subdirectory. When uploading your updated files you could omit the wp-content/plugins and wp-content/themes directories. The default theme might have been updated, but your custom themes and plugins are not updated with Wordpress. Plugins and custom themes are maintained by their authors.

Don't forget to update your plugins!


Sometimes a plugin stops working due to a change in Wordpress's API. After you upgrade, be sure to check for new plugin versions. The most recent versions of Wordpress will warn you when your Plugins are out-of-date. You'll need to replace the plugin with the same name in your wp-content/plugins directory and upload the plugin via FTP. It is recommended to disable a plugin before uploading a new version and reenable it afterwards. A plugin will sometimes break otherwise. If you don't and you find errors just disable and reenable the plugin and that will take care of most issues.

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete