Welcome Guest, Not a member yet? Register   Sign In
Removing index.php from url

I cant able to remove index.php

my htaccess code is

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /CI

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ /index.php?/$1 [L] <-- do not forget the ? after index.php!

<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.

ErrorDocument 404 /index.php

My folder is in http://localhost/CI/

Theme © iAndrew 2016 - Forum software by © MyBB