Redirect user back to referral page after login
-
We have a page where we provide access to certain users. We then redirect them to a custom login page. we would like to add the query string to the redirect page.
ex: https:/example.com/original-page
redirect the user if no access to https:/example.com/login/?redirect_to=https:/example.com/original-page
Is there an action or filter that I can use to achieve this?
or is there an option in your plugin to redirect the user to the default wordpress login page and back to the referral page?
- The topic ‘Redirect user back to referral page after login’ is closed to new replies.