Why should I provide my FTP credentials when migrating to WooCommerce?

To initiate the store data importing to WooCommerce, a Cart2Cart plugin needs to be installed. In case, the plugin cannot be installed in an automated manner (due to technical reasons), you may be asked for FTP credentials to connect the two stores. Below is a step-by-step instruction for you to go through:

  • Go to the wp-config.php file of your WordPress installation folder -> copy below code and paste it at the end of the wp-config.php file: define('FS_METHOD','direct');
  • Once done, open your droplet access console and enter root as username and its password.

Copy below command and paste it into the access console where you have to specify your plugin directory path. When ready hit enter chmod 777 /yourwebsitename/public/wp-content/plugins/