Magento Blog Extension
WordPress Integration for Magento eCommerce is a free Magento extension that works with Magento Community and Magento Enterprise. The aim behind the extension has always been to create an easy to install extension (no core file modifications) that mimics the functionality of WordPress while being fully integrated into Magento and the Magento theme.
- Free to use and easy to install/upgrade via Magento Connect.
- Full integration of WordPress into your Magento theme. This means you don't have to skin WordPress to look like Magento and when your customer hits your blog, they don't leave Magento.
- Use popular WordPress plugins like WordPress SEO, Add This, Yarpp, Google XML Sitemaps, NextGEN Gallery, Contact Form 7 and many more.
- Use the default WordPress shortcodes and even some custom shortcodes only available with this extension.
- Associate your blog posts to Magento products, categories and pages and display these associations on your store.
- Automatically login to the WordPress Admin using the extension's 1-click login functionality.
Integrating Magento and a WordPress Blog
Before installing WordPress Integration, it is vital that if you are using the Magento Compiler, you disable this. After the installation is complete, you can go back to the Compiler and re-compile to carry on using this.
The best way to install WordPress Integration is to install it using Magento Connect and your Magento Downloader. You can find the Magento Downloader key for the extension here.
If you do not have access to your Magento Downloader, you can download the extension using the link above. Once you have the .tgz file, extract the files and merge with them with your Magento site using FTP/SFTP. You can ignore the file named package.xml as this isn't required for the extension.
After installation, if you are logged into your Magento Admin you will need to log out and log back in again. It is also recommended that you fully refresh the Magento cache.
If you don't already have WordPress installed, you can find detailed installation instructions here. It is recommended that you install WordPress in a sub-directory of Magento that does not match the sub-directory that you want your blog to be accessible from. For example, if you want your blog to be viewable on http://www.yourmagento.com/blog, do not install WordPress in a sub-directory named blog. For this reason it is recommended that you install WordPress in a sub-directory named wp.
If you have already installed WordPress in the directory that you want WordPress to be accessible from you will need to move the installation. You can find instructions on how to do that here.
Configuring Magento to connect to your WordPress database is quite straight forward and takes only a few minutes. First login to the Magento Admin and select WordPress > Settings from the top navigation and fill out the form inside the Database and Integration sections.
Connecting to the WordPress Database
In the section labelled 'Database', fill out the information for your WordPress database. If you are unsure of any of this information, you can find it in the wp-config.php file, which is in the root of your WordPress installation. You will need to access this file using FTP.
Configuring the Integration
The first setting in this section determines whether or not to integrate WordPress into your Magento theme (aka. full integration). This is the most popular option and will display your blog using your Magento theme.
If you choose integrate themes (most people do), you will see an extra field appear: blog route. In the blog route field, enter the sub-directory that you want your WordPress blog to be visible on. Assuming you want your blog to be visible on http://www.yourmagento.com/blog, you would enter 'blog in this field. What ever you enter in this field (only alphanumeric characters and hyphens allowed) will be appended to your Magento URL and will be used as your blog home page URL.
After setting your blog route you will need to update your Home URL in WordPress. This informs WordPress that you will be displaying the frontend of your blog via another application and that WordPress shouldn't try to display it as well. This is a vital step as without it, your blog would be available in 2 different locations. To do this, login to your WordPress Admin and select Settings > General. Find the field labelled 'Site Address (URL)' and enter your Magento URL and your blog route.
The final field in the Integration section is the Path to WordPress field. In here, enter a relative path to your WordPress installation. If you installed WordPress in a sub-directory of Magento, enter the name of that sub-directory here.
Confirming It's Worked
You should now have an integrated WordPress blog in your Magento eCommerce store. If you do, check out the Magento Extensions available to help enhance your blog.
If things didn't go so well you can always get in touch and we can do our best to help. We also offer a WordPress Integration Setup Service that will ensure the extension is setup correctly and also include free blog optimisation and the installation of multiple supported plugins.
You can see Magento WordPress Integration live in action at any of the following URL's:
If you use this extension and want your site listed here, get in touch!