Support » Networking WordPress » WP3.0 network wildcard redirect to wp-signup.php

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    What’s in your .htaccess?

    What happens if you make a non-wp created subdomain? Does that work?

    I’m not sure I’m following your question clearly, but I’m working on little sleep.
    http://mysite.com works great (main site)
    http://moggiepillar.mysite.com (network site) works great
    http://nonsense.mysite.com (made up subdomain) doesn’t work, it goes to the /wp-signup.php?new=nonsense page.

    .htaccess is what the wp network install said copy/paste and nothing any different.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    </IfModule>
    
    # END WordPress

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    Never mind, the question was useless now that I think about it! 🙂

    I think your .htaccess is okay (I have the one for subfolders, so it’s a little different).

    Andrea Rennick

    (@andrea_r)

    Customer Care at Copyblogger Media and Studiopress

    http://nonsense.mysite.com (made up subdomain) doesn’t work, it goes to the /wp-signup.php?new=nonsense page.

    But that’s *exactly* what is supposed to happen. 🙂 It find a site that doesn’t exist, so it redirects you to the signup page.

    If you don’t want it to do that, your only other option is to use the noblogredirect to just go to the main page instead.

    well, on this site I don’t want it to go to the signup page. And when I use the noblogredirect route I get

    The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    
        * This problem can sometimes be caused by disabling or refusing to accept
        cookies.

    So I misunderstood the “what it was supposed to do” in a WordPress install. Understanding that, that setup for another site is all good, but for this one I need to make this work via the noblogredirect route.

    Shall we close this and continue discussion over here:
    http://wordpress.org/support/topic/414816?replies=7

    😀

    copied from other thread for reference:

    // If VHOST is ‘yes’ uncomment and set this to a URL to redirect if a blog does not exist or is a 404 on the main blog. (Useful if signup is disabled)
    // For example, the browser will redirect to http://examples.com/ for the following:

    define( ‘NOBLOGREDIRECT’, ‘http://example.com/’ );

    Commented text is what was originally in MU.

    the code goes in the wp-config file.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WP3.0 network wildcard redirect to wp-signup.php’ is closed to new replies.