Upgrading Wordpress

I've had a couple of wordpress blog somehow get corrupted by evil persons who somehow got to upload content into them. These were 3.1 installs, but I've now removed the content and upgraded to the latest wordpress version.

I've found the easiest way is to:

  • download the latest version with wget http://wordpress.org/latest.zip

  • unzip the archive which will extract a directory 'wordpress' eg unzip wordpress-3.4.zip

  • now copy the contents of the wordpress directory over the existing installation with cp -a .../wordpress/* .../mywpinstall


Now hit the admin console and you may get a prompt to upgrade the database.

If you want a really mad upgrade script, check out the Rimu Hosting script at http://blog.rimuhosting.com/2012/06/14/wordpress-mass-update-script-3-4/

Popular posts from this blog

Slow, Buffering, Stuttering Udemy Video

Intellij tip - Joining multiple lines into one

Looking for IT work in Australia? JobReel.com.au!