Magento WordPress Integration

Installing the Magento 2 WordPress Integration Extension

If you haven’t already, you need to install WordPress. If you need help with this, check out the installing WordPress for Magento 2 integration tutorial. Really pay attention to the details in that tutorial as it will make installing the extension much easier if you do.

Okay, let’s install the Magento 2 extension. You can download Magento 2 WordPress Integration from here. Extract the ZIP file and you should have a folder named ‘magento2-wordpress-integration-master’. This contains the entire module. Rename this folder to ‘WordPress’ and upload it to your Magento site at app/code/FishPig/WordPress. The app folder should exist but you may have to create the ‘FishPig’ folder.

Now you need to enable the module. To do this, you can either do this from the backend of Magento or via the terminal using the following command:

php bin/magento module:enable FishPig_WordPress

To finish the installation, flush all of the Magento caches.

Finishing the Integration

Log out and back in to the Magento Admin and select the WordPress link on the left. If you followed the installing WordPress tutorial correctly, you should see a success message that contains a link to your integrated blog. If you don’t see this you should see an error message that includes the solution. Try and fix the error as the message recommends. If you have trouble, try reading the installing WordPress for Magento 2 extension again.

Upgrading WordPress Integration in Magento 2

If you already have the module installed and want to update, the process is very similar to the installation. Delete the app/code/FishPig/WordPress directory, download the latest version of the extension and then upload the files in the same way as the installation.

After upload, clear all of the caches and run the following command:

php bin/magento setup:upgrade