Redirection Referrer: Need to avoid Login page after login
-
Using redirection, we use the referrer option, which is necessary because we want users to be redirected to the article they were on after they log in.
However, if they use the “forgot password” function or perhaps in some other cases, they’ll be redirected to the Login Page after login. They’ll be logged in but they think they’re not because they see the two blank fields that make them think they need to log in again.
How can I avoid this? I can’t use a custom URL, as we need the referrer option, but never should a logged-in user be redirected to the login page after logging in. A code in functions.php? A fallback URL in the event this happens?
Need help. Thanks.
- The topic ‘Redirection Referrer: Need to avoid Login page after login’ is closed to new replies.