WordPress is particularly good at content management, and is used as an alternative option to Magento's CMS. Consequently, the two systems need integrating together somehow.
As a Magento Developer in Sussex and having worked with local digital agencies, many clients were fond of using previous knowledge of WordPress together with the powerful ecommerce platform of WordPress.
Fortunately, there are some great developers in the programming community. One of whom has created the FishPig Magento WordPress Integration extension.
Now I'll run through the steps required to integrate the two systems together.
Assuming you have a working Magento instance already, download the latest version of WordPress
and place the file contents within a
wp subdirectory in the Magento root.
You are then be able to access the WordPress installation page from the
of your Magento store.
Run through the installation process. Note that you can use the existing Magento database or a separate one when WordPress asks for database connection details.
Configure the Site Address URL
You might not want
/wp as the URL that shows up for WordPress, and this can be changed
from within the WordPress admin. Many merchants like to use
as the URL to manage their CMS content.
Settings -> General and change the
Site Address (URL) option
to the URL of your choice.
Install the FishPig extension
Within your Magento 1 instance, you'll need to copy across the file and folder contents within the downloaded extension directory into your Magento root directory.
You can check if the extension has been installed correctly by ensuring that the following files and directories exist within your Magento instace:
Clear the Magento cache and a
FishPig configuration section will appear within
System -> Configuration.
Don't forget to fill out the configuration options out correctly.
Final configuration tweaks in WordPress
Log back into the Magento admin, and a few things should be configured correctly.
First of all, there is a
FishPig theme that needs to be
activated for the integration to work. In WordPress, this is located under
Appearance -> Themes.
Secondly, it's a good idea to enable
Post Name permalinks for SEO friendly post URLs.
This can be enabled within
Settings -> Permalinks.
Finally, security is key. WordPress, being used by millions of websites, is often a popular target of web attacks. Ensure that you undertake the recommended security practices in order to keep both WordPress and Magento sites safe.
In conclusion, the steps provided to integrate WordPress with Magento 2 are fairly straightforward. From a freelance Magento developer point of view, there shouldn't be too many problems faced when implementing this integration.
If you do have any troubleshooting issues, contacting the extension author is where you're most likely to get a solution. However, if you need any help from me regarding the integration or further Magento help, feel free to use the contact form on the website to get in touch.
I've written the steps required for Magento 2 as well. Click on this link to view the post on how to integrate WordPress with Magento 2.