Upgrading from 1.5.x to 2.3.2 of wordpress
Thursday, January 17th, 2008
This blog went into extended hibernation a few years ago; it is old and often falls asleep. Whilst it slept, Wordpress steadily upgraded leaving this poor blog behind. As the versions progressed, I got more and more fearful that an upgrade would be too much for this old bear of a blog, and it would be killed off, an upgrade too far.
However, not upgrading meant that the blog was more and more likely to get ill, security exploits and spam making it more and more ill. The spam traps were failing and I was getting email after email telling me some spam had been written to the blog or placed in moderation. Something like 2000 odd spam messages built up, growing like a cancer. Yet still I did not act.
I thought it would be too hard, too complicated and take too much time to upgrade. I was wrong.
Yesterday, I decided to bite the bullet and upgrade. Finally, reading the instructions about upgrading from 1.5 blog, I realised that it was quite straightforward. I decided to use the SVN version of upgrading, knowing how easy it was to upgrade from other blogs I run.
I can boil it down to 7 easy steps.
- Backup, backup, backup and check your backup. Backup again, once more for luck. Look, just make sure you backup in case, or when you mess this up. Make sure you backup the mysql database as well (this happens automagically for me on the server)
- Disable all your plugins - most plugins that worked in 1.5 won’t work in 2.3.2
- Create a new directory and use the SVN commands to grab the latest version of wordpress.
svn co http://svn.automattic.com/wordpress/tags/2.3.2 .
- Copy your wp-config.php and .htaccess to the new blog
- Move the old blog into a different directory, move the new blog to where the old blog was
- Run http://blog.com/blog/wp-admin/upgrade.php
- That’s it
Note, you’ll still have to do stuff like make your blog look pretty, install new plugins etc and so on, but as I was using the default theme before, all I had to do was copy an image across.
I havn’t install any plugins as a) it was so long ago, I don’t remember what plugins did what anyway and b) most of the plugins had functionality that was now part of wordpress itself anyway.
So, if you have an old blog running an ancient version of Wordpress, just upgrade it, it is not that hard.