Chintaru
Member
Posted 1 year ago #
Hello again :) I was wondering if it is possible to set a different redirect URL when someone logs in immediately after registering. Like so:
* User registers
* User registered, redirected to login page
* User logs in
* Redirect to page A
Aside from the default setting:
* User logs in
* Redirect to page B
If this is possible, how can I pull it off?
Many thanks in advance.
http://wordpress.org/extend/plugins/theme-my-login/
Have you tried using the Custom Redirection module?
Chintaru
Member
Posted 1 year ago #
Well there only is one option for Login and Logout... I would need two different redirections for Login, depending on whether the visitor has just registered or not :) Because after you register, the login page automatically pops up. When a user logs in from that specific page, it should redirect to page A and when a user logs in from anywhere else, so not directly after registering, they should be redirected to page B.
Ah, I see. This would take some custom coding, of course. You would need to check the referring URL to decide where to redirect.