• Resolved korynorthrop

    (@korynorthrop)


    I am trying to get the redirects working properly for registrations on our classroom website. The redirects seem to work properly for existing users that are logging in, but not for new users. I want new users to be redirected to http://clrefugeecent.dev.onpressidium.com/course-list, but they’re brought to the homepage instead.

    This is how I’m implementing the Facebook button (Google’s is done similarly):

    <a href="<?php echo $site_url; ?>/wp-login.php?loginSocial=facebook" rel="nofollow" aria-label="Sign up with <b>Facebook</b>" data-plugin="nsl" data-action="connect" data-provider="facebook" data-popupwidth="450" data-popupheight="450"></a>

    I tried it with the data-redirect attribute and hard-coding in the desired URL and I tried setting the “Default redirect url” and “Fixed redirect url” for the Register flow, but neither worked.

    This is the staging server for our live website, which has all caching disabled.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Laszlo

    (@laszloszalvak)

    Hi @korynorthrop!

    Thanks for contacting us!

    The Fixed redirect url should redirect to the specified page at every scenario.

    So it seems like a stronger redirect is present, which prevents our redirection.
    The first possible solution I could suggest is turning on the “Prevent external redirect overrides” option, in Nextend Social Login > Global Settings > General tab > Prevent external redirect overrides, which will disable other redirection which was not requested by NSL ( during the authentication process ).

    If this option doesn’t work, please try deactivating your other plugins to check if a conflict causes your problem.

    For further investigations, please contact us on: support@nextendweb.com and refer to this WordPress topic.

    Best regards,
    Laszlo

    Thread Starter korynorthrop

    (@korynorthrop)

    Thanks @laszloszalvak for your quick reply. The “Prevent external redirect overrides” option did not solve the issue, but I looked into some of my code for other redirects. I found the culprit, I had setup a redirect using the ‘profile_update’ WordPress hook to send normal Subscriber accounts back to the home page whenever they edit their profiles. When I removed that hook things worked properly.

    It’s not super important for us to redirect users to the homepage after they edit their profiles, but can you think of a way to accomplish both? Say, only redirect them if the profile update wasn’t related to the Nextend Social Login registration event?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Registration Redirect Not Working But Login Redirect Does’ is closed to new replies.