handle 404 errors in index.php instead of with a separate file