Home > Uncategorized > Moving a WordPress Installation

Moving a WordPress Installation

Moving a WordPress installation from one server to another or from one host to another is actually quite simple. There are several ways in which to do it.

Way #1:

1) Install WordPress on the new server using its installer.
2) Replace the newly created database with your old one.
3) Edit the wp1_options table to reflect any changes in your hostname.
4) Copy any remaining file elements such as themes (without the proper theme all you’ll get is a blank page) and uploads.
5) Go to yoursite.tld/wp-admin and update the database if necessary.
6) Done!

Way #2:

1) Copy your WordPress directory to your new site.
2) Copy over your database to your new site.
3) Edit the wp-settings.php file to reflect your new database information
4) Edit the wp1_options table in the database to reflect changes in your hostname.
5) Done!

I took way #1 because it was easier for me. I didn’t really have any uploads, and only one theme, so it was easy enough just to copy those and the DB. I also needed to upgrade my version of WordPress, so I killed two birds with one stone anyway.

Categories: Uncategorized Tags:
  1. No comments yet.
  1. No trackbacks yet.