I'm in the process of working on an error system for my site (i.e., if MySQL encounters an error, it sends them to an error page). I'm wondering, is it possible to use a "/"
instead of "?err="
for a URL?
What I'd like to do is have people sent to the url "/error/404/"
but display on page the content at url "/error?err=404"
. Is there a way to do this with HTAccess, or something of the sort?
My current way is with lots of files and iframes, and it gets really annoying when you have to update one tiny little thing.
Thanks!