Sounds like a good tutorial idea. I've done numerous things with htaccess files, but never really work with them enough on a regular basis to remember things indepth.
Other .htaccess ideas:
- modifying php vars.
- mod_rewrite - although mod_rewrite is a beast of its own. using .htaccess is really just a method for delivery.
- along the custom error pages idea, maybe have two versions. The standard "custom html error page" one and a php-based error page version that provides more functionality.
-- eg: it logs the error in a DB, emails the admin, perhaps performs some kind of basic search for the user to give them hints as to what they want.
edit: hm, guess I should read
all of the posts.
Quote:
|
I was also thinking that the webadmin can be emailed every time a user clicks a broken link with the same info as the above quote?
|
The email idea is good, but could quickly turn into mass-mail bomb. Maybe only email once every X 404's, but log everything?