How to customize Memberstack login redirects to return users to their previous page instead of home? Answered

Post author
Shadi null

Is there a way to circumvent the pre-defined memberstack login redirect if they weren't on the home page?

As an example, lets say someone found something on a website they want to interact with, but need to login to do so, I don't want them to be booted from the page they were currently on and would prefer if they get sent back to the page they were previously on before logging in. I personally find it frustrating to have to navigate back to the page I was just on when using some websites, so this is a feature I would love to have on my own site ๐Ÿ™‚

Is it possible to achieving something like this natively with memberstack? ๐Ÿ™‚

Comments

2 comments

  • Comment author
    Jayess

    Hello Shadi null

    Hope youโ€™re doing well!
    I have a great article for you that allows the user to be re-directed back to the page they were on by adding some code!

    0
  • Comment author
    Shadi null

    Jayess Thanks you!!!!

    0

Please sign in to leave a comment.