Moving a WordPress site is not difficult, but small mistakes cause downtime, broken pages or lost email. Follow this order and the switch is almost invisible to visitors.
1. Take a full backup first
Back up all files and the database, and store a copy away from the old server. If anything goes wrong, you can always return to this point.
2. Lower the DNS TTL in advance
A day before the move, reduce the TTL of your DNS records to 300 seconds. Changes will then spread within minutes instead of hours.
3. Prepare the new hosting account
Check that the new server has a compatible PHP version, the required PHP extensions and enough disk space. Create an empty database and user.
4. Copy the files and the database
Upload the site files, import the database, and update the database details in wp-config.php. If the domain does not change, you do not need to change URLs inside the database.
5. Test before you switch
Use your computer’s hosts file to open the new copy under your real domain while visitors still see the old site. Check the home page, forms, login, checkout and images.
6. Freeze changes, then do a final sync
For shops and blogs with comments, pause orders and edits for a short time, then copy the newest database and uploads so nothing is lost.
7. Switch DNS
Point the A record to the new server. Keep the old hosting active for a few days, because some visitors may still reach it.
8. Handle email and SSL
If your email is hosted with the old provider, recreate the mailboxes and MX records first. Install a new SSL certificate on the new server, and check that the site loads over HTTPS without mixed-content warnings.
9. Check after the move
Test forms, redirects, the sitemap and search engine access, and watch uptime for the first days.
If you would rather not risk it, our website migration service moves your site between servers, tests it before the switch and keeps downtime to a minimum.
Leave a Reply