I want to have \"pretty\" and SEO oriented URLs in my site.
I\'ve build up my own tiny framework for this site and almost everything is complete now.
One thing I
Directing everything to index.php and then routing from there is a good, clean way to do it. I have something very similar, I:
For example, browsing to:
www.blah.com/shop/browse/cakes
Would call index.php, which would include shop.php and instantiate a class called Shop. Would try to call a function on Shop called browse and would pass it a parameter of "cakes".
This is a simplified example but you get the idea. Convention over configuration makes the URLs and the code clean.