Arrow

Redirecting to the original page from which the person clicked on "login" | Peter's Login Redirect | Forum

Back to the login redirect plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Redirecting to the original page from which the person clicked on "login"
January 3, 2011
11:01 pm
scworldnetter
Guest

Is there a way to get the plugin to make the redirect go back to the page where the person logged in from? Basically, I would like to put a login link next to each comment section for each post. Then, if a person wants to comment and they are already a member, they can click on login, and then be returned to the page where they originally were.

WP is really not user friendly and not geared towards having a lot of guest subscribers. But in my case, I have a rather large number of registered guests in my PhPBB forum, and the forum has single sign on integration. So the user can actually login with their phpbb credentials.

It would be a real hassle if a user was viewing a specific post, then went to the login page, and have the login page redirect them to say the home page or a fixed page. They would then have to find the original post they wanted to comment on again. So it would be nice to have a redirect back to the original page from which the login request originated from.

Any pointer would be greatly appreciated. PhP code is fine too.

January 3, 2011
11:21 pm
Peter
Admin
Forum Posts: 841
Offline

See this comment for several suggestions:

http://www.theblog.ca/wplogin-.....ment-11089

January 22, 2011
7:36 pm
Pod
Guest

I too would like to know this.
The replies you've given in the comments don't help at all

February 12, 2011
3:43 am
Polpil
Guest

I too need to redirect the user to the exact same page on which he logged in.

CAnt' find an answer anywhere.