tags:

views:

47

answers:

2

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

+1  A: 

try this :

$this->_response->setRedirect('admin/login')->sendResponse();

Behrang
A: 

I've tried that too, doesnt work the way I need it either.

john