In Unix / Apache you can do it in a
.htaccess file
In IIS open Internet Services Manager
right click on the Web site you want to set the 404's for and click on properties
Then click on the Custonm Error pages Tab
and click on 404 error or any of the others you would like to redirect. Then click on edit Properties to change the page to something else.
|