WordPress: Troubleshoot Moving Issues

The bare minimum

You have to change the root path of your website in your database. If you can’t do it in the WordPress backend, change it directly in the database, the strings are located in the wp-options table. Do not neglect the http:// prefix.

Secondly, change root variables in your theme. I handcrafted my theme so I had to change a root variable in several JS and PHP files.