Skip to content

Instantly share code, notes, and snippets.

@wpsmith
Forked from WebEndevSnippets/gist:87798041fc0c50adbda5
Last active August 29, 2015 14:07
Show Gist options
  • Save wpsmith/6f6d0a83c00a968f83ed to your computer and use it in GitHub Desktop.
Save wpsmith/6f6d0a83c00a968f83ed to your computer and use it in GitHub Desktop.

/** Procedure for Site Transfer from WPE to Other Host */

  1. Download latest ZIP from WPE (Backup Points) + last 29 zips

  2. Download & upload uploads folder (and all other custom/non-WordPress folders)

  3. Upload WPE ZIP to new server

  4. Extract/unzip WPE ZIP file on new server

  5. Create new wp-config.php file with new DB_NAME, DB_USER, DB_PASSWORD, Keys and Salts, and $table_prefix.

    1. Add define( 'WP_POST_REVISIONS', FALSE )
    2. Add define( 'WP_AUTO_UPDATE_CORE', false );
    3. Move any custom items from WPE wp-config file such as license keys, etc
  6. Replace WPE wp-config.php file with new file

  7. Create new MySQL database in new hosting account

  8. Import mysql.sql database file (found in wp-content of WPE ZIP) into new DB (phpMyAdmin)

  9. Do nothing to table prefix (or use iThemes Security or Change Table Prefix plugin to do this)

  10. Delete /mu-plugins/force-strong-passwords/ /mu-plugins/limit-login-attempts/ /mu-plugins/wpengine-common/ /mu-plugins/mu-plugin.php /mu-plugins/slt-force-strong-passwords.php /wp-content/advanced-cache.php /wp-content/object-cache.php /wp-content/mysql.sql

  11. Find and replace wpe_username.wpengine.com with domain.com using searchreplacedb2.php (or importbuddy.php) (http://interconnectit.com/124/search-and-replace-for-wordpress-databases/)

  12. Push all backups to Amazon S3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment