• Resolved iltdevunit

    (@iltdevunit)


    When I go to site2.domain.com/register (I’m using the Theme My Login plugin) it redirects to network.domain.com (the main site).

    I realise this is a default behaviour of WordPress, but I was under the impression that checking ‘Redirect administration pages to site’s original domain (remote login disabled if this redirect is disabled)’ would solve this issue.

    Does anyone know if the mu domain mapping plugin should allow me to register at site2.domain.com/register instead of redirecting to the main site?

    http://wordpress.org/plugins/wordpress-mu-domain-mapping/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    When I go to site2.domain.com/register (I’m using the Theme My Login plugin) it redirects to network.domain.com (the main site).

    That’s the way WP works (whether or not you have a domain mapped to the site).

    Thread Starter iltdevunit

    (@iltdevunit)

    Hi Ron. But I thought the domain mapping plugin can override this?

    But I found that Theme My Login caused the issue. On line 78 of class-theme-my-login-ms-signup.php there is:

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

    I commented that out and MU Domain Mapping keeps the login/registration process on the subsite, instead of directing to the main site, as it did before.

    Thanks

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