Like the title says, upgrading WordPress isn’t as difficult as you might think. As long as you don’t have a lot of “core upgrades” i.e. direct edits to WordPress core files, it shouldn’t take you more than a few minutes. In this tutorial I’ll show you how in 3-4 simple steps.

  • Take a full backup first
  • Get the latest version of WordPress
  • Overwrite core files
  • Run the database upgrade script (if necessary)

This tutorial will be going over everything manually. You can use things like Fantastico and those “automatic upgrade” scripts at your own risk. It may be a good idea to read this guide on installing WordPress first, but not necessary.

Take a full backup first

One of the most important things you can do before doing any upgrade on your site is to take a full backup. This means files plus your database as well. I’ve written a previous guide on backing up your WordPress sites in my The Importance of Backing Up Your WordPress Site article. It goes over several methods of backing up your WordPress sites so I suggest you check it out before proceeding with the upgrade.

Get the latest version of WordPress

Always get WordPress from the official WordPress download page, and nowhere else. When you download here, you know you’re getting your files from the source - no funny business.

WordPress.org Download Page

You may also want to consider subscribing to their mailing list, which will send you updates whenever a new stable version is released.

Overwrite core files

When I say upgrade core files, I mean everything included in the WordPress folder except the /wp-content/ folder. This is where your themes, plugins, uploads, and other content is stored - which shouldn’t be deleted or overwritten.

Unzip and Upload

Unzip the file and open up your FTP client of choice. Some good ones include FileZilla, SmartFTP, and FireFTP. I’ll be using FileZilla in this example. Connect to your site, and start overwriting everything except the /wp-content folder.

WordPress FTP Upgrade

To save time, when prompted, select “overwrite” and Always use this action when a file already exists.

Run the database upgrade script

This sounds a lot scarier than it actually is. It is actually a very quick process. Simply navigate to your WordPress admin panel, you should see a screen like this.

WordPress Database Upgrade Required

Don’t listen to the The upgrade process may take a while, so please be patient bit. About 2 seconds later, you’ll see that your database upgrade was successful. This may or may not be necessary depending which versions you’re updating between.

Conclusion

Hopefully you now know how to upgrade your WordPress blogs with ease and get rid of what’s in this image - until the next update is released at least.

WordPress 2.5.1 Available

It’s always a good practice to take backups frequently, even when an upgrade isn’t necessary. If you have a lot of plugins, you may want to crosscheck them on this WordPress 2.5 plugin compatibility list, or whichever list corresponds with the latest WordPress version is. Same goes for themes, although you shouldn’t have much trouble with those. If you’re a techy type - you may want to look into upgrading WordPress with subversion.

Feel free to comment and share if you liked this guide. Looking forward to hearing your thoughts. Subscribe to the feed for more updates on theme releases and new tutorials.

Subscribe to RSS

By: Leland on Apr. 26

Bookmark and Share

22 Comments »

Comment by ameo
2008-04-26 12:45:18

Nice , that is mostly what i have done today .
and TBH , the last updates really fixed
some media uploader issue i was having with the older version

 
Comment by Hanne Sena
2008-04-28 09:44:04

ermm, i think you forget to mention the wp-config file. ^^P

 
Comment by Leland
2008-04-28 09:47:49

@Hanne Sena: Yes, but there isn’t a wp-config.php file in that zip, it’s a sample. But you’re right - you should “upgrade” the config file as well, just maintain the database info.

Thanks for commenting!

 
Comment by 42355353657ok
2008-05-05 19:25:05

thank you so much!!

 
Comment by Not A Niche
2008-06-20 08:30:30

I just use a plugin to make an upgrade in just 5 minutes, it worked with over 20 WordPress installation without a problem. How To Upgrade To WordPress 2.5 In 5 Minutes

 
Comment by Nate
2008-06-22 13:14:42

I can’t find the “upgrade wordpress” information on admin panel after I performed the file overwrite process in my http://FTP.

Help?

 
Comment by faidon
2008-09-22 12:03:23

you make it sound so easy….
here is what realiy is:

Warning: require_once(../wp-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/polyant9/public_html/mysite/wpe/wp-admin/admin.php on line 7

Fatal error: require_once() [function.require]: Failed opening required ‘../wp-load.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/polyant9/public_html/mysite/wpe/wp-admin/admin.php on line 7
any ideas?

 
Comment by Leland
2008-09-23 13:34:19

@Nate: It may or may not be necessary to upgrade the database, if that’s what you’re asking.

@faidon: Are you sure all the files uploaded properly?

 
Comment by Greg Huntoon Subscribed to comments via email
2008-12-21 04:02:41

Thanks so much for the post. This was as easy as you reported. Sad that I’ve been just delaying and delaying the upgrade, because it was totally painless. I think I feared that my theme would break and that it would require a bunch of work on my part. In fact, it was the exact opposite.

 
Comment by Craw
2009-03-11 07:21:39

Hi,

Thanks for the guide. It really helped me when I couldn’t access my admin cpanel (so I couldn’t use the auto-updater). This post saved me :)

 
Comment by Cheryl Subscribed to comments via email
2009-06-14 20:52:41

Hi, thanks for the info, it really is easy to upgrade. I’m hoping that you or someone else knows how to upgrade a wordpress installation created in WP Direct, though. I decided to copy out my files from there and manage them on my own, but now I can’t upgrade them. The error log shows compat.php errors. arrggghhh.

If anyone knows what’s up with WP direct installs, please let me know.

Thanks!
Cheryl

 
Name (required)
E-mail (required - never shown publicly)
URI
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post

Recent Comments

  • Anto: Hello. Thanks, you’ve got my contact details. Get in touch with me if your wanting something in your own...
  • Sonny: Hey Anto, I love this design, good work that I paid for link removal :) Anyways, how can one contact you to do...
  • Leland: @axelk: As in picture uploads? Not sure about that, although you could set up the form to allow users to send...
  • axelk: thank you for the reply. can Contact 7 be used to submit pictures as well?
  • Leland: @axelk: I think that’s what the Contact Form 7 is for. Although if you wanted to allow users to submit...

About The Author

Welcome to Theme Lab. My name is Leland, and I run the place. I write all the tutorials and code all the themes you see here on the site.

For more information about me, feel free to read the about page. If you want to drop me a message, feel free to contact me.

Interested in advertising on Theme Lab? We have advertising available at very reasonable rates. Head on over to the advertising page for further details.

Please read our Privacy Policy and Terms of Service in regards to theme usage.

© 2009 - Theme Lab - Powered by WordPress