Migrate a Multisite network or a site with a custom prefix
Move a WordPress Multisite network, or a site whose tables do not start with wp_, to WP Waterfall. We keep your prefix, move every subsite, and check each one.
WP Waterfall moves a network the same way it moves any other site (see Migrate a site to WP Waterfall). A custom table prefix and a Multisite network no longer need a person to start the work. This article covers what is different.
A custom table prefix
Your database tables start with the prefix in wp-config.php. Most sites use wp_. Yours may use abc_, Wp_, or site7_.
- WP Waterfall reads the prefix from the table names in your database export, anywhere in the file. It also reads
$table_prefixfromwp-config.phpif you included it. - The import keeps your prefix. It does not rename your tables to
wp_. The new site'swp-config.phpis written to match, and the Table prefix row on the Info tab shows it. - The roles and the user rights stay as they are, because they are stored under your prefix.
- The check shows a line such as Table prefix abc_.
Tables from plugins that use their own names are fine. A person looks at the migration when the export holds core tables of more than one install (for example wp_options and shop_options together), because WP Waterfall cannot know which one you want. Export only the database of the site you are moving.
A Multisite network
Give WP Waterfall the backup of the whole network: the files and one database export that holds every site. The check shows a line such as Multisite with 3 sites (subdirectory).
| Network | What happens |
|---|---|
Subdirectory (example.com/es/) |
Every site moves under the new staging address and keeps its path. example.com/es/ becomes staging-your-site.wpwaterfall.dev/es/. |
Subdomain (es.example.com) |
Every site gets its own temporary address, one name under wpwaterfall.dev, such as es-staging-your-site.wpwaterfall.dev. |
| Sites on their own domains | Each of those sites also gets a staging address. Its own domain does not serve anything on staging. |
WP Waterfall reads the old address of every site from the blogs table of your export. If you use the WP MU Domain Mapping plugin, WP Waterfall reads its table too. The address of the main site is optional: leave it out and WP Waterfall reads it from the home and siteurl settings of the main site, or from the site table of your export.
A person at WP Waterfall looks at the result before the import is accepted when the network is a subdomain network or when a site runs on its own domain. A network with more than 50 subsites besides the main site goes to a person from the start.
After the import WP Waterfall:
- Writes the network settings in
wp-config.phpfor the new address. - Rewrites the address of every site, in the
blogsandsitetables, in the options of every site, and in your content, including values WordPress stores in a serialized form. - Clears caches and refreshes the rewrite rules.
- Opens the home page of every site and checks that it answers.
The migration shows the result for each site, so you can see which ones loaded.
Databases from MySQL
An export from MySQL 8 may name collations that MariaDB, the database on WP Waterfall, does not know, such as utf8mb4_0900_ai_ci. WP Waterfall converts them while it imports (to utf8mb4_unicode_520_ci). It also removes DEFINER clauses and settings that MariaDB refuses. Your content is not changed.
Custom domains
Staging never serves your live domains. After you launch, add the domain of each site in Domains and choose the site it belongs to. See WordPress Multisite.
Limits
- WP Waterfall does not turn a single site into a network, or the other way around.
- WP Waterfall does not rename your prefix to another one during a migration.
Related
Still stuck?
Email support at wpwaterfall dot com with your site name and what you tried, or send us a message.