Re: Wordpress and CakePHP - cake taking controll of URLS
Another method is to place the blog directory in the root directory
(with, app, cake, etc) then modify the .htaccess file. A good example
is here:
On Jun 20, 10:26 am, chris <chris....@internetlogistics.com> wrote:
> I realise that this appears to have been covered a few times, but I
> can't seem to get it to work how other people have.
>
> I'm trying to move an existing wordpress install, to be hosted on the
> same domain as my cake app.
>
> So i've copied the root of the existing blog.mysite.com to the /blog/
> under the webroot of mysite.com
>
> So my webroot is similar to this listing
>
> blog/
> css/
> files/
> img/
> js/
> .htaccess
> css.php
> index.php
>
> So I can then access the wordpress site atwww.mysite.com/blogand the
> cake app still shows up for everything elsewww.mysite.com. However,
> as soon as I try to visit a link in Wordpress such as
>
> blog/2011/05/name-of-a-post
>
> I get the cakePHP error message of
>
> Missing Controller
>
> Error: BlogController could not be found.
>
> etc
>
> Any ideas on what I need to change so cakePHP ignores all links that
> are blog/..... I've tried a few htaccess settings, but none have
> worked. But then, from the sounds of it, other people have this
> working without any changes.
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home