Support » Plugin: WPS Hide Login » Redirect

  • Resolved fabianski

    (@fabianski)


    When the login page used is the default (wp-login.php) the wordpress redirect the user after login to the last page he visited, but when active this plugin to change the url this is changed. I am using buddypress and after login I am redirected to my profile page.

    Is there any way to leave this as wordpress by default does? I want to keep the redirects to the last page the user was on.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author NicolasKulka

    (@nicolaskulka)

    Hello,

    I’m doing tests and coming back to you

    Plugin Author NicolasKulka

    (@nicolaskulka)

    I just did a test, I do not reproduce your problem, since what URL do you connect via budypress?

    I’m sorry I just saw that this problem is with my theme.

    When I activated some default wordpress theme like Twenty Nineteen it worked (with this theme active i login through the wordpress toolbar).

    I think my theme is not changing the url as it should.

    See, here is the url that the default theme shows me.

    http://domain.test/login/?redirect_to=http%3A%2F%2Fboss.test%2Fola-mundo%2F

    But if I activate my theme the url becomes just this:

    http://domain.test/login/

    Do you have any idea why it is not showing the correct url? I will talk to the theme developers to fix this

    • This reply was modified 2 months, 2 weeks ago by  fabianski.
    • This reply was modified 2 months, 2 weeks ago by  fabianski.
    • This reply was modified 2 months, 2 weeks ago by  fabianski.

    Currently the link is showing like this:

    <a href="<?php echo wp_login_url(); ?>" class="login"><?php _e( 'Login', 'theme' ); ?></a>

    change wp_login_url() to wp_login_url( get_permalink() ) seems to fix that.

    Thanks!

    Plugin Author NicolasKulka

    (@nicolaskulka)

    Good, nothing for me ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.