My website is using CakePHP and homepage URL gets redirected and looks like this
domain.com/pages/home
I want to prevent the redirect load index file at domain.com
I can't figure out how to load index without redirecting.
This is what I have right now.
if(!$this->Auth->loggedIn()){
return $this->redirect('/pages/home');
}