Home > CakePHP, Php programming > Integrate WordPress Blog into CakePHP Application

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.

Advertisements
  1. Tahir
    June 1, 2012 at 12:48 pm

    i am unable to open admin section after using this
    . giving there correct username n pass… but still 😦

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: