Sunday, October 13, 2013

Moving/Migrating WordPress

I have recently found myself developing a number of WordPress sites and usually the process starts with a Development site (a subdirectory of either the web site where the WordPress install is intended for or on another site subdirectory).  Either way WordPress must be moved once development is completed, and that process has been tedious at best...  Until...

I thought I would search for posts relating to moving/migrating a WordPress site, for a better method than I last used, and I stumbled across this site,  I happen to be using Weaver II as the theme for this site however the method to move WordPress should work with any theme.

The bellow steps are based on this post, the big part of this is a new Plugin WP MIgrate DB

  • Step 1:  Make a backup of your WordPress install and database for your Development site (just in case)
  • Step 2: Install WP on new server or final location, make sure the version matches your Development site, in this case 3.6.1 was the current version.
  • Step 3: Make sure the new Install works and you can login.
  • Step 4: Delete the wp-content directory on the New site
  • Step 5: Download the complete wp-content directory from your Development site
  • Step 6: Upload the wp-content directory you downloaded from the Dev site to the New site
  • Step 8: Run WP MIgrate DB on the Devolpment site and save the sql file it generates on your computer
  • Step 9: Using phpMyAdmin Drop all content from New Site Data base. 
Select the database name used for the new site. Select the Structure view of the database, click the Check All option at the bottom, and finally from the “With Selected” dropdown pick “Drop”. Then Press Go
  • Step 10: Using phpMyAdmin again use the Import function and Import the sql file created from WP MIgrate DB
  • Step 11:  Then Open New Site it should work under the new Domain name and/or location.
When you use  WP MIgrate DB you will enter the New Information and the generated Database SQL file will be all set fir the New Domain and/or Location.

Click on Migrate DB and you will see.

I hope this helps those of you that need to move a WordPress installation...

Thanks to the Weaver II folks and I personally recommend the Weaver II WordPress theme, super modifiable and more choices than i can shake a stick at ;)



Post a Comment

<< Home