Welcome Guest, Not a member yet? Register   Sign In
mod_rewrite doesnt work for removing index.php
#1

[eluser]Unknown[/eluser]
I am trying to get rid of the index.php from the url by setting the following:

$config['index_page'] = "";

I am using this htaccess in my root ci folder:

RewriteEngine on
RewriteCond $1 !^(index\.php|images|captcha|css|js|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

This doesnt work for me. any clues ?
#2

[eluser]InsiteFX[/eluser]
.htaccess needs to be in the same folder as index.php

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB