We've expanded our news coverage and improved our search! Visit
news.oreilly.com for the latest or search for all things across O'Reilly!
Article:
 |
|
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.
|