Skip to Content
PHPCODE
Codeigniter Removing Index.php
codeigniter code / July 27, 2018

Removing Index.php in Codeignter

Step :-1 Go to Codigniter documation (where documation) example
go Google Chrome and write (localhost/project_codeigniter/user_guide/)

Step :-2 codigniter documation search CodeIgniter URLs

Step :- 3 go to Codeigniter folder created .htaccess

step :- 4 .htaccess file this code
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

PHPCODE © 2024