I've noticed a growing trend among websites (Facebook being the latest) to have some kind of URL that does not point to a specific file. For example you could have website.com/someCategory/someSubCategory/someProduct, or perhaps www.facebook.com/username.
I normally use PHP for web programming (Which Facebook uses as well last time I checked). Now my question is this: How does one go about using URL's in this format? Because I'm sure they not going to make a folder for each category/product/username! The only way I can think of is from the index page to parse the URL and to figure out from there what to do. Is that how it's done, or is there another way?
I normally use PHP for web programming (Which Facebook uses as well last time I checked). Now my question is this: How does one go about using URL's in this format? Because I'm sure they not going to make a folder for each category/product/username! The only way I can think of is from the index page to parse the URL and to figure out from there what to do. Is that how it's done, or is there another way?