Domain in internal URLs changed to IP during migration process.
-
We have migrated our website to another server and somewhere during this process the domain name in the internal URLs in our content was replaced with the servers IP address.
I compared the Database Dump files from backups before and after the migration and indeed the thousands of URLs have changed in the database.
Now I’m trying to figure out how this could have happened. Hoping to prevent it from happening again in the future.
We moved the site – creating a copy from a backup – to another server, made some changes and updated the DNS settings some time later. Could it be the change in content happened during the period the site was only accessible via its IP address?
I found some references to Yoast SEO. Not sure if it’s relevant in this case.
Can anyone shine some light on this?
Additional: The fix I found is find and replace every instance of the IP with the domain. We have tested it on our dev site and seem to work nicely. https://www.youtube.com/watch?v=5PaiKGUkfRI
Any reason why we should not fix it this way. If so, is there an alternative?
Thanks!
- The topic ‘Domain in internal URLs changed to IP during migration process.’ is closed to new replies.