Sunday, December 6, 2015

Remove index.php from url in codeiginator

Update htacess with this code
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$1 [PT,L]
</IfModule>

No comments:

Post a Comment