Plugin Support
Laszlo
(@laszloszalvak)
Hi @wahyudev26
By default Nextend Social Login redirects the users back to the same page where the social button was pressed. But we have multiple options to modify this behavior.
E.g.:
A.) If you want all of the social buttons to redirect to a fix URL, then you could use our “Fixed redirect url – for Login / for Register” feature that you can find in our Global Settings General tab:
B.) If you want this custom redirect only for certain social butotns, then you could publish those with our shortcode:
and you could use its “redirect” parameter, e.g.:
[nextend_social_login redirect="https://example.com/my-page"]
C.) Or if you would like to have more advanced conditions, then you could use our {{provider-id}}_login_redirect_url and {{provider-id}}_register_redirect_url filters to overrid the redirects. In our developer documentation you can find more information about them:
https://nextendweb.com/nextend-social-login-docs/backend-developer/#content-flow
Best regards,
Laszlo.