On this page
- Before you migrate WordPress
- Option 1: migrate WordPress with a plugin
- Option 2: migrate WordPress manually
- Switching DNS
- Changing domain at the same time
- After you migrate WordPress: checklist
- Common migration problems
- Migrating sites with plugins that store data
- Migrating large WordPress sites
- Frequently asked questions
Short answer: To migrate WordPress, back up the site, copy the files and database to the new host with a migration plugin or manually, update URLs if the domain changes, then point your domain’s DNS to the new server. Finally, test everything, set 301 redirects for a new domain and keep the old host running for a few days.
Moving a website sounds risky, yet a planned move is routine. Whether you are changing host for speed or moving to a new domain, the steps are similar. This guide explains how to migrate WordPress safely, with or without a plugin.

Key takeaways
- Always start with a full backup.
- Migration plugins handle files, database and URLs for you.
- Lower the DNS TTL a day before switching.
- Use 301 redirects when the domain changes.
Before you migrate WordPress
- Take a full backup of files and database.
- Note your current PHP version and plugins.
- Lower the DNS time-to-live (TTL) a day in advance.
- Pause content changes during the move.
- Check the new host supports your PHP version.
Option 1: migrate WordPress with a plugin
Plugins such as Duplicator, All-in-One WP Migration, WPvivid and Migrate Guru package your site and unpack it on the new host. In addition, they usually replace old URLs automatically. Consequently, plugin migrations suit most small and medium sites, especially for non-developers.
- First, install the migration plugin on the old site and create a package.
- Next, install WordPress or the plugin’s installer on the new host.
- Then upload or transfer the package and run the import.
- Finally, log in on the new host and check pages.
Option 2: migrate WordPress manually
- Download all files via SFTP.
- Export the database with phpMyAdmin.
- Upload the files to the new host.
- Create a new database and import the SQL file.
- Update database details in wp-config.php.
- Run a search-and-replace if the domain changed.
Switching DNS
Once the site works on the new host, point your domain there. Usually, this means updating the A record or nameservers at your domain registrar. Because you lowered the TTL earlier, the change spreads quickly. Meanwhile, keep the old hosting active for a few days in case anything was missed.
Changing domain at the same time
A domain change needs extra care for search rankings. Therefore, set up 301 redirects from every old URL to the matching new one. In addition, add the new domain to Google Search Console and use its Change of Address tool. As a result, search engines transfer rankings to the new address.
After you migrate WordPress: checklist
- Test pages, forms, checkout and logins.
- Re-save permalinks to refresh URL rules.
- Check emails send correctly from the new server.
- Confirm HTTPS works everywhere.
- Set up backups on the new host.
- Purge any caches and CDN.
Common migration problems
If you see mixed-content warnings, some URLs still use http, so run another search-and-replace. Similarly, 404 errors on posts usually disappear after re-saving permalinks. Finally, broken images often mean the uploads folder was not fully copied.
Migrating sites with plugins that store data
Some plugins keep their own data, such as shops, forms or certificate registers. Fortunately, a full migration moves their database tables too. However, check that their files and settings work afterwards. For example, CertiQR verification links use your domain, so after a domain change, set redirects so printed QR codes still reach the new site.
Migrating large WordPress sites
Large sites with gigabytes of media can exceed upload limits in migration plugins. Therefore, move the uploads folder separately with SFTP or a server-to-server transfer. Meanwhile, migrate the database and the rest with a plugin. In addition, schedule the switch at a quiet time. As a result, visitors notice nothing at all.
In addition, the WordPress hardening guide is a useful, independent reference if you want to read further.
Frequently asked questions
QHow long does it take to migrate WordPress?
Small sites often take under an hour; DNS changes may take up to a day to spread.
QWill migrating WordPress affect SEO?
A host move should not. A domain change needs 301 redirects to keep rankings.
QCan my new host migrate my site for me?
Many hosts offer free migrations; ask before moving.
QDo I need to reinstall plugins after migrating?
No. A full migration copies plugins and their settings.
Ready to try it?
Running a WordPress site? Add verifiable certificates with CertiQR – try it free for 7 days.


