This link has been bookmarked by 92 people . It was first bookmarked on 02 Mar 2006, by Krissa Randolph.
-
14 Nov 09
-
- Just in case something goes wrong, make sure you have a backup. WordPress Backups is a comprehensive guide.
- Make sure the database user name registered to WordPress has permission to create, modify, and delete database tables. If you installed WordPress in the standard way, and nothing has changed since then, you are fine.
- Deactivate your plugins. A plugin might not be compatible with the new version, so it's nice to check for new versions of them and deactivate any that may cause problems. You can reactivate plugins one-by-one after the upgrade. This is particularly important when upgrading to WordPress 2.7!
Step 0: Before You Get Started
- Just in case something goes wrong, make sure you have a backup. WordPress Backups is a comprehensive guide.
-
- Get the latest WordPress. Either download and extract it to your computer or download it directly to the server.
- As a reminder, to extract a tar.gz to a folder use this command, replacing (folder name) with the name of your folder: tar -xvzf latest.tar.gz -C ./(folder name)
- Delete your old
wp-includesandwp-admindirectories. - Copy the new WordPress files to your server, overwriting old files in the root, except perhaps the
wp-contentfolder (see "NOTE" below). You may use FTP or shell commands to do so. Note that this means *all* the files, including all the files in the root directory as well. If you use the default or classic theme and have customized it, then you can skip that theme.
- As a reminder, to extract a tar.gz to a folder use this command, replacing (folder name) with the name of your folder: tar -xvzf latest.tar.gz -C ./(folder name)
Step 1: Replace WordPress files
- Get the latest WordPress. Either download and extract it to your computer or download it directly to the server.
- 5 more annotations...
-
-
NOTE The
wp-contentfolder requires special handling, as do thepluginsandthemesfolders. You should copy over the contents
of these folders, not the entire folder. In some cases, copying the entire folder may overwrite all your customizations and added content. -
Also take care to preserve the content of the wp-config.php file in the root directory. This file contains current settings for your existing installation, e.g. database sign-in information. Occasionally new versions of WordPress add statements to this file.
-
Compare your existing file with the new installation file which is named wp-config-sample.php. Either transfer your settings to the sample-file and rename it to wp-config.php or copy the new statements from the sample file into your current file.
-
Step 2: Upgrade your installation
Visit your main WordPress admin page at /wp-admin. You may be asked to login again. If a database upgrade is necessary at this point, WordPress will detect it and give you a link to a URL like
http://example.com/wordpress/wp-admin/upgrade.php. Follow that link and follow the instructions. This will update your database to be compatible with the latest code. If you fail to do this step, your blog might look funny. -
Step 3: Do something nice for yourself
If you have caching enabled, your changes will appear to users more immediately if you clear the cache at this point (and if you don't, you may get confused when you see the old version number in page footers when you check to see if the upgrade worked).
-
-
-
13 Nov 09
-
31 Jul 09
-
30 Jul 09
-
16 Jul 09
-
Compare your existing file with the new installation file which is named wp-config-sample.php. Either transfer your settings to the sample-file and rename it to wp-config.php or copy the new statements from the sample file into your current file.
-
-
19 Jun 09
-
18 Jun 09
-
24 May 09
-
06 May 09
-
15 Apr 09
-
19 Mar 09
-
24 Feb 09
-
31 Dec 08
-
26 Nov 08
-
11 Nov 08
Carsten PötterI will upgrade someday and have to refer to this.
-
28 Sep 08
-
05 Sep 08
-
04 Sep 08
-
14 Aug 08
-
09 Aug 08
-
19 Jul 08
Tac AndersonOK well I think I'm going to finally take the plunge and update all of my sites. I'll start with my neglected.. er, less active HyperBored site and then if I don't screw that up I'll update TechBoise and NewCommbiz. So if the site has issues you'll know why. Of course if the sites down you won't see this anyway, so, whatever.
wordpress upgrade tutorial blog howto codex NCB HyperBored techboise
-
14 May 08
-
wp-includesandwp-admindirectories -
wp-content - 2 more annotations...
-
-
pluginsandthemes -
wp-config.php
-
-
-
11 Apr 08
-
David WarlickAnnotated link http://www.diigo.com/bookmark/http%3A%2F%2Fcodex.wordpress.org%2FUpgrading_WordPress
-
09 Apr 08
-
04 Apr 08
-
22 Mar 08
-
21 Mar 08
-
27 Feb 08
-
04 Nov 07
-
15 Sep 07
-
04 Aug 07
-
01 Jun 07
-
13 May 07
-
14 Apr 07
-
These are the short instructions, if you want more check out the extended upgrade instructions. If you experience problems with the Three Step Upgrade, you may want to review the more detailed upgrade instructions.
-
-
13 Apr 07
-
11 Apr 07
-
05 Apr 07
-
01 Apr 07
-
23 Mar 07
-
21 Mar 07
-
10 Mar 07
-
21 Feb 07
-
17 Feb 07
-
08 Feb 07
-
28 Jan 07
-
23 Jan 07
-
16 Jan 07
-
05 Jan 07
Isaac PigottThe latest version, WordPress 2.0.6 (http://wordpress.org/development/2007/01/wordpress-206/), has been released to the public. If you just need to upgrade from WordPress 2.0.5 to 2.0.6, a special instruction section, Upgrade 2.0.5 to 2.0.6, is presented
-
08 Dec 06
-
17 Sep 06
-
05 Aug 06
-
03 Aug 06
-
02 Aug 06
-
How to Upgrade in Five Steps
-
-
01 Aug 06
-
29 Jul 06
-
14 Jun 06
-
07 Jun 06
Amy GahranDude -- I've downloaded the new wordpress and could use your help upgrading tonight. There are some changes I want to make that will only work with Wordpress 2
-
06 May 06
-
15 Feb 06
-
05 Feb 06
-
29 Dec 05
-
19 Feb 05
-
Upgrading WordPress
From Codex
Set aside some time, and don't rush.
If you are upgrading to 1.5 from 1.2, we have specific instructions for you.
-
-
15 Feb 05
Page Comments
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.