Viewing 6 replies - 31 through 36 (of 36 total)
  • co1inr

    (@co1inr)

    A quick fix which worked for me to redirect to the current page after login was to included the redirect parameter with no value:

    ie: [lwa redirect=””]

    HTH

    Well for me it was fixed by commenting Line 163 in login-with-ajax.php

    if( !empty($_REQUEST['redirect_to']) ) $redirect= wp_sanitize_redirect($_REQUEST['redirect_to']);

    That was the reason for my wrong redirect.

    @thermador – can you go to your admin in settings and choose Login with ajax.

    Pay attention to “Disable refresh upon login?” It shoudn’t be checked.

    ps. I also confirm that ataub2qf’s fix did the trick.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    Hi Everyone, sorry for not getting back to you all here.

    @ataub2qf’s fix on the first page of this thread is correct (thanks for posting that!). We’ll be implementing that in the upcoming update.

    @gabw, your issue may be different, please post in a new thread and let me know what URL you were trying to use, it may be that WP

    @thermador it may be related what @mpatzekov is saying, that you’ve got a seperate issue on top of this redirect one, related to refreshing the page in some way or another.

    co1inr’s fix worked for me. Set redirect=””.

    [login-with-ajax redirect=""]

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    Hi everyone, just to update you that 3.1.5 is out and fixes this bug. Sorry for the delay, will make sure this sort of situation doesn’t take so long to address in the future.

Viewing 6 replies - 31 through 36 (of 36 total)
  • The topic ‘redirect after login – https://0.0.0.1/’ is closed to new replies.