Redirect After SignIn or SignOut or SignUp
-
hello,
i have a question about redirecting user after SignIn, Up or Out!
as im using wp multisite, i need to redirect user from SubSite to main site because i only have ultimate member and SignIn form in main site and then after successful login redirect user back to the sub site he/she was before clicking the login link.subdomain.example.com/account/’; ?>”>
or for Sign Out:
subdomain.example.com/’; ?>”>searching on web i’ve tried encoding the url like this:
“>but no chance!
it seems that user is being redirected to main-site after login.
what am i doing wrong here ?
how can i use redirect_to url parameter to redirect user from sub site to main site login form and redirect him back to the sub site he was at ?Thanks in Advance!
P.S: the link i mentioned above was working fine when i was using Multisite Subdirectory instead of Multisite SubDomain. looks like i have to try another way to do that in multisite subdomain.
- The topic ‘Redirect After SignIn or SignOut or SignUp’ is closed to new replies.