I posted a tweet this morning about doing a WordPress upgrade to this blog, and @StephenTiano asked me if I could share the steps I took. So, here I am sharing that same email I sent Stephen:

Ok, so here are my steps when upgrading to WordPress:

  1. Backup the current live version of the wordpress installation you’re currently using. This is very important- in case something goes wrong, so you can always upload the previous version again. 
  2. Download the latest version of WordPress (http://wordpress.org/download/), for now it’s 2.7, and un-zip the contents on your desktop. 
  3. Find inside your newly created backup your wp-config.php file. Open the file and copy the following info from your existing file:
    define(‘DB_NAME’, ‘DB_NAME‘);    // The name of the database
    define(‘DB_USER’, ‘DB_ADMIN‘);     // Your MySQL username
    define(‘DB_PASSWORD’, ‘DB_PASSWORD‘); // …and password
    define(‘DB_HOST’, ‘DB_HOST‘);    // 99% chance you won’t need to change this value
     
  4. Find inside your new WordPress version un-zipped folder on the desktop the wp-config-sample.php file and rename it wp-config.php. Open the file and replace the info you copied on the previous step.
    define(‘DB_NAME’, ‘DB_NAME‘);    // The name of the database
    define(‘DB_USER’, ‘DB_ADMIN‘);     // Your MySQL username
    define(‘DB_PASSWORD’, ‘DB_PASSWORD‘); // …and password
    define(‘DB_HOST’, ‘DB_HOST‘);    // 99% chance you won’t need to change this value
     
  5. Find inside your backup your wp-contents folder. Open the folder and copy the contents of the folder (except the index file) to the same folder inside the new WordPress installation folder on your desktop. 
  6. Go to your WordPress site, log in as admin and deactivate all plugins.  When upgrading it’s better to have the plugins turned off. 
  7. Ok, so now with Fetch, Transmit or your favorite FTP uploader, log into the site and – I’ve read this several times- erase the current WP install. Then upload the new one.  
  8. After a while and you uploaded all, go to
    http://www.yoursiteaddresshere.com/wp-admin/upgrade.php
    Note: It can also be (depending on how you installed it)
    http://www.yoursiteaddresshere.com/wordpress/wp-admin/upgrade.php 
  9. You’ll  get a window telling you that the DataBase needs to be upgraded. Click yes and you’re all done!

 Hope this helps!

Share This