When users register on our site, go through the registration process, and hit submit, it takes them directly to a different page from what I want. I want it to take them directly to my default main page. How do I redirect this?
return $this->redirect( FRoute::login( array() , false ) );
return $this->redirect( rtrim( JURI::root(), '/' ) . '/loggedin' );