Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

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



34.7k
Accepted
answer

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