In config.php replace index.php to blank

$config['index_page'] = "index.php"
to
$config['index_page'] = ""

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /example.com/index.php/$1

add above code in .htaccess

Advertisements