• Resolved meir321

    (@meir321)


    Hi, I set visitor redirect to:

    “Redirect to the login page (after login, user will be redirected back to the restricted page)”

    But it does not work, the user does not get redirected to the referrer page after login. Please advise how to get this to work.

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • bebizzy

    (@bebizzy)

    Same issue

    Plugin Author AAM Plugin

    (@vasyltech)

    Hello guys,

    Please confirm two things for me:

    – when a visitor is redirected to the login page, does the URL contain the redirect_to parameter?
    – do you use any custom plugins for user login or do you use the default WordPress login form?

    Regards,
    Vasyl

    Thread Starter meir321

    (@meir321)

    Hi, the URL does not contain the redirect_to parameter. I’m using the “Essential Addons for Elementor” Login widget.

    Thank you

    Thread Starter meir321

    (@meir321)

    Hi, any update on this?

    Thread Starter meir321

    (@meir321)

    The issue was, the page and taxonomy redirect was set to a custom login page instead of the built-in.

    I am using default widget from AAM, redirect does not happen. I get the error: Uncaught SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at XMLHttpRequest.<anonymous> ((index):243)

    which means that response can not be parsed. If I refresh the page, I will be logged in. If I dont refresh, nothing will happen. Even errors dont appear. Any news?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Redirect to Referrer page After Login’ is closed to new replies.