The most common migration.
TWO APPROACHES
A migration plugin, which handles most of it Manual transfer of files and database
USING A PLUGIN
Install it on both sites, export from the old, import to the new.
Works well for most sites. Large sites may exceed limits.
MANUAL TRANSFER
- Download
wp-contentand the root files - Export the database
- Create the database here, import
- Update
wp-config.phpwith the new database details - Upload files
- Test with a hosts file entry before switching DNS
THE WP-CONFIG POINT
Database name, user and password all change.
Remember the cPanel prefix on database names.
THE URL PROBLEM
If the site address changes, URLs stored in the database must be updated.
Use a tool that handles serialised data. A plain find-and-replace corrupts it.
AFTER MIGRATING
Run AutoSSL Set up a real cron job, since HTTP wp-cron is blocked here Check permalinks work Test forms and email