On May 3, 2011, at 17:07, mthabisi mlunjwa wrote:

> I'm trying to set home.ctp as my home page/landing page. But no matter
> how I try I'm redirected to a different page(http://domain.com/
> practitioners/login).

Sounds like you've added the Auth component (possibly to your AppController). 
Is that possible? If so, that's what's asking you to log in here.

http://book.cakephp.org/view/1250/Authentication

If you don't want users to have to log in to see your home page, then you need 
to tell the Auth component that, for example by allowing the display action. 
(This will allow all URLs handled by the Pages controller (not just the home 
page) to be displayed.)

http://book.cakephp.org/view/1656/allowedActions


-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to