Support » Networking WordPress » Problem on the name of subdomains blog

  • On my WPMU install 3.1.2 with subdomains when I create a new subdomain blog the name showed is blogmaindomaincom instead of blog.maindomain.com and I always have to correct it.

    This porblem can be caused becouse my main blog is setted like http://www.maindomain.com instead of maindomain.com or it’s a WPMU problem to fix?

    Thank in advance for this forum.

Viewing 13 replies - 1 through 13 (of 13 total)
  • It’s not wpmu any more. Please, it *does* make a difference in our answers.

    You’ve likely got something messed up in your config somewhere.

    Thread Starter enrican1976

    (@enrican1976)

    Hi Andrea,

    Thank for your answer this is my setting in wp-config

    I use WPMU install 3.1.2 with subdomains and Buddypress 1.2.8

    And this is how I configured my wp-config:

    /////////////////// WORDPRESS MULTISITO
    
    define ('WP_ALLOW_MULTISITE', true  ) ;
    
    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'higringo.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
    
    define( 'SUNRISE', 'on' );
    
    /////////////////// WORDPRESS MULTISITO
    
    /////////////////// BUDDYPRESS MULTISITO
    
    define ( 'BP_ENABLE_MULTIBLOG', true );
    
    global $blog_id;
    define ( 'BP_ROOT_BLOG', $blog_id );
    
    /////////////////// BUDDYPRESS MULTISITO

    You can find some mistake?

    Thank in advance.

    are you inserting the name of the new site when you are creating it or you leave it blank ?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    This porblem can be caused becouse my main blog is setted like http://www.maindomain.com instead of maindomain.com

    Actually if you look and what you posted, your main blog SHOULD be maindomain.com

    define( 'DOMAIN_CURRENT_SITE', 'higringo.com' );

    That line is higringo.com, NOT http://www.higringo.com So it’s possible you have a miss-match where the DB has some references to http://www.higringo.com and some do not.

    Thread Starter enrican1976

    (@enrican1976)

    Yes

    Thread Starter enrican1976

    (@enrican1976)

    It could be a misconfiguration of the server?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Of the database.

    Go into your database and look at the wp_blogs table.

    See if your site is listed as www.higringo.com or higringo.com

    Thread Starter enrican1976

    (@enrican1976)

    Thank Ipstenu for your answer,

    How can I find this miss-matchs on my DB?

    Thread Starter enrican1976

    (@enrican1976)

    Is listed as higringo.com

    Thread Starter enrican1976

    (@enrican1976)

    I had this error for subdomains before with http://www.higringo.com and now too with higringo.com , I change with notepad ++ from database created with http://www.higringo.com and I make sostitution of http://www.higringo.com with higringo.com and still have this problem.

    Some other ideas?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    You know, I REALLY hate that www domain.com gets turned into http://www.domain.com on this forum! Grrrrrrrrr!

    Andrea may remember what I’m missing here…

    Thread Starter enrican1976

    (@enrican1976)

    I understand you 🙂 but what you think about this strange problem. Whi my install take out from subdomain name the dots?

    Thread Starter enrican1976

    (@enrican1976)

    I reinstall all with http://www.higringo.com but I have the same problem.

    This happened with 3.0.5 too.

    There is a devil inside my code?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Problem on the name of subdomains blog’ is closed to new replies.