I would like to create a blog using Wordpress and I'd like to have it as a subfolder in Magento domain. Can you let me know how to do it?
You will need to use the Fishpig extension for installation of wordpress. This link to the extension is below:- https://fishpig.co.uk/magento-2/wordpress-integration/
This is the link on how can you installation steps:- https://fishpig.co.uk/magento-2/wordpress-integration/installing-wordpress/
You can enable/disable the extension using following commands:-
php bin/magento module:enable FishPig_WordPress php bin/magento module:disable FishPig_WordPress
After the installation and clearing cache you will need to run the following command:-
php bin/magento setup:upgrade
The same steps can be seen on the following link as well:-
If you want to know more about the commands for Magento2, you can hit the below command in the CLI:-
P.S :-WordPress Database You can install WordPress in the same database as Magento or in a completely separate database. The extension supports both options.
You can use this extension to get this work.
Download the latest version of Wordpress and upload the zip folder in your Magento 2 root directory.
Now extract the archive folder and you will get a folder named wordpress.
Then rename the wordpress folder as wp.
Then install the WordPress by open your store with adding /wp at the of URL like example.com/wp
Then you have to Download and Install FishPig Magento WordPress Integration module