• 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.

    Example…

    User clicks login link in other areas, they get this page:
    https://site-name.com/my-account/ (preferred destination)

    User clicks login link in this plugin they are taken here:
    https://site-name.com/wp-admin.php – which immediately redirects to here:
    https://network-domain.com/site-name/wp-login.php (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)
  • Thread Starter LudachrisGSX

    (@ludachrisgsx)

    Is there no support for this plugin?

    Plugin Author gVectors Team

    (@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/');
    }
    Thread Starter LudachrisGSX

    (@ludachrisgsx)

    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?

    Filipe Costa

    (@filipecostacom)

    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 domain.com/my-account to be able to use the plugin, since the wordpress login is reserved for admins and usually hidden from customers or users.

    Thanks

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