You are here: : Homepage > Best practices > Sheet No82
Modify the Web server configuration in order to redirect users to a custom page when a requested resource can not be located
If the main server configuration is not available and the environment allows it, use a local directory configuration.
For example, the Apache environment makes it possible to create a .htaccess file with information regarding error management: ErrorDocument 404 /mypage.html
Modify a URL in order to obtain an error 404 and chaeck that the page which is returned is a custom error page.