Welcome Guest, Not a member yet? Register   Sign In
index.php being arbitrarily inserted into urls
#1

[eluser]zulubanslee[/eluser]
After my users login, they end up here
http://example.com/index.php/users/loginuser

I want them to go here:
http://example.com/users/loginuser


This is what I have in my .htaccess
Code:
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?
#2

[eluser]zulubanslee[/eluser]
oh nm. Just prefix base_url() to every thing .




Theme © iAndrew 2016 - Forum software by © MyBB