• Hi,

    I’m using a multisite subdomain setup, with the mu domain mapping plugin.

    When I go to site2.domain.com/register it redirects to network.domain.com (the main site).

    Without TML, the mu domain plugin allows users to register on the subsite, without going back to the main site. It seems that TML undoes whenever the domain plugin does to get around this issue.

    Does anyone know a solution or workaround?

    https://www.ads-software.com/plugins/theme-my-login/

Viewing 1 replies (of 1 total)
  • Thread Starter iltdevunit

    (@iltdevunit)

    Well I’ve found what does the redirection on line 77 of class-theme-my-login-ms-signup.php

    if ( ! is_main_site() ) {
       wp_redirect( network_home_url( 'wp-signup.php' ) );
       exit;
    }

    I could just comment it out, but that would get blown away with future updates.

Viewing 1 replies (of 1 total)
  • The topic ‘Subsite registration redirecting to main site’ is closed to new replies.