The MU forums have moved to

Subdirectory signup problem (7 posts)

  1. cmcnabb
    Posted 16 years ago #

    I've got an issue that I need help with. The setup I've got is three blogs in their own subdirectories.

    When trying to get to wp-signup.php (ie. I end up in a loop redirect because of this code (in wp-signup.php ~line 20):

    if( $current_blog->domain . $current_blog->path != $current_site->domain . $current_site->path ) {
    	wp_redirect( "http://" . $current_site->domain . $current_site->path . "wp-signup.php" );

    Initially the redirect happens because current blog is and current site is The second redirect happens because current blog is null (there isn't a blog at

    If I change the main blog to live at (which is preferable), the signup works properly, but then requests for posts on the main blog fail. For a post like the code in wpmu-settings redirects to signup because there's no blog at

    Is there some setting I'm missing here?

  2. lunabyte
    Posted 16 years ago #

    So, you have 3 complete installs of MU then?

    Or are you trying to register new blogs under blogs already created in MU?

  3. cmcnabb
    Posted 16 years ago #

    1 install of MU with three blogs created under one site.

  4. lunabyte
    Posted 16 years ago #

    Then you're trying to do something which isn't correct.

    You don't create a couple blogs in MU, and then try to make blogs underneath those.

    All blogs will be located off of the site root.

  5. cmcnabb
    Posted 16 years ago #

    Please explain how it SHOULD be then, because it appears to me that I do have it that way. Namely the site root of with 3 blogs off of it and created with wpmu-admin. 3 blogs on one site... only signup redirects to the root which doesn't work.

  6. lunabyte
    Posted 16 years ago #

    Blog signup goes from the main blog, foo.tld not from the subblogs which were created.

    "foo.tld/wp-signup.php", not "foo.tld/blog1/wp-signup.php".

    Users will get: "foo.tld/username/", not "foo.tld/blog1/username/".

    That how it works.

  7. fritzdsouza
    Posted 16 years ago #

    hi cmcnabb

    with my little knowledge of mu installs so far
    if the blog exists
    say for example then mu does show that blog
    if it does not and someone types the url and if registrations are enabled by site admin it redirects the user to and asks the user that the blog is not created with that name and whether you would like to register one

    on mu every blog that is registered in subdirectory mode
    does get a url of the sort if it is properly registered and activated

About this Topic

  • Started 16 years ago by cmcnabb
  • Latest reply from fritzdsouza