Redirect after login

edited August 2014 in Feature Requests
If login originates from a link on a specific page, is there any way to send them back to that page once logged in?

You added a way (in 0.93) to get to a specific page, but I'm wondering if there is a way to do this dynamically.
(The site I am working on is in 1.1)

Thanks.

Comments

  • edited 7:08AM
    errr, i am not sure what is the way you mention in 0.93, but think one of the usual way is to get the url and append as a parameter after /login, e.g. /login?redirect=abc.com and then u just need to check redirect parameter from url after login then use redirect() function.
  • edited 7:08AM
    Are you wanting a page to redirect to an admin page or a front end page not part of the CMS (the redirect should already be happening for the CMS pages)?
Sign In or Register to comment.