Suppose the user try to access the following web page on my website
http://something.com/hello/hi.php
But hi.php
webpage does not exists on the server. Instead of web-browser showing that "this page does not exist", I want to redirect the user to some predefined page (say nofound.php) on which I will beautifully display the message "page you are trying to access does not exists"
How can I redirect a user to some predefined web-page in case of "page not found" error?