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:
- I created a directory webshopapps.com/blog and installed wordpress here
- In the root .htaccess file I added an excemption to the URI rewrite rules – RewriteRule ^blog/ – [S=6]
- 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.
Tags: blog magento wordpress