We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

redirect to url but not "controller/action"

How to redirect to url but not "controller/action" ?

This will redirect to /user/login page:


$this->response->redirect('user/login');

I would like to redirect to /login page.

Thanks



58.4k
Accepted
answer

$this->response->redirect('login');