• Hi,

    I need to make some blogs as sub domain to my web site (private use).

    Currently website have a home page using with MediaWiki installed. So i can’t install wmpu on the main web site.

    Is there anyway to get wordpess subdomain under my domain with out installing wmpu on main domain ?

    Some thing like i install WPMU on a sub domain of my site like

    wmu.mydomain.com

    Then when createing new blog, instead of creating new blog like

    newblog.wpmu.mydomain.com

    I need it created like

    newblog.mydomain.com

    Let me know if there any way i can implement it.

    Thanks,

    Santhosh

Viewing 1 replies (of 1 total)
  • Thread Starter flashweb

    (@flashweb)

    I think i found a solution. Edit wp-admin/wpmu-edit.php

    Find

    if( constant( ‘VHOST’ ) == ‘yes’ ) {
    $newdomain = $domain.”.”.$current_site->domain;
    $path = $base;
    } else {
    $newdomain = $current_site->domain;
    $path = $base.$domain.’/’;
    }

    Replace

    $newdomain = $domain.”.”.$current_site->domain;

    With

    $newdomain = $domain.”.mydomain.com”;

    Let me know if there anything wrong in doing this.

Viewing 1 replies (of 1 total)
  • The topic ‘Sub Domain of already existing web site’ is closed to new replies.