• Brooklyn Knowledgebase

Plugins Required from WP Plugin Repository:

  1. BackUpWordPress
  2. WP Migrate DB

A. These first set of tasks will prepare the ‘New’ site:

  1. Create a database, install WordPress on the New site and install any updates available.
  2. Install and activate both plugins.
  3. Run WordPress Migrate DB from the Tools menu, but only to get the values for Current address (URL) and Current file path. Save these values for later use.

B. Next, get the data from the ‘Old’ (existing) site:

  1. Install and activate both plugins. Configure BackUpWordPress as needed.
  2. Run BackUpWordPress from the Tools menu and download the zip file to your computer. This is the backup of the unchanged site for emergencies, so be sure to include the database in this backup.
  3. Update WP and all plugins to the latest working version.
  4. Run BackUpWordPress again (with database) and download the zip file to your computer saving as a different filename. Don’t overwrite the other backup you made earlier in step B-2.
  5. Run WP Migrate DB from the Tools menu. Use the values you saved in step A-3 above for New address (URL) and New file path. Save the output file to your computer.

C. Now load the data into the New site:

  1. Unzip the backup file from the Old site.
  2. Edit wp-config.php and change the DB_NAMEDB_USERDB_PASSWORD, and DB_HOST to the values for the New site. You can get these values from the wp-config.php file of the New site before you upload the Old site data.
  3. Note that the .htaccess file can contain rules that reference the Old site. Any such references must either be removed or rewritten to reflect the New site. One approach is to save a copy of the file from the Old site and then delete it from the upload. Then add parts back in as needed.
  4. It is safe to remove lines between # BEGIN WordPress and # END WordPress because WP will recreate these lines, although you may have to assign Permalinks back to default and then back to the current assignment to trigger this.
  5. Use ftp to copy the files to the New site, overwriting the initial installation.
  6. Use phpMyAdmin to import the database contents file produced by WP Migrate DB.
  7. Re-configure permalinks, verify static front page setting, menus, sidebars and widgets.