Redirect if ALREADY logged in
-
First and foremost, thank you for a wonderful plugin. Very useful and very deep in its abilities.
I’m using WordPress with WP-Members within a section of an existing website. I have the WordPress front page as a login page that uses the WP-Members short codes:
[wp-members page=”login”]
[wp-members page=”password”]I have used the WP-Members login filter and function redirect successfully for when someone logs in redirecting them to the Posts page.
However, if someone is already logged in from a previous session and goes to the front page, the redirect does not recognize them as logged in and redirect them. I assume this might have to do with the filter and function not being called until someone logs in?
My skills at coding are good, but I am relatively new to WordPress. Does anyone know how I can go about having WP-Members check if someone is already logged in, and if so redirect them?
Assistance is greatly appreciated! Thanks!
- The topic ‘Redirect if ALREADY logged in’ is closed to new replies.