Customizable error messages


All accounts include the ability to specify custom error messages. If a visitor requests a page which does not exist (by following a bad link, for example), the webserver can display a custom error message, rather than the default 404 Not Found message. In your customized error message, you can direct the visitor to an appropriate index page, or ask the visitor to send you an email.

To provide your own custom "404 Not Found" message, create a file named 404.html and place it in your document root (/htdocs) directory. You can also provide other customized error messages, including 401.html (access denied), and 500.html (script error). Keep in mind that these files must be placed in your document root, and will only function correctly if your document root is not password-protected. In addition, it is best to use absolute URLs within these files.

Advanced users can specify alternate error handlers using Apache's ErrorDocument directive in an .htaccess file.

 

Main | Signup | Hosting | Design | Webmaster Resources | Contact Us!