Hi, I am trying to make WP use the SF login/register page for new/registered users, but have a question regarding redirection after a user logs in.
For instance, I have “Users must be registered and logged in to comment” ticked in the WP > General > Options, and have the usual “You must be logged in to post a comment” at the end of ever post.
I have changed the “must be logged in” url to that it goes to the SF login page - but when I login I am redirected to the main Forum page - which (I believe) is as expected.
What I am trying to figure out is, can I make the SF login page redirect me back to the WP post that I cam from so that I can post a comment? But I would still like the SF login page to take me to the Forum if I am trying to login from the Forum.
Ideally I guess I would like to somehow make the SF login page redirect me back to the page that sent me to the login page.
Phew, I hope this makes sense? and hope there is a way to do this.