I\'m developing my first decent-sized PHP site, and I\'m a bit confused about what the \"right way\" (assuming there ever is such a thing) to handle clean/friendly/pretty URLs i
Option 1 (.htaccess and several .php files) was often used "in the past" ; now, I see option 2 (every request going through one .php file) used a lot more.
The main advantages I see with option 2 are :
index.php
: if you need some code executed for all requests, put it there, and you're sure it'll always be executed.
A couple of years ago, I would have gone with option 1 ; now that I use MVC and Frameworks, I always go with option 2.