Upgrading WordPress

Published on Sunday, May 29, 2011

If your site is based on WordPress, the one of maintain tasks is updating WordPress since their new versions released time to time.

When we write this updating blog, the latest stable WordPress version is 3.1.3 .

First of First, read the warning from WordPress official site:

WARNING: The upgrade process will affect all files and folders included in the main WordPress installation. This includes all the core files used to run WordPress, two plugins (Akismet and Hello Dolly) and one theme (Twenty Ten). If you have made any modifications to those files, your changes will be lost.

The following content is our all steps which we update our WordPress site:

1: First thing you have to check whether your hosting environment support the latest WordPress version. for example: Does your PHP support latest WordPress? Does your MySQL support latest WordPress too?

"The requirements have changed as of WordPress 3.2. The minimum requirements for WordPress 3.1 are PHP 4.3 and MySQL 4.1.2. "

But anyway, We recommended you use PHP version 5.2.4 or greater and MySQL version 5.0 or greater.

The following is a hosting provider’s environment:


OK, if you have confirmed your hosting environment is qualified to update WordPress, then we start to do updating now:

2: Backup our website:

There are 2 parts in this step: backup site files and backup database.

Use FTP client tools to copy all files on online hosting to our local computer. If possible please copy live files to multiple local places for more safety. WordPress recommended: _“Remember, keep at least three backups on file, just in case one is corrupted or lost, and store them in different places and on different mediums, like CD, DVD, different hard drives, etc.” _

Then backup database. But before you take the action to backup database, you better to clean your database firstly, for example: delete all garbage and spam comments, delete all data which you don’t need any more.

If you have a database backup plugin installed on your WordPress, you might have already backup the database period. But you still need to backup the newest database, so maybe the best way is go to your hosting account and use their database management tool such as the most popular tool PHPMyAdmin.

In home windows of PHPMyAdmin , check on all tables, and click “Export” on the top. then you get the following screen, here we post our database backup selections screen shot below:


check on all options which you like, and give a file name, then click Go button. you will get a database .sql file which a popup windows asks you save to somewhere:


Now you get your database backup file.

About how to use PHPMyAdmin to backup the database, you can please to find the detail from internet, there are huge information about the usage; or you can follow WordPress’s database backup guide.

3: Disable Plugins:

Simple words here: Just login to your WordPress management and deactivate all plugins which you have activated.

4: Updating:

After WordPress 2.7+, There are 2 updating methods which we can use: automatically update and manually update.

The automatically update will work for most of users as long as you did not change the WordPress core files. and it is more easier and faster.

But, if you can not make sure, please use Manually update. please follow WordPress guide to do it.

Go to Dashboard tab and see the following screen shot:


You can click either the top “Please update now” or lower button "Update to 3.1.x"

Then you come to WordPress updates window, you will see automatically update button and download button (for manually update), and also WordPress check plugins and theme updates, if there are new releases, it asks you update them.


Finally you will see the updating result:


Our WordPress updated successfully. How about yours ?