When I run from the controller for www.mysite.com/login
return Redirect::to_action('profile');
it displays the user at www.mysite.com/index.php/profile
I tried it with Redirect :: to ('profile'); but it doesn’t work either. Redirection :: house (); leads me to www.mysite.com/index.php, which made me believe that my mod_rewrite somehow didn’t work, but I have RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L]
in .htaccess under general.
source share