- 1,251 categories
- 40,829 scripts
- 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!
- Mac OSX,
- Sun Solaris