You’ll hear about Magento WordPress integration in this guide.
For this function, we are using the integration plugin FishPig WordPress Magento.
In short, All Magento 1.x and Magento 2.x are sold as modules.
Firstly, One of the biggest e-commerce sites, Magento.
Magento eCommerce platform is unquestionable.
But you need a lot of online traffic to make sure that your Magento store is fine.
You can take traffic to your store in many ways but nothing works better than a blog.
Then, of course, everybody knows the best site for a blog: WordPress.
You can not only get readers through a forum, but also share new articles, ads, and also write in-depth on your product or service.
It will increase the popularity of your brand.
If you think it’s possible, is WordPress integrated into Magento? The answer is: yes, it can!
Therefore, for both Magento versions, the method will be shown.
We’re going to begin!
1- Install WordPress
2- Download the Magento WordPress Integration Module
3- Also, Download the Magento 2 WordPress Integration Module
4- Configuration in WP
1- Install WordPress
In short, Go to the official WordPress and then download the latest version.
In your Magento 2 root directory, add the zip archive.
Extract the folder from the directory and you will get a WordPress folder.
The WordPress folder should be renamed as wp.
Open the web browser and enter the URL for your Magento store at the end of your URL.
The window will open for a WordPress installation. Tap Let’s go!
Upload the details on the database.
Type current information of your Magento account and click on Enter.
Information about Magento 1.x, Go to app / etc / local.xml.
Information about Magento 2.x, Go to the online root directory app / etc / env.php.
If the following error occurs (see picture below),
Only set up your wp directory to a wp-config.php file.
cut the code on the screen and also paste it back into a file with the wp-config.php.
Select Run the Download button now.
Note: Also you can build and add details to a new WordPress database.
You must now be on the Welcome tab.
Enter details of your WordPress and also click on WordPress Installation:
Install and extract the archived folder of the FishPig
2- Magento WordPress Integration module
In short, Add uninstalled (unzipped) directories and files to the Magento 1.x root directory.
Click on the WordPress choice from the top of the panel on the Admin panel of your shop.
The following options are available.
Two options must be configured: Server and Integration.
Unfold first the segment Database:
Then, the segment on unfold integration:
Now click on the button Save Config.
Note: Yellow and red warning messages are shown, but don’t worry that after the next steps, they will be resolved.
3- Download the 2 WordPress integration modules of Magento
In short, Go to the program folder in your store’s root directory and build directories: code/FishPig.
Install and uninstall the archived folder from the FishPig Magento WordPress integration module.
The magento2-WordPress-integration master folder is given, to WordPress rename it.
In your Magento Store at app/code / FishPig, please upload the WordPress tab.
Run the commands in your store’s root directory now:
In short, Click on the WORDPRESS choice from the left side panel on your shop’s Administrative Panel.
Enable it and wp route as shown: Activate it!
Click on the button Save Config.
Note: You will see some alert messages, but after the next steps they will fix them automatically.
Copy the subject of FishPig
Copy the wp theme folder from your store root directory from the app/code / FishPig / WordPress.
Now return to your root directory and attach a wp theme to the wp / wp-content / themes tab. As a fishpig, also rename the wp theme tab.
4- Configuration in wp
In short, Login to your WordPress Admin panel and then go to the general settings.
Switch the Site Address from the http:/example.com/wp to the http:/exemplar.com/blog.
Tap Save Changes now.
Finally, the steps are now complete.***