Integrating wordpress with cakephp Integrating wordpress with cakephp wordpress wordpress

Integrating wordpress with cakephp


You will save yourself a lot of hassle (especially when it comes to future upgrades) if you can modify your design to have 2 separate domains, and a framework in each. By doing it this way, the most complicated bit will be to implement some kind of SSO between the two...but it should be easier than trying to merge 2 frameworks (that operate completely differently).


If you want to manage multi domain login then you could only do that with Single Sign On method. You could also use CAS Server for managing that functionality as well as Auth.

I am just give you small information related to CAS.

In which, you must have to install CAS server. And there is PHP client available.

After successfully installation of CAS server, you must have to setup your cas server application as home page of your whole application.

So if you come first at your application, it will directly check the session on your cas server. If you are not logged in then it will ask login form and your php client will manage login session for your application.

After successfully login, you could get the details of user id and based on that, you could compare your cakephp application database and wordpress database.

If the id is found then you just have to login otherwise it will redirect to CAS server.