to remove this firstly create .htaccess named file in your main app folder
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
add this code to your .htaccess file and save it
change $config[‘index_page’] = ”; and $config[‘uri_protocol’] = ‘REQUEST_URI’; in your config.php file.
save the file, run the app without index.php name from url