CodeIgniter Forums

Full Version: index.php being arbitrarily inserted into urls
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

After my users login, they end up here

I want them to go here:

This is what I have in my .htaccess
RewriteEngine on  
RewriteCond $1 !^(index\.php|images|css|js|robots\.txt|favicon\.ico)  
RewriteCond %{REQUEST_FILENAME} !-f  
RewriteCond %{REQUEST_FILENAME} !-d  
RewriteRule ^(.*)$ ./index.php/$1 [L,QSA]

Is there anything else that needs to be added to .htaccess?

El Forum

oh nm. Just prefix base_url() to every thing .