How to redirect already logged in users
-
i’ve been struggling with this for days, hope someone can help:
already logged in users are shown a ‘you are already logged in’ message if they try to log in again. this is generated from #36 in wpdm-login-form after an is_user_logged_in. i want to replace this, to redirect already-logged-in users to a custom page of my own; in part, because i don’t want to use the wpdm user dashboard. at all. i have everything else working the way i want, and all my other redirects work well with the peter’s login redirect plugin. this, though, i can’t get to work.
i’ve tried all sorts of snippets in functions.php, in wpdm-functions.php, and wpdm-login-form itself. i get get 404, a blank ‘login’ page, locked out of the site, or no change at all. i’m using wpdm free and i’m not much of a php’er.
any help would be greatly appreciated.
- The topic ‘How to redirect already logged in users’ is closed to new replies.