• Hi
    I was trying to change Login url , using your guide in a post in this forum… I used this code in theme function

    add_filter( 'login_url', 'my_login_linkchanger');
    function my_login_linkchanger( $link ) {
      /* Login Fix */
      return home_url( '/login');
    }

    and it totally works, the only missing part is it loses the function to redirect to previous page after login … would you please give a fix for that.

    • This topic was modified 8 years, 6 months ago by samkurd.
    • This topic was modified 8 years, 6 months ago by samkurd.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi samkurd,
    That issue does not related to wpDiscuz. Deactivate wpDiscuz and use it in proper form according to the guide.

    Thread Starter samkurd

    (@samkurd)

    thanks @aghasi for your reply
    wp-discuz works smoothly on my website, and since I have changed the main login page, due to security resons, I wanted to wp-discuz be using the public login page. and I honestly don’t get what do you mean by deactivating and using it in proper way?

    is there any other solution to change the login url in wp-discuz, that keeps the redirection function?

    Hi samkurd,
    As was said, please deactivate wpDiscuz, start from the beginning according to the guide.
    I am sure you can get what you need.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect missing after changing Login URL’ is closed to new replies.