Custom Error Pages
These are easy to create using the .htaccess file. Just include lines of the following format in your file.
ErrorDocument 404 /missing.html
This causes the file "missing.html" to be displayed whenever a 404 error occurs.
You may include any of the following error codes:
| 401 | Authorization required |
| 403 | Forbidden |
| 404 | Page not found |
| 500 | Page not available |
| 501 | Not implemented |
Additional Resources
- Good Design - Custom 404 error page The 404 error page is generally pretty lame. If you can, you can use this as a tool to get your visitors deeper into your site.
- The Dreaded 404 error This article tells you the meaning of the dreaded 404 error
- IIS 5 Administration - Custom Errors Tab Tired of the error pages generated by IIS for 404 errors and the like? You can define your own.