Blog Moved
I’ve moved my blog from blog.mikelaming.com to mikelaming.com/blog, although the former will still redirect. There were a few reasons for this, none of which are interesting, nor important.
Anyway, for anyone else going through the process of moving a wordpress installation, here are my directions.
- Copy all your files over to your new server.
- Create a new database on your new server.
- Edit wp-config.php and update it with your new database settings.
- Using phpmyadmin or similar export your database. Make a backup of this incase it all goes wrong.
- Open the database export sql file and do a find and replace on old url/path, to the new url/path you are migrating to.
- Upload tables to new database.
- Go to http://example.com/blog/wp-login.php and change your site options.
- Make sure you chmod the necessary directories, like ‘uploads’ correctly.
- Make sure your .htaccess file has been updated too, as to preserve permalink structure.
If this fails, wordpress have a tutorial here.