{"id":3629,"date":"2021-07-21T15:15:54","date_gmt":"2021-07-21T13:15:54","guid":{"rendered":"https:\/\/www.knowboard.de\/?p=3629"},"modified":"2021-08-01T18:37:20","modified_gmt":"2021-08-01T16:37:20","slug":"migration-made-easy-how-to-copy-a-wordpress-website-to-a-new-server-but-continue-using-the-same-url","status":"publish","type":"post","link":"https:\/\/www.knowboard.de\/migration-made-easy-how-to-copy-a-wordpress-website-to-a-new-server-but-continue-using-the-same-url\/","title":{"rendered":"Migration made easy: How to copy a WordPress website to a new server but continue using the same URL"},"content":{"rendered":"\n
Basically WordPress migration it is not that easy as stated in the official WordPress guide. Why? Simply because just copying the website with bigger sites is just far more complicated and time-consuming than using a migration tool like WPvivid migrate.<\/p>\n\n\n\n
But using this tool requires a fresh installation of WordPress which furthermore requires a working domain, which you would not have with the official method until the DNS points to the new server location.<\/p>\n\n\n\n
Yes, you can simply copy a website, download everything via FTP or zip and download the whole package via ssh to the new location. But you have no chance to test everything on the new server prior to making the switch, and this as stated before is time-consuming and doesn\u2019t feel smooth.<\/p>\n\n\n\n
Pros<\/p>\n\n\n\n
Cons<\/p>\n\n\n\n
You have your source site to be migrated and a new, fresh and empty installation on the target server with an interim-domain. You install WPvivid on both instances and click on \u201eauto migration\u201c. On the target site you create a key which you insert in the source site. On the source site you then start the transfer. <\/p>\n\n\n\n
Lean back and wait. Given that your server has enough resources after a couple of minutes, of course depending on the size ion the site, you can refresh the \u201erestore\u201c page on the destination site and the received backup is ready to be restored.<\/p>\n\n\n\n
Fortunately, WPvivid takes care of all the database and path changes necessary to make the restore work with the interim domain. After a couple of minutes after the restore, you can simply log in and test the site on the new server with the interimsdomain.<\/p>\n\n\n\n
When everything is fine, you need to make the switch: On the interimssite, change the URL in the settings from the interimsdomain to the final domain! Beware: you won\u2019t be able to log in the interims site any more afterwards until the DNS changes in the next step have properly propagated.<\/p>\n\n\n\n
Furthermore I would recommend to make additional changes to the database to make sure all URLS have changed. You can use the following tool to generate the according statements. Or use a plugin like Blue Velvet „Moving WordPress“ instead.<\/p>\n\n\n\n