Sunday, July 17, 2011

Integrate WordPress Blog into CakePHP Application


Hello Friends,
I have worked on CakePHP application like Customer Relationship Management (CRM),Content Management Systems(CMS),Online bidding application and many more. After working on CakePHP application, Our company’s head decided to make organization’s website into CakePHP and assigned the project to me. It has not great functionality. Its a simple CMS website. But the concern is to use WordPress Blog along with CakePHP application as it is used for posting some business news.
For integrating blog along with CakePHP application, you can simply install blog in /blog directory inside main CakePHP directory. Now you just need to write couple of .htaccess rules which i had written below. Please find .htaccess file in main CakePHP folder(root).
RedirectMatch temp ^/blog/wp-admin$ http://www.example.com/blog/wp-admin/
RewriteRule blog$ /blog/ [L]
RewriteRule blog/wp-admin$ /blog/wp-admin/ [L]
If you find any problem in this than let me know by comment.

2 comments:

  1. interesting blog. It would be great if you can provide more details about it. Thanks you


    Wordpress Development India

    ReplyDelete
  2. Nice articel, This article help me very well. Thank you. Also please check my article on my site Know All About Htaccess Tutorial. In link article we will learn about Where is my htaccess file.

    ReplyDelete

Any Questions or Suggestions ?

About

Professional & Experienced Freelance Developer From India, Technologist, Software Engineer, internet marketer and Open Sources Developer with experience in Finance, Telecoms and the Media. Contact Me for freelancing projects.

Enter your email address:

Delivered by FeedBurner