Custom Error

Custom Error


The ErrorDocument is used for this purpose, followed by a 3 digit errorcode and the action to perform.

ErrorDocument 404 /notfoundhere.html

This example will display web page notfoundhere.html in cases where the requested document is not found.

If you remove a web page from your site and someone tries to view it, they would see notfoundhere.html instead.