Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Frank Schrijvers

    (@frankschrijvers)

    Hi Joan,

    The plugin uese wp_login_form() to create the form with an action attribute of site_url/wp-login.php and that means that when you click the submit button the the form is posted to site_url/wp-login.php.

    as far as I know this ignores redirect_to on errors (like wrong password) so the only solution is to recreate the login process so you have more control over it. In other words, you have to rebuild the plugin ??

    Thread Starter Joan Boluda

    (@boluda)

    Haha, not an easy fix then, right? I get it ??

    Thanks anyway, great, great plugin. And very useful!

    Best,

    Plugin Author Frank Schrijvers

    (@frankschrijvers)

    Hi Joan,

    Maybe I’ve found a solution. I keep you posted.

    Frank

    Plugin Author Frank Schrijvers

    (@frankschrijvers)

    Hi Joan,

    I’ve found a quick solution. I’ve updated the plugin. If you now login with the wrong credentials you will be redirected to the modalbox on the homepage. If you don’t fill in a username or password you still will be redirected to WP login page.

    Frank

    Thread Starter Joan Boluda

    (@boluda)

    Hi Frank!

    Oh, that’s great, thanks so much!! Nice improvement! Can I keep the user on the page he is, instead of the modalbox on the homepage?

    Thanks again for your time and improvement!!! ??

    Plugin Author Frank Schrijvers

    (@frankschrijvers)

    Nope this is it for the moment ??

    Thread Starter Joan Boluda

    (@boluda)

    This is it, and this is great, thanks so much!! ??

    Diegaker

    (@diegaker)

    Good afternoon Frank and Joan,

    Congratulations for your plugin!

    Did you guys find any solution to keep the user in the same page that he is instead of redirect him?

    Thank you very much!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Failed login redirects to wp-login.php’ is closed to new replies.