1<?php
2#By default, the index.php file will be included in your URLs:
3
4# Create a .htaccess file in your root folder and paste the below code
5RewriteEngine On
6RewriteCond %{REQUEST_FILENAME} !-f
7RewriteCond %{REQUEST_FILENAME} !-d
8RewriteRule ^(.*)$ index.php/$1 [L]
9?>
11. Change $config['index_page'] = "index.php" to $config['index_page'] = "" in config.php
22. Change $config['uri_protocol'] ="AUTO" to $config['uri_protocol'] = "REQUEST_URI" in config.php
33. Create .htaccess file in root dir of your application and paste the following code
4 RewriteEngine on
5 RewriteCond $1 !^(index\.php|resources|robots\.txt)
6 RewriteCond %{REQUEST_FILENAME} !-f
7 RewriteCond %{REQUEST_FILENAME} !-d
8 RewriteRule ^(.*)$ index.php/$1 [L,QSA]
1RewriteEngine on
2RewriteCond $1 !^(index\.php|resources|robots\.txt)
3RewriteCond %{REQUEST_FILENAME} !-f
4RewriteCond %{REQUEST_FILENAME} !-d
5RewriteRule ^(.*)$ index.php/$1 [L,QSA]
1RewriteEngine On
2RewriteCond %{REQUEST_FILENAME} !-f
3RewriteCond %{REQUEST_FILENAME} !-d
4RewriteRule ^(.*)$ index.php/$1 [L]