The main problem with CakePHP is error handling that hard to do. You need a lot of lines of code. This is in contrast with laravel, where the framework requires only 2 lines of code and everything is finished.
For CakePHP, finally I was able to find the proper error handling (for the moment), so that it can reduce the bad results of the URL was not found.
Just use the following code on AppController.php
public function beforeFilter() { if($this->name == 'CakeError'){ $this->redirect(array('action'=>'error','controller'=>'pages')); } }
You can customize error code is easy.