I presume this is very simple. I have a template with a login form called login.
Say someone is on page A and clicks a link to go to login (page B), how do I redirect them back to Page A after login?
Same would be if they were on Page C click to login on Page B redirect to page C
I have tried Redirect After Login (Twomile) extension but it only seems to redirect to the login page after login, I want it to go back to the page before they were on the login page.
P.
EDIT:
Seems that this may work
change:
{exp:member:login_form return="site/index"}to this:
{exp:member:login_form}