Hi in my frontend login page,if the user successfully login and if the role is A for admin I want to redirect this to the backend,I tried to redirect but it gives me wrong url
return $this->redirect('yiiback/adminsite');
it give me this url
http://localhost/yiifront/yiiback/adminsite/
Thank you in advance.