Both Magento and WordPress are leading platforms in their respective niche. And we know, managing an eCommerce store and a WordPress blog isn’t an easy task. But Magento WordPress integration is the best thing you can do for your website.
Note: Make sure you have FTP access to your hosting server before you start with the process.
Magento WordPress Integration
Benefit of Magento WordPress integration is Magento will enable you to sell products and manage order. On another side WordPress will help you in better promotions and higher Search engine ranking.
Steps to follow for a smooth integration of Magento and WordPress:
- Install WordPress
- Install Magento WordPress Integration Module
- Copy FishPig Theme
- Configure in WordPress
Go to WordPress.org and download the latest version of WordPress. 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.yourwebsite.com/wp/. You will be redirected to the WordPress installation page. This is how it will look like:
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.
Let’s start with Magento integration with WordPress.
Install Magento WordPress Integration Module
We will be using the FishPig Magento WordPress Integration module 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_WordPress php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento cache:clean php 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.
Note: You might see a certain error message. Don’t worry, they will go once you complete the next step.
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 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.
We hope this Magento WordPress integration tutorial was helpful. Follow the above steps carefully and you won’t face any errors.
If you need further assistance, you can contact our experts anytime!
Can you use Magento with WordPress?
Yes, you can use Magento with WordPress. Both are seperate platform but it is possible to integrate them.
Magento WordPress is a free extension for Magento makes it possibel to use Magento theme for the WordPress blog.
What is WordPress and Magento?
WordPress is a popular open-source CMS. A majority of the site on the Internet are powered by WordPress.
The purpose of Magento is to make the eCommerce store. Its entire mission is to help users create an impressive eCommerce store.