To migrate a WordPress multisite to a different domain or hosting, you can use the following tools:
1. Manual migration:
- Backup files and database:
- Download all your site files via FTP.
- Export the database using phpMyAdmin.
- Database changes:
- Update all domain links in the database using an SQL query (e.g.,
UPDATE wp_site SET domain = 'newdomain.com'
).
- Update all domain links in the database using an SQL query (e.g.,
- Transfer files:
- Upload the files to the new hosting.
- Update configuration:
- Modify the
wp-config.php
file to reflect the new domain and database settings.
- Modify the
2. Migration plugins:
- All-in-One WP Migration: This plugin allows you to transfer the entire site, including files, plugins, themes, and the database. It’s convenient for multisites, but the Pro version may be required for multisite migration.
- Duplicator: This plugin duplicates the entire site and allows you to move it to a new server. It works for multisites and lets you transfer all data and files.
- UpdraftPlus: This plugin creates backups and allows site restoration on a new server. The premium version is required for multisites.
- WP Migrate DB Pro: Very useful for migrating just the database. It can be used with other tools for a full migration.
3. Hosting control panels:
- cPanel: Many hosting control panels (like cPanel) offer built-in tools for creating backups and restoring sites. You can create backups using the
Backup Wizard
and then restore them on the new hosting. - Plesk: Similar to cPanel, Plesk provides tools for creating backups and restoring them.
4. Command line tools:
- Using command-line tools like
rsync
for copying files andmysqldump
for exporting databases can be useful if you prefer working directly with the server.
5. Consult hosting providers:
- Some hosting providers offer special tools for migrating WordPress sites, which can speed up the migration process.