# Technically made by Special, since I hate mod_rewrite. Options FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Use this one if you are using *pretty URLs* -- PHP as Apache module: RewriteRule ^(.+)$ /[some-proper-path-here]/index.php/$1 [L,QSA]