# Disable directory browsing Options -Indexes # Enable the rewrite engine RewriteEngine on # Set the rewrite base RewriteBase / # Remap everything to index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L]