Redirect to previous page after login
i found a lot of old (5+ years old) posts about that topic but none of them worked from me.
We have a private bbpress-forum and we want to be able to share links for the forum.
The flow shloud be like this:
1. Visitor clicks the link.
2. If the visitor isn’t logged in he gets redirected to the loginpage (already done).
3. After loggin in he should go back to the last page (the one from the link)
What is the best way to do this?
- You must be logged in to reply to this topic.