No more 404's

This entry was published at least two years ago (originally posted on April 16, 2003). Since that time the information may have become outdated or my beliefs may have changed (in general, assume a more open and liberal current viewpoint). A fuller disclaimer is available.

I just implemented a very nice little PHP script for my website that ties into my site search function — the end result being that my site no longer has a “404 File Not Found” error page!

In brief: if a visitor puts in a URL address that doesn’t exist, it gets shunted to my search script. If the script returns multiple hits, that listing is displayed, but if the script only returns one hit, the visitor is automatically forwarded to that page. Very slick.

As a bonus, it provides a convenient shortcut to searching my site — just put in whatever search terms you want after “http://www.djwudi.com/” and see what you get!

(script via Scriptygoddess)