These are the basic instructions; if you need more information, see the detailed upgrading instructions. If you’re having trouble with the Three Step Update, check out the more extensive upgrade instructions.
For these instructions, it is assumed that your blog’s URL is
Step 1: Replace WordPress files
- Get the latest WordPress zip (or tar.gz) file.
- Unpack the zip file that you downloaded.
- Deactivate plugins.
- Using your FTP or shell access, delete the old wp-includes and wp-admin directories on your web host.
- Using FTP or your shell access, upload the new
wp-admindirectories to your web host, in place of the previously deleted directories.
- Overwrite existing files by uploading individual files from the new wp-content folder to your existing wp-content folder. DO NOT REMOVE YOUR OLD WP-CONTENT FOLDER. In your existing wp-content directory, do not delete any files or directories (except for the one being overwritten by new files).
- All new loose files from the new version’s root directory should be uploaded to your existing WordPress root directory.
NOTE: In the wp-includes and wp-admin directories and subdirectories, as well as in the root directory, you should replace all of the old WordPress files with the new ones (such as index.php, wp-login.php, and so on). Don’t worry, your wp-config.php file will remain intact.
When it comes to duplicating the wp-content directory, be cautious. Rather of replacing your entire wp-content directory, make sure you simply copy the files from within this directory. You’ll want to keep your themes and plugins here because here is where they live. If you haven’t renamed or altered the default or classic themes, be sure you don’t overwrite them or your changes will be lost. (However, you might wish to compare them to see if there are any new features or corrections.)
Finally, read over the wp-config-sample.php file to see if any new settings have been included that you need to include in your own wp-config.php.
Step 1.1: Remove .maintenance file
If you’re manually upgrading after a failed auto-upgrade, use FTP to remove the file.maintenance from your WordPress directory. The “failed update” nag notice will be gone.
Step 2: Update your installation
Go to /wp-admin to access your main WordPress admin page. It’s possible that you’ll be asked to log in again. If a database upgrade is required at this time, WordPress will notify you and provide you with a link to http://example.com/wordpress/wp-admin/upgrade.php. Follow the instructions by clicking on the link. This will bring your database up to date and make it compatible with the most recent code. This should be done as soon as feasible following the first step 1.
Don’t forget to reactivate plugins!
Step 3: Do something nice for yourself
If you have caching enabled, delete the cache now so that the changes take effect right away. Otherwise, your site’s visitors (including yourself) will see the old version (until the cache updates).
Your WordPress installation has been updated successfully. That’s as straightforward as we can make it without using Subversion to update WordPress.
Consider writing a blog post on the update, reading that book or article you’ve been putting off, or simply sitting back and watching the world go by for a few moments.
Your update is now complete, so you can go in and enable your Plugins again.
If you have issues with logging in, try clearing cookies in your browser.
If something goes wrong, the first thing you should do is follow all of the procedures in our detailed upgrading instructions. There’s also information on some of the most common issues we face on that page.
It could be a rights issue if you get a request for FTP credentials when trying to update WP on an IIS server automatically. Go to the IIS Management Console and then to your blog’s application pool. Change the Process Model Id to LocalSystem in the advanced settings. Then, on Sites, select your blog, right-click, select Edit permissions, and then add authorized users to the security tab. That ought to suffice.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.