Upgrading WordPress « WordPress Codex
Popularity Report
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
URL Tag Cloud
Bookmark History
Saved by 66 people (-26 private), first by anonymouse user on 2006-03-02
- Soulgrind on 2009-11-14 - Tags wordpress , upgrade , tutorial , blog , howto , reference , blogging
- Debswin on 2009-11-13 - Tags blog , wp , *
- Jthom1458699 on 2009-07-31 - Tags reference , upgrade , update , codex , design , cms , backup , blog , web , webdesign , howto , internet , software , tutorial , blogs , tutorials , resources , development , blogging , code , documentation , help , install , plugins , wp , todo , wordpress , delicious
- Websitemediainc on 2009-07-30 - Tags upgrade
- Sharon_elin on 2009-07-16 - Tags no_tag
Public Sticky notes
Highlighted by stevenchoy
Highlighted by rikaizm
wp-content
Highlighted by eddron
Highlighted by eddron
Highlighted by cheekywombat
Highlighted by creiden
Highlighted by websitemediainc
Step 0: Before You Get Started
- 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!
Highlighted by soulgrind
Step 1: Replace WordPress files
- 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.
Highlighted by soulgrind
Highlighted by sharon_elin
wp-content folder requires special handling, as do the plugins and themes folders. 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.
Highlighted by soulgrind
Highlighted by soulgrind
Highlighted by soulgrind
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.
Highlighted by soulgrind
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).
Highlighted by soulgrind


Public Comment
on 2006-08-03 by ftofani