Reputation: 39
I just started learning CodeIgniter and I want to remove the index.php so the URL can be shown nicely.
I'm using .htaccess but instead it shows me the Wampserver Homepage (like in http://localhost)
My project directory is in http://localhost/CodeIgniter
What's wrong?
Upvotes: 0
Views: 677
Reputation: 11
If anyone is still looking for this answer, it is due to not enabling mod_rewrite in the httpd.conf file.
Just remove the # from the start of the below line in the httpd.conf file to enable mod_rewrite.
LoadModule rewrite_module modules/mod_rewrite.so
Restart the apache after that.
Upvotes: 1