Arrow

Redirect based on the page | 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
Redirect based on the page
May 28, 2013
11:07 am
kayoobi_chan
New Member
Forum Posts: 1
Offline

Hello. I'm trying to figure out how to make a redirect based on the page on which the user was logged, but can't find the answer. For example:

- If the user made the login on a link in HOME, I want him to be redirected to a specific page.

- If the user made the login on the ABOUT US, I want him to be redirected to another page.

Any idea?

May 28, 2013
9:45 pm
Peter
Admin
Forum Posts: 841
Offline

If you want to redirect all users based on the what page they came from, you could edit the various login forms to post a hidden "redirect_to" variable with the desired redirect URL. That would use built-in WordPress functionality.

If you need something more complicated, you can extend my plugin by adding your own redirect logic as described here:
http://wordpress.org/plugins/p.....her_notes/