I have been trying to do this for days now and cant seem to find any help on how to do is. I want the user after login to be redirected to a different page instead of the members landing page.
Try checking the code in User/AuthController
after this comment Run post login hook
. There are several ways to do a custom redirect here.
return_url
parameter in the link to login page. You can also 64-bit encode the redirect url so that it is compact.Zend_Session_Namespace('Redirect')->uri
onUserLoginAfter
and pass a redirect
parameter in its response.If all else fails, hard-code the next line of code which redirects to home :P