WordPress.org

Ready to get started?Download WordPress

Forums

Problem on the name of subdomains blog (14 posts)

  1. enrican1976
    Member
    Posted 3 years ago #

    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.

  2. 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.

  3. enrican1976
    Member
    Posted 3 years ago #

    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.

  4. wolfsteritory
    Member
    Posted 3 years ago #

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

  5. 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.

  6. enrican1976
    Member
    Posted 3 years ago #

    Yes

  7. enrican1976
    Member
    Posted 3 years ago #

    It could be a misconfiguration of the server?

  8. 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

  9. enrican1976
    Member
    Posted 3 years ago #

    Thank Ipstenu for your answer,

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

  10. enrican1976
    Member
    Posted 3 years ago #

    Is listed as higringo.com

  11. enrican1976
    Member
    Posted 3 years ago #

    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?

  12. 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...

  13. enrican1976
    Member
    Posted 3 years ago #

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

  14. enrican1976
    Member
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.