Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    hmm, this works for me upon testing. Are you using php or shortcode?

    File to change: wp-content/plugins/login-with-ajax/widget/default/widget_out.php

    =============

    Change this:

    <input type=”hidden” name=”redirect_to” value=”<?php echo esc_url($lwa_data[‘redirect’]); ?>” />

    To:

    <input type=”hidden” name=”redirect_to” value=”<?php echo esc_url($lwa_data[‘login_redirect’]); ?>” />
    ——————

    Plugin Support angelo_nwl

    (@angelo_nwl)

    this is already been reported to the devs. should get fixed soon.

    Thanks Amar, worked like a charm!

    great solution from amar^^ thx

    Switching to <input type=”hidden” name=”redirect_to” value=”<?php echo esc_url($lwa_data[‘login_redirect’]); ?>” /> removes the ability to define a redirect URL from the shortcode or template tag.

    Is there another fix?

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