I am new to CodeIgniter. I have an XAMPP server on Windows 8. Everything is fine, but the problem is about my URL, it doesn't look friendly. It looks like localhost/ci/index.php/site/home
(where ci
is my root folder for CodeIgniter). I want to make the URL more clean, like localhost/ci/home
, how can I do it?
My CodeIgniter version is 2.1.2.
I have done some research already, but in most of the cases it says to change the .htaccess
file of CodeIgniter. But I have nothing in the .htaccess
file; it's empty, except the line "Deny from all".