Redirect after login feature
-
Redirect to requested link after login.. not work!
for example calling link : https://www.sitename.com/account/customerpage
I set default redirection after login to “referral url” in plugin settings..
i’d used this code snippet
if (!is_user_logged_in() && is_page ( [50710])) { $redirect = '/login/?redirect_to=' . esc_url($_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]); wp_redirect( $redirect ); }
but after login always return always to homepage..
does exsist a specific hook funcion to override plugin settings?
thanks
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘Redirect after login feature’ is closed to new replies.