I think mex is talking about dropping WordPress right into the webroot folder with the ultimate goal being to have http://www.example.com/users going to UsersController in Cake and http://www.examples.com/some-post/ going to WordPress. The problem is, .htaccess would have no easy way of knowing for which system to rewrite the URL. There needs to be something in the URL to trigger one system over the other.
The only solution I can think of that isn't a complete nightmare of rewrite rules is to not use mod_rewrite with WordPress, and put in rewrite rules for things like p= and s=. And if you wanted to use WordPress's home page you'd need to add a rule for /. On Apr 29, 10:18 am, Andrei Mita <[email protected]> wrote: > What do you mean by "dont want it to be on a seperate url like /blog"? > > You don't want it to be domain.com/blog ? > > > > > > On Thu, Apr 29, 2010 at 4:35 PM, meximex <[email protected]> wrote: > > no solutions???? > > > On 23 Apr., 09:19, meximex <[email protected]> wrote: > > > hi, > > > i would like to include wordpress into my cakephp application but i > > > dont want it to be on a seperate url like /blog. > > > > reasons for that are that the users looses his session inside the > > > site, looses the usermenu (i know i could do that by ajax..) > > > > isnt there a way to just "include" the blog files? > > > > btw. i am looking for a forum that can be "included" very easy > > > too... ;-) > > > > regards, > > > mex > > > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others > > with their CakePHP related questions. > > > > You received this message because you are subscribed to the Google Groups > > "CakePHP" group. > > > To post to this group, send email to [email protected] > > > To unsubscribe from this group, send email to > > > [email protected]<cake-php%[email protected] > > > om>For more options, visit this group athttp:// > > groups.google.com/group/cake-php?hl=en > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others > > with their CakePHP related questions. > > > You received this message because you are subscribed to the Google Groups > > "CakePHP" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<cake-php%[email protected] > > om>For more options, visit this group at > >http://groups.google.com/group/cake-php?hl=en > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with > their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > athttp://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
