I don’t know what this is called, otherwise I might have been able to google how to do it.
Basically I want to be able to detect when someone hits a URL that doesnt actually exist. For example, if someone types in
EDIT: Stupid forum stripped out the actual url that I typed in. Its this:
Then I want to have a PHP script that can catch this and handle it. For example, I might want to direct the above request to a page that DOES exist, like http://www.mysite.com/custom_display.php?query=blahblahblah
Can someone tell me how this would be accomplished ?