Moving a WordPress site from one domain to another is fairly easy. You copy the files and then the database from the old site to the new site. Once done, you have to go through the database and replace all references to the old domain to the new domain. So, for example, “www.oldwebsite.com” becomes “www.newwebsite.com”. You can do this either by making the changes in the MySQL dump file before uploading to the new database. Or, you can use a find and replace within MySQL across the database.
In doing this, however, you discover your WordPress site isn’t working or doesn’t look the same. You may wonder what happened and have to spend hours fixing the problems.