Hello to all, welcome to therichpost.com. In this post, I will tell you How to remove index.php from url? and you need to add this code into your .htaccess file.
Here is the working code and you need to add this .htaccess file:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
There are so many codes in htaccess and I will let you know all. Please do comment if you any query related to this post. Thank you. Therichpost.com
Leave a Reply