How to create static page in CakePHP.

1. Under View > Pages create hello.ctp 2. Under Config folder open routes.php and add the following code: Router::connect(‘/hello’, array(‘controller’ => ‘pages’, ‘action’ => ‘display’, ‘hello’)); 3. Now open your static page via: http://yourdomain/hello