Skip to content

Instantly share code, notes, and snippets.

@wpsmith
Forked from WebEndevSnippets/gist:87798041fc0c50adbda5
Last active August 29, 2015 14:07

Revisions

  1. wpsmith revised this gist Oct 12, 2014. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -2,6 +2,8 @@

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

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

    1. Upload WPE ZIP to new server

    1. Extract/unzip WPE ZIP file on new server
  2. wpsmith revised this gist Oct 12, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -31,6 +31,6 @@
    /wp-content/object-cache.php
    /wp-content/mysql.sql

    1. Find and replace olddomain.com with newdomain.com using searchreplacedb2.php (or importbuddy.php) (http://interconnectit.com/124/search-and-replace-for-wordpress-databases/)
    1. 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/)

    1. Push all backups to Amazon S3
  3. wpsmith revised this gist Oct 12, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -19,7 +19,7 @@

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

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

    1. Delete
    /mu-plugins/force-strong-passwords/
  4. wpsmith revised this gist Oct 12, 2014. 1 changed file with 14 additions and 14 deletions.
    28 changes: 14 additions & 14 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,27 +1,27 @@
    /** Procedure for Site Transfer from WPE to Other Host */

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

    # Upload WPE ZIP to new server
    1. Upload WPE ZIP to new server

    # Extract/unzip WPE ZIP file on new server
    1. Extract/unzip WPE ZIP file on new server

    # Create new wp-config.php file with new DB_NAME, DB_USER, DB_PASSWORD, Keys and Salts, and $table_prefix.
    (a) Add
    1. 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 )
    (b) Add
    1. Add
    define( 'WP_AUTO_UPDATE_CORE', false );
    (b) Move any custom items from WPE wp-config file such as license keys, etc
    1. Move any custom items from WPE wp-config file such as license keys, etc

    # Replace WPE wp-config.php file with new file
    1. Replace WPE wp-config.php file with new file

    # Create new MySQL database in new hosting account
    1. Create new MySQL database in new hosting account

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

    # Do nothing to table prefix (or use iThemes Security plugin to do this)
    1. Do nothing to table prefix (or use iThemes Security plugin to do this)

    # Delete
    1. Delete
    /mu-plugins/force-strong-passwords/
    /mu-plugins/limit-login-attempts/
    /mu-plugins/wpengine-common/
    @@ -31,6 +31,6 @@
    /wp-content/object-cache.php
    /wp-content/mysql.sql

    # Find and replace olddomain.com with newdomain.com using searchreplacedb2.php (or importbuddy.php) (http://interconnectit.com/124/search-and-replace-for-wordpress-databases/)
    1. Find and replace olddomain.com with newdomain.com using searchreplacedb2.php (or importbuddy.php) (http://interconnectit.com/124/search-and-replace-for-wordpress-databases/)

    # Push all backups to Amazon S3
    1. Push all backups to Amazon S3
  5. wpsmith revised this gist Oct 12, 2014. 2 changed files with 36 additions and 36 deletions.
    36 changes: 36 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    /** Procedure for Site Transfer from WPE to Other Host */

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

    # Upload WPE ZIP to new server

    # Extract/unzip WPE ZIP file on new server

    # Create new wp-config.php file with new DB_NAME, DB_USER, DB_PASSWORD, Keys and Salts, and $table_prefix.
    (a) Add
    define( 'WP_POST_REVISIONS', FALSE )
    (b) Add
    define( 'WP_AUTO_UPDATE_CORE', false );
    (b) Move any custom items from WPE wp-config file such as license keys, etc

    # Replace WPE wp-config.php file with new file

    # Create new MySQL database in new hosting account

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

    # Do nothing to table prefix (or use iThemes Security plugin to do this)

    # 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

    # Find and replace olddomain.com with newdomain.com using searchreplacedb2.php (or importbuddy.php) (http://interconnectit.com/124/search-and-replace-for-wordpress-databases/)

    # Push all backups to Amazon S3
    36 changes: 0 additions & 36 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,36 +0,0 @@
    /** Procedure for Site Transfer from WPE to Other Host */

    (1) Download ZIP from WPE (Backup Points)

    (2) Upload WPE ZIP to new server

    (3) Create new wp-config.php file with new DB_NAME, DB_USER, DB_PASSWORD, Keys and Salts, and $table_prefix.
    (3a) Add
    define( 'WP_POST_REVISIONS', FALSE )
    (3b) Add
    define( 'WP_AUTO_UPDATE_CORE', false );
    (3b) Move any custom items from WPE wp-config file such as license keys, etc

    (4) Create new MySQL database in new hosting account

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

    (6) Change table prefix ('Replace table prefix' in phpMyAdmin) to new $table_prefix

    (6a) Edit the WordPress options table and update prefixes to match new prefix
    SELECT * FROM `newprefix_options` WHERE `option_name` LIKE '%wp_%'

    (6b) Edit the WordPress usermeta table and update prefixes to match new prefix
    SELECT * FROM `newprefix_usermeta` WHERE `meta_key` LIKE '%wp_%'

    (7) Extract/unzip WPE ZIP file on new server

    (8) Replace WPE wp-config.php file with new file

    (9) Delete
    /mu-plugins directory
    /wp-content/advanced-cache.php
    /wp-content/object-cache.php
    /wp-content/mysql.sql

    (10) Find and replace olddomain.com with newdomain.com using searchreplacedb2.php (http://interconnectit.com/124/search-and-replace-for-wordpress-databases/)
  6. @WebEndevSnippets WebEndevSnippets revised this gist Oct 12, 2014. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -23,12 +23,14 @@
    (6b) Edit the WordPress usermeta table and update prefixes to match new prefix
    SELECT * FROM `newprefix_usermeta` WHERE `meta_key` LIKE '%wp_%'

    (7) Extract WPE ZIP file on new server
    (7) Extract/unzip WPE ZIP file on new server

    (8) Replace WPE wp-config.php file with new file

    (9) Delete
    /mu-plugins directory
    /wp-content/advanced-cache.php
    /wp-content/object-cache.php
    /wp-content/mysql.sql
    /wp-content/mysql.sql

    (10) Find and replace olddomain.com with newdomain.com using searchreplacedb2.php (http://interconnectit.com/124/search-and-replace-for-wordpress-databases/)
  7. @WebEndevSnippets WebEndevSnippets created this gist Oct 11, 2014.
    34 changes: 34 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,34 @@
    /** Procedure for Site Transfer from WPE to Other Host */

    (1) Download ZIP from WPE (Backup Points)

    (2) Upload WPE ZIP to new server

    (3) Create new wp-config.php file with new DB_NAME, DB_USER, DB_PASSWORD, Keys and Salts, and $table_prefix.
    (3a) Add
    define( 'WP_POST_REVISIONS', FALSE )
    (3b) Add
    define( 'WP_AUTO_UPDATE_CORE', false );
    (3b) Move any custom items from WPE wp-config file such as license keys, etc

    (4) Create new MySQL database in new hosting account

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

    (6) Change table prefix ('Replace table prefix' in phpMyAdmin) to new $table_prefix

    (6a) Edit the WordPress options table and update prefixes to match new prefix
    SELECT * FROM `newprefix_options` WHERE `option_name` LIKE '%wp_%'

    (6b) Edit the WordPress usermeta table and update prefixes to match new prefix
    SELECT * FROM `newprefix_usermeta` WHERE `meta_key` LIKE '%wp_%'

    (7) Extract WPE ZIP file on new server

    (8) Replace WPE wp-config.php file with new file

    (9) Delete
    /mu-plugins directory
    /wp-content/advanced-cache.php
    /wp-content/object-cache.php
    /wp-content/mysql.sql