Redirect when url is not found

How to make page redirect automaticly, when url is not found ? because when url is not found/match, you will see some error.



36.4k

Hey man

You can use event in Phalcon to do that, take an example at https://github.com/phanbook/phanbook/blob/master/core/modules/backend/Module.php#L44