A WordPress Blog under Magento

Posted by: Karen Tuesday, February 23rd, 2010

On the webshopapps.com site I wanted to run a wordpress blog in the /blog directory.  I didn’t want to integrate the blog into Magento, preferring to keep the 2 applications separate, so this ruled out the blog extension on Magento Connect.

My approach was fairly simple. Here is how I achieved it:

  1. I created a directory webshopapps.com/blog and installed wordpress here
  2. In the root .htaccess file I added an excemption to the URI rewrite rules – RewriteRule ^blog/ – [S=6]
  3. I added in a new .htaccess file under the /blog directory (the contents of which was obtained from Settings->Permalinks in WordPress admin panel)

See here for more information on URI rewrites.


Comments are closed.