Level Up

A collection of resources for WordPress Developers, written and curated by experts

Level Up

WP-CLI Command – Push/Pull Subcommands

wp migratedb <push|pull> <url> <secret-key> [–find=<strings>] [–replace=<strings>] [–regex-find=<strings>] [–regex-replace=<strings>] [–case-sensitive-find=<strings>] [–case-sensitive-replace=<strings>] [–include-tables=<tables>] [–exclude-database] [–exclude-post-types=<post-types>] [–skip-replace-guids] [–exclude-spam] [–preserve-active-plugins] [–include-transients] [–backup=<prefix|selected|table_one,table_two,table_etc>] [–media=<all|since-date>] [–media-date=<yyyy-mm-dd>] [–media-subsites=<blog-id|subsite-url>] [–subsite=<blog-id|subsite-url>] [–subsite-source=<blog-id|subsite-url>] [–subsite-destination=<blog-id|subsite-url>] [–theme-files=<all|theme-one,theme-two,theme-etc>] [–plugin-files=<all|plugin-one,plugin-two,plugin-etc>] [–exclude-theme-plugin-files=<string>] Allows you…

Brad

Jan 31, 2015

Level Up

WP-CLI Command – Setting subcommand

The setting CLI subcommand provides an interface to get and update several WP Migrate DB Pro settings from the CLI. wp migratedb setting <action> <setting_name> <value> Options <action> Can either…

Peter Tasker

Oct 13, 2016

Level Up

A response was expected from the remote…

A response was expected from the remote, instead we got nothing. (#146 – scope: transfer_chunk) Several things could be causing this, so let’s try to figure it out (in order):…

Ian

May 10, 2015

Level Up

WP_HTTP_BLOCK_EXTERNAL

Setting the WP_HTTP_BLOCK_EXTERNAL constant to true in your wp-config.php file will stop all outgoing network requests from your site. This is typically set on sites that are sitting behind a…

Iain

Apr 24, 2015

Level Up

Mixed Case Table Names

Mixed case tables names (e.g. wp_Custom_Table) are potentially problematic in certain environments where the MySQL setting lower_case_table_name is set to 1. See MySQL’s lower_case_table_name documentation for a full explanation of…

Chris

Oct 1, 2014

Level Up

Changing The Current Site’s URLs

As of WP Migrate DB Pro 1.7, in-place find and replace functionality is included as part of the plugin. This can be used to update a site’s URL rather than…

Brad

Aug 11, 2014

Level Up

Extracting a Subsite From Multisite to Create a New Single Site Install

NOTE: The following is a very manual process, we have since released Multisite Tools 1.1 with both Export Subsite as Single Site Install and Push Subsite to Single Site Install…

Chris

Aug 13, 2014

Level Up

Push or Pull?

Attempting a migration from a remote server to a local server will never be possible. Instead, initiate a pull from your local environment (sucking the data down from your remote…

Brad

Aug 11, 2014

Level Up

How It Works Exactly

Overview Before WP Migrate DB Pro was around, the standard way to migrate your WordPress database from one site to another was to open up phpMyAdmin and make a MySQL…

Jeff

Jul 9, 2015

Level Up

Find & Replace Fields

The Find & Replace fields are available during any push or pull migration, or when running the Find & Replace tool. During a migration, you are presented with two standard…

Brad

Aug 11, 2014