I have installed WordPress inside Cakephp’s /app/webroot/blog/ folder and changed the wordpress permalink settings to Month and name (eg. http://abc.com/blog/2013/02/sample-post/).
Now when i am viewing a post i am getting Missing Controller(Error: BlogController could not be found).
I want to change the cakephp routes so that anything with /blog/* will point to webroot blog folder.
Can anybody help me on this?
When we change the permalink settings of WordPress, it generates a
.htaccessfile, if there is required permission else we have to create it.In the above case there was no
.htaccessfile inside/blog/folder. I created it with the following mod_rewrite rules as provided by WordPress while changing permalink settings.After this every thing works fine.