Support » Plugin: WooDiscuz - WooCommerce Comments » Login link points to wp-login.php

  • We are testing this plugin on a multi-site install. The login link on the comment points to wp-login.php while other login links for logging in point to /my-account/ instead. The problem with this is the wp-login.php link takes the user to the network domain in a multi-site install instead of the login page for the child site.


    User clicks login link in other areas, they get this page: (preferred destination)

    User clicks login link in this plugin they are taken here: – which immediately redirects to here: (not good)

    Not sure if this is because registration is disabled for the network at the moment. Is that what would cause this? Or is this plugin not multi-site compatible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Is there no support for this plugin?

    Plugin Author gVectors Team


    This is WordPress core login URL, it can’t be changed from WooDiscuz. Id recommend to use WordPress hooks:

    add_filter( 'login_url', 'my_login_linkchanger');
    function my_login_linkchanger( $link ) {
      return home_url( '/your-login-page-slug/');

    So what is the login process supposed to be with this plugin on a multi-site installation then, or is it not compatible with multi-site? How do I edit the configuration so that the user never sees the network domain and stays on the site within the network domain? Or do I have to customize the WP files to make it work?



    Also, mind me, since this is WooDiscuz – WooCommerce Comments, it should redirect to the WooCommerce login, not WordPress login… 😉

    I also need to redirect users to to be able to use the plugin, since the wordpress login is reserved for admins and usually hidden from customers or users.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Login link points to wp-login.php’ is closed to new replies.