I want to use a Front Controller design pattern for my website, so I want to point everything to, let’s say, index.php.
Inside index.php I want to split the REQUEST_URI up into different things and decide what to do next from there.
How can I write my .htaccess to do this?
WordPress does this exactly: