- 1,233 categories
- 40,467 scripts
Updated: 10/29/2004
- This simple script will send you a email when a page hasn''t been found on your server. This way you can easely keep track of broken links
It also emails the refered page where the visitor came from. It will print a error message and will redirect the visitor to another page.
// 1) place this script in the document root of your server.
// 2) create a .htaccess file with the following line: ErrorDocument 404 /404.php
// 3) edit the variables in 404.php
// 4) you are done! no broken links that you aren''t aware of anymore!
- Categories
- Tags
- Platforms
- Licenses
- Author
- Customized 404 and other default error pages improve user experience and reduce abandonment rates by maintaining the look and feel of your site and offering alternate page destinations. Unfortunately, setting them up in Microsoft IIS usually requires...
- Custom error documents are a valuable tool to have. Using this tutorial you''ll be able to redirect any user to a specified location on your site if they have reached an error such as Error 404 - Document Not Found or Error 500 - Internal server...
- This example demonstrates how to serve a custom page to users whenever a 404 error occurs as well as log the user info such as ip, referer, request, agent into a database.
- Everyone has seen an HTTP 404 error at some point. You follow a link on a web page, and BOOM - File not found. Perhaps the author spelt it incorrectly, or the page was uploaded to the server by mistake. This tutorial''ll show you how to handle t...
- The basic 404 error or file not found page serves two specific purposes. Firstly, to alert the user that the item they were expecting is
not currently available. Secondly, to alert the
webmaster that a file is missing or a link is targeting somet...