Integrating WordPress with Magento 2

If you’re struggling with the functionality of the Magento 2 CMS, or simply prefer WordPress as a platform for managing your pages and content, then you’re in the right place. 

WordPress is the CMS of choice for many, and for good reason.

WordPress provides a clean, user-friendly alternative to what can often be an overwhelming Magento 2 platform. Whilst each CMS has its positives, there’s certainly less of a learning curve for beginners when it comes to using and navigating around the back-end of WordPress.

How can I integrate WordPress with Magento 2?

Follow our points below and in no time, WordPress will have inherited and integrated with your Magento 2 theme, and will be fully set up to handle your front-end operations.

WordPress
  • Firstly, download WordPress and upload the files into a folder named `wp` in your Magento 2 root directory.
  • Next go to your Magento 2 URL /wp in your browser and follow the WordPress installation steps. (You are able to use your Magento 2 database for WordPress or you can use an alternative database.)
  • After this, we download the extension ZIP for FishPig_WordPress from https://fishpig.co.uk/magento/wordpress-integration/ and create a folder in app/Code/FishPig/Wordpress and upload the files from the ZIP to here.
  • Then we can enable the extension by running the commands (from inside your shell):

php bin/magento module:enable FishPig_WordPress
php bin/magento setup:upgrade

  • Once those commands have been ran, we can log in to the Magento 2 admin and select WordPress from the menu on the left hand side.
  • From here we are able to configure the extension, enter the path in the config option to your WordPress integration. This can either be an absolute or relative path.
  • The extension will then be able to figure everything else from there, including WordPress URLs and database details.
  • Next, login to your WordPress admin and select settings, general. There should be two URLs, first URL will be the path to your WordPress and installation and the second will be your integrated URL. This is the URL that you want your blog front-end to be visible on.
  • Then you can edit your permalink structure in settings, permalinks. Here you can create a custom permalink structure.
  • Finally, in Appearances, Themes, you can enable the FishPig theme.

And there you have it. Feel free to contact us with any questions or queries related to integrating WordPress with the Magento 2 platform!

Are you trying to integrate WordPress with your Magento (Adobe Commerce) store?

Contact us on 0161 820 7628 or email us today

Related Articles

Crafting a Weekly Meal Plan with AI – AI Corner

Crafting a Weekly Meal Plan with AI – AI Corner

Ashley demonstrates how AI can be used to generate weekly meal plans based on a daily calorie intake target.Welcome to the 7th addition of 'Ashley's AI Corner' Hello again, and welcome to the seventh edition of Ashley’s AI Corner. Each month, I’ll offer you a glimpse...

read more
Creating a Workout Plan with Artificial Intelligence

Creating a Workout Plan with Artificial Intelligence

This month Ashley explains how AI can be used to create tailored workout plansWelcome to the 6th addition of 'Ashley's AI Corner' Each month, I’ll offer you a glimpse into the weird and wonderful experiments I’ve been conducting with Microsoft’s Generative AI,...

read more
How to Use AI (Artificial Intelligence) for Coding

How to Use AI (Artificial Intelligence) for Coding

Max Hammond, senior frontend developer at PushON is the guest writer this month and the spotlight is on how AI can be used in coding.Welcome to the 5th addition of 'Ashley's AI Corner'. Hello world! I’m Max, Senior Frontend Developer at PushON, here for a special...

read more