Update: I had to change my routes from what I have above to ... Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home')); Router::connect('/login', array('controller' => 'users', 'action' => 'login')); Router::connect('/logout', array('controller' => 'users', 'action' => 'logout')); Router::connect('/(home|about-us|portfolio|art-prints|links|contact)', array('controller' => 'pages', 'action' => 'display')); Router::connect('/portfolio/*', array('controller' => 'pages', 'action' => 'display')); Router::connect('/art-prints/*', array('controller' => 'pages', 'action' => 'display')); Router::connect('/(home|about-us|links|contact)/*', array('controller' => 'pages', 'action' => 'display'));
I would till like to know why pagination has trouble with the rule I had previously as it makes perfect sense to write one rule if it can replace 2 or more. Hopefully someone can shed some light on this. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---