[ad_1]
my hosting with company A, which uses cpanel, ended. I need to migrate my woocommerce site to company B which uses direct admin. how do i do that?
[ad_2]Copyright © 2020 - 2022, Project DMC - WordPress Tutorials for Beginners- All Rights Reserved. Privacy Policy
Just use a plugin to pack up the site and database such as Duplicator or Duplicator Pro (if it’s large). Then upload the two files it gives you to the direct admin account and run the installer file. It will help you extract the site and link it to the new database. There are many tools like this that would also work, but this is my preferred due to the ease of use.
Control panels don’t matter if you move the site, you just need storage and a database to make WordPress work.
If you’re asking this question, I’d pay someone who knows what they’re doing to do the migration.
But essentially you’d want to download all the contents of your cPanel account just in case. Download the public_html folder, and export the MySQL database via phpmyadmin or the command line.
Then upload the public_html contents you exported to your new host in the same directory. Create a new MySQL database, then upload your exported database to it using phpmyadmin or the command line.
From there you will have to connect the new database you created from your new host in the wp-config.php file, and because your new host will likely have a different directory structure, you have have to update a few lines in some of your config files.