ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Custom Error Pages with PHP and Apache
Subject:   Smart 404's rock
Date:   2003-02-21 06:51:51
From:   anonymous2
I've done a few things to create "smart" 404's these include adding a "redirect" table that allows me to add old URI's (ie. /files/resume.txt) and the new home of the old URI (ie. /new/files/resume.html).

PHP.net also does db queries and searches, which are both awesome ways to help users get where they originally intended to be.