# Remove index.php DEV BOX RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{HTTP_HOST} ^domain\.dev$ [NC] RewriteRule ^(.*)$ /index.php/$1 [L] # Remove index.php LIVE RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{HTTP_HOST} !^domain\.dev$ [NC] RewriteRule ^(.*)$ /index.php?/$1 [QSA,L]