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?>
1RewriteEngine on
2RewriteCond $1 !^(index\.php|resources|robots\.txt)
3RewriteCond %{REQUEST_FILENAME} !-f
4RewriteCond %{REQUEST_FILENAME} !-d
5RewriteRule ^(.*)$ index.php/$1 [L,QSA]
1# Only for Nginx server
2location / {
3 try_files $uri $uri/ /index.php$is_args$args;
4}
1//find the below code
2$config['index_page'] = "index.php"
3//replace with the below code
4$config['index_page'] = ""
5