You may go to PHP Begginers Room
anyway to do such follow the instruction:
1. Design a custom error page
2. Save it as error.php or you like best and upload to your public_html directory
3. Add the following line to your .htaccess file
ErrorDocument 404 /error.php
4. From Now every request for wrong page will redirected to this page
Best Regard:
Md. Zakir Hossain (Raju)
www.rubd.net
www.xenex.rubd.net
www.forum.rubd.net