Open "{cakeapp}/config/routes.php" Lets say the page you want the root of your site to point to "/pages/ display/home"
$Route->connect('/', array('controller' => 'pages', 'action' => 'display', 'home')); That would be if you are using the built-in PagesController. For my current project I created my own PagesController with a 'splash' method with a physical content page (this site requires a splash page) and a 'read' method that grabs the content from the database. In this case, the routes would look something like this: $Route->connect('/', array('controller' => 'pages', 'action' => 'splash')); $Route->connect('/home', array('controller' => 'pages', 'action' => 'read', 'home')); $Route->connect('/pages/:action/*', array('controller' => 'pages', 'action' => 'read', 'home')); On Apr 8, 2:38 am, "peterhf" <[EMAIL PROTECTED]> wrote: > I'm certain that this question has been asked a thousand timea and > answered two thousand times! I just couldn't find it on the lists. > > How to I point my domain, "http://www.my_domain_name.com/", to a > specific view so that I don't have to do > "http://www.my_domain_name.com/view_name/". > > Thanks in advance for your help. > > Peter - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---