Zend redirect problem
Posted
by John
on Stack Overflow
See other posts from Stack Overflow
or by John
Published on 2010-05-18T05:13:50Z
Indexed on
2010/05/18
5:20 UTC
Read the original article
Hit count: 255
I'm trying to redirect to
http://localhost/site/public/admin/login
from
http://localhost/site/public
but for some reason, it keeps redirecting to
http://localhost/admin/login
The code I am using is:
$this->_response->setRedirect('/admin/login')->sendResponse();
This is really frustrating me, and any help would be grealy appreciated
© Stack Overflow or respective owner