<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
</IfModule>
.htaccess te bunu kullanıp tüm talepleri index.php ye alıp
index.php de $_SERVER['REQUEST_URI'] değerinde / karakterini explode ile parçalayıp ona göre işlem yapıcaksın kompleks bişey değil