Hi,
Today, i we will show you how to remove index.php in codeigniter using htaccess. This article will give you simple example of how to remove index.php in codeigniter using htaccess. you will learn how to remove index.php in codeigniter using htaccess.
In this article, I will tell you how to remove index.php from url in codeigniter using htaccess file. I will tell you how to remove index.php from url using htaccess in codeigniter.
So let’s follow few step to create example of how to remove index.php in codeigniter using htaccess.
.htaccess
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L]
update your htaccess file and check it.