Viewing 15 replies - 1 through 15 (of 23 total)
  • define( ‘NOBLOGREDIRECT’, ‘www.myprimarydomain.com’ )

    in wp-config.

    Thread Starter Michelle Langston

    (@chellycat)

    Thanks for your help. I added that code and I got this error:

    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.

    This is the code I have in my wp-config:

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'www.pondersphere.com' );
    define( 'NOBLOGREDIRECT', 'www.pondersphere.com');
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    Yes, I’m getting the exact same response as chellycat. Just posting here for reference sake.

    Lemme go diggin’ gals. ??

    @thesmocklady – got your registration turned off? I know you’re looking for a different reason than the OP. ??

    Thread Starter Michelle Langston

    (@chellycat)

    Thanks, andrea_r! ??

    andrea_r I’ve done it both ways, registration turned off or on and I get the same page. I don’t want registration turned off as I am controlling optional private posts for registered members via a plugin.

    let me also say that adding the noblogredirect code drastically slows down the load time of my legitimate pages.

    like I mentioned in the other thread, redirecting to the signup page for a non-existant blog is default behavior.

    andrea_r, I got that so let me ask this way: is there any way with registration turned on to a have redirection of non-registered subdomains go to the main page not the wp-signup page?

    If not, is there any way with registration turned off to have redirection of subdomains go to the main page? I know I am supposed to be using the noblogredirection for this option, but I don’t like that I get a browser error page saying that the redirection will never complete.

    I understand that redirection to the wp-signup is default, but I don’t want the default behavior. I want to be able to allow users to sign up for reading my blog’s private posts AND have non-existent blogs be redirected to the main page. A plugin maybe? I didn’t want to go that route, but I will.

    There isn’t a plugin.

    there is only:

    // 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 https://examples.com/ for the following:

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

    Commented text is what was originally in MU.

    So yeah. Typo if you noticed. ?? Put the https:// in the address.

    woohoo!
    THAT worked as well as sped up the load time.

    Thank you so much for bearing with my questions and helping me work it out!

    hm.. it’s not working..
    my wp-config

    define('WP_ALLOW_MULTISITE', true);
    
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'www.academica.org.pl' );
    define( 'NOBLOGREDIRECT', 'www.academica.org.pl' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    if I enter the site https://academica.org.pl, blog is not aviable, no pages.
    ;(

    You’ve got https:// missing, you need:
    define( 'NOBLOGREDIRECT', 'https://www.academica.org.pl' );

    So yeah. Typo if you noticed. ?? Put the https:// in the address.

    I change from
    define( ‘NOBLOGREDIRECT’, ‘www.academica.org.pl’ );
    to
    define( ‘NOBLOGREDIRECT’, ‘https://www.academica.org.pl’ );

    and it still not working ??

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Accessing my primary URL without the “www” redirects to signup.php’ is closed to new replies.