Redirect to same page after login

Home Forums Legacy Support Support queries How-to & Troubleshooting Redirect to same page after login

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #192033
    gurukulprime
    Spectator
    We are using ajax login for our website. Currently, when a user logon to our website (From any page), he gets redirected to the home page all the time. We want user's to redirect on the same page from where he has logged-in. If a user is login from quiz page, he should be redirected to quiz page or a user tried to login from courses page, he must be redirected to course page after successfully login.    
    #192161
    logan
    Member
    Hey, yes it is available in wplms.
    1. goto wp-admin> wplms > buddypress > enable ajax login. http://prntscr.com/m660ou
    2. goto wp-admin > lms > general setting > user login and registration setting > select same page http://prntscr.com/m660bl
    #192300
    gurukulprime
    Spectator
    https://prnt.sc/m6u17u As you can see in the attached image that, we have already selected above mentioned option in the settings but still it is getting redirected to home page only.
    #192303
    logan
    Member
    Hey, goto wp-admin > lms > general setting > user login and registration setting > select same page http://prntscr.com/m660bl Have you tried this one?? because it works fine at my test setup.
    Please share your site URL with admin credentials there. So I can assist you better. P.S. Mark your reply as private while sharing the credentials.
    #192358
    gurukulprime
    Spectator
    This reply has been marked as private.
    #192495
    logan
    Member
    hey there, it works fine. i was in course page and tried to login and after logged in it redirected me on same page. have a look : https://screencast-o-matic.com/watch/cqVo1q32eI greetings  
    #192511
    gurukulprime
    Spectator
    It does not work when you login using gmail or facebook.
    #192623
    logan
    Member

    hey,

    Yeah!!  the social redirection settings do not work as the control is redirected to the  social sites and they redirect to the redirect url you specify in their app settings.


    refer :  https://trello.com/c/GrGgRk8a

    We are working on it and hope this can be done. wait for our new update.

    regards
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Redirect to same page after login’ is closed to new replies.