Back up WordPress
Save the WordPress files and database before the migration. Keep a copy somewhere separate from both hosting accounts.
Move the files and database
Transfer the WordPress files, import the database, and update configuration if the database credentials or site environment have changed.
Test before closing the old account
Check pages, media, forms, login, HTTPS, and redirects. Update DNS only when the new copy is ready, then keep the old account available until the move is fully verified.
Keep researching
Web hosting guide
Read this next if it matches the question you are working through.
Choosing a web host
Read this next if it matches the question you are working through.
HostGator review
Read this next if it matches the question you are working through.
How we approach hosting recommendations
We focus on the website, the hosting plan, and the tradeoffs that matter to the buyer. Hosting products and prices can change, so confirm current commercial details with the provider before purchasing.