Hello friends i have sub domain like exam.example.com, i need to remove index.php from url my url like exam.example.com/index.php/controller/func_name
i had replace following in config.php
$config['index_page'] = 'index.php';
replace
$config['index_page'] = '';
and create .htaccess file in my project and wrote following code -
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]