.htaccess - Can't remove index.php from url(IP ADDRESS) in codeigniter framework -
i have used below code in htaccess
file remove index.php
url in codeigniter framework
rewriteengine on rewritecond $1 !^(index\.php|images|robots\.txt) rewriterule ^(.*)$ /index.php/$1 [l]
it's working fine in local when in live using ip address access site it's not removing index.php
you can try this
rewriteengine on rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule .* index.php/$0 [pt,l]
Comments
Post a Comment