Bladephp: Now with 7+ codeigniter, php, and laravel project 7+ php project From $18/Year From Rs. 1000/Year

.htaccess file in Codeigniter

by
Category:codeigniter
codeigniter
.htaccess file in Codeigniter

In this tutorial I am learn to how to remove index.php from URL using .htaccess file in CodeIgniter. htaccess is the shortened used for Hypertext Access.

Download below code and save .htaccess file

Code

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

0 Comments


Html code work in comment box


Related Post