What's happening is that there's some routing rules in play. Basically, a bit of code sees the URL (for example: www.ebuyer.com/flange ) and knows that the "flange" aspect is a key word it is supposed to try and find and display.
For a similar concept, like at the URL for this question.
It's broken down into the following logical concepts:
[domain]/[function]/[identifier]/[extra information for human readability]
This tells the module on the server that it needs to look in the "questions" functionality, and deliver the question with the identifier of 14689056.
It's easy enough to have the system respond with a search results page as opposed to a 404 in this situation, because you're already re-directing the user behind the scenes based upon the URL.
In .NET (3.5+) and IIS, there's a nice set of classes associated with URL Routing that can be manipulated in the Global.Asax to do this (earlier versions of .NET can do this as well, it's just a bit more hassle involved since there are no native classes).
In apache, you'll need to deal with mod_rewrite and other odds an ends that I'm not overly familiar with as I'm a .NET programmer. This question Routing URLs in PHP will get you started heading in the direction you need to go.