Many store owners find it hard to attract customers with a limited amount of information on their site. The growing need to share more knowledge with website visitors is the reason why Magento WordPress integration is so popular.
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. On one hand, Magento will enable you to sell products and manage order and on another WordPress will help you in better promotions and higher Search engine ranking.
Note: Make sure you have FTP access to your hosting server before you start with the process.
Here are the steps to follow for a smooth Magento WordPress integration:
- Install WordPress
- Install Magento WordPress Integration Module
- Copy FishPig Theme
- Configure in WordPress
1. Install 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.
2. 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.
3. 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.
4. 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 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 Magento WordPress integration successfully.
Lastly, go to Appearance > Themes and activate the FishPig Theme that you copied in 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 traffic of 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!