• Resolved Tim2376

    (@tim2376)


    Hi Guys!

    I have a question… I am still in the planing mode so I wanted to see if this is an option.

    Basically, I have a website that does not have wordpress on the primary domain. I would like to install the wordpress multistite as a sub domain. For example like this:

    multisite.mysite.com

    Then, when I create my sub wordpress sites I would like it to be like

    newsite1.mysite.com
    newsite2.mysite.com

    instead of something like newsite.multisite.mysite.com

    is there a simple way to accomplish the ability to have all the the new sites off the main domain even though the multisite itself is a sub domain? Thanks!

    Regards,

    Tim

Viewing 3 replies - 1 through 3 (of 3 total)
  • Yes you can do that with WP multisite subdomain using the MU domain mapping plugin – https://www.ads-software.com/plugins/wordpress-mu-domain-mapping/

    That is our exact configuration:
    mainsite.usc.edu
    site1.usc.edu
    site2.usc.edu
    etc…

    We configured WP site with mainsite.usc.edu. When we create a new site, we immediately name it site1.usc.edu, then add the hostname to the Domain Mapping plugin. Has been working well for us for over 1 year. We have about 100 sub-domain sites.

    Hmm, now that I think about it… we did have to make some modifications for passing login info across our domains. Essentially, you will have problems with HTTP cookies not be passed properly and you will have to login to each sub-domain. I made a mod to sunrise.php (MU Domain Mapping plugin file) to make sure the cookie is set for our domain.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    FWIW, the cookie passing is only working because you’re on usc.com – If the domain NAMES changed, you’d be SOL.

    And even then, some browsers will still act like the world’s best goalie and deny you ??

    Thread Starter Tim2376

    (@tim2376)

    Thanks for answering my question guys! I will have to look into using that plugin jkhongusc. It is nice that I am not the first one trying to do this. I really appreciate you guys taking the time to help me out. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Question – multisite on a sub domain with the sites off the main domain’ is closed to new replies.