To migrate your website to wordpress you will need to follow the bellow instructions. For them to work you will need to have all the settings saved at the web UI of FG website to wordpress Plugin first.

To run wp-cli without root to migrate website to wordpress, connect to your server via ssh or run the web terminal from your web hosting panel (cpanel, plesk etc)

When in terminal go to the root directory of your wordpress installation, where wp-config.php file is.

A) Preparation:

1) Grab the latest WP-CLI phar and make it executable

mkdir wp
cd wp
wget -q https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -O wp
chmod 755 wp

2) find the current working directory

pwd

3) find servers php version

find / -name "php" -print 2>/dev/null |grep bin

B) Run the migration

Go to the root directory of your wordpress installation, where wp-config.php file is, and using the data from above run the migration

/fullpathtophp/php /fullpathto/wp/wp import-XXX import

Please change the import-xxx command with your plugin.

LinkedIn
Share
RSS