Options -Indexes RewriteEngine on RewriteCond $1 !^(index\.php|img|css|script|robots\.txt) RewriteRule ^(.*)$ index.php/$1 [L]
$config['base_url'] = '';