How to connect WordPress blog to Magento 2 store.
Magento WordPress integration is the best way to do Blog Marketing for the eCommerce Store.
And let’s be honest here, Product Pages are tough to rank. That’s why eCommerce owner use blog marketing to bring traffic.
Both Magento and WordPress are top leading platforms in their respective niche. And we know, managing an eCommerce store and a WordPress blog isn’t an easy task. But Magento and WordPress integration is the best thing you can do for your website by using Fishpig Magento WordPress Extension
We are going to make this integration in 4 steps that are below:
- Install WordPress
- Install Magento WordPress Integration Extension
- Copy FishPig Theme
- Configure in WordPress
As we know that WordPress is the best platform for the blogging so we first install the WordPress setup.
The files will be downloaded in a zip folder, upload these files to your server in your Magento store root. Rename the folder called WordPress to wp.
Now open your web browser and type the name of your Magento store and add /wp/ at the end.
Like this: https://www.yoursite.com/wp/. You will be redirected to the WordPress installation page.
It will be look like this.
read and Follow the instructions on the screen.
You will be asked to enter your database information. You can create a new database or enter your existing Magento database details.
There is no harm in using your existing database since WordPress uses wp_ as table prefix, it is separated from Magento tables.
Once this installation process is complete, you will have a WordPress blog on your Magento server. Although, it is not integrated with Magento yet.
Now Let’s start with Magento integration with WordPress.
Its time to Install Magento WordPress Integration Module
We will be using the FishPig Magento WordPress Extension as it is completely free and easy to install.
Download the FishPig module and extract the archived folder. Upload the file to your Magento 2 store by using app/code/FishPig.
Then go to your root directory and run the following commands:php bin/magento module:enable FishPig_WordPressphp bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento cache:cleanphp bin/magento cache:flush
Now, login to your Magento admin panel. Click on WordPress from the panel on the left. It should be enabled and the path should be wp.
Copy FishPig Theme
In the app/code/FishPig/WordPress folder from the root directory copy the wptheme folder.
Go back to your root directory and paste this in wp folder in wp/wp-content/themes. Also, rename this folder to FishPig.
Configure in WordPress
For the last step, you will have to enter the admin panel of your WordPress account.
Go to Settings > General.
You will see the WordPress address and Site address, which are usually the same i.e https://yoursite.com/wp.
Change the Site Address from https://yoursite.com/wp to https://yoursite.com/blog.
And click on save changes.
You have complete integration successfully.
Lastly, go to Appearance > Themes and activate the FishPig Theme that you copied in the 3rd Step.
Now you can view your website blog frontend by adding /blog at the end of your Magento website URL.
Running a blog on eCommerce site will help you increase the organic traffic to wards your website. You will be able to rank on keywords that you weren’t able to include in your product description. This is why e-commerce store owner want to integrate WordPress blog in their e-commerce store.
Running a blog with an eCommerce site will help you increase the traffic to your website. You will be able to rank on keywords that you weren’t able to include in your product description.
Leave A Comment