How to keep the initial login redirect?
-
Hi
Some of my pages are only available to connected users.
For exemple users goes to this page: https://mysite.com/user-only-page/ and they are redirected to the standard login page with this URL:https://mysite.com/wp-login.php?redirect_to=https://mysite.com/user-only-page/
BUT when the users logef in they redirect to the homepage that comme from your plugin settings…
I tried this but it do not works:
add_filter('login_redirect', 'lolmi_login_redirect_override', 50, 50);
How can I do?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to keep the initial login redirect?’ is closed to new replies.