Support » Networking WordPress » creating multiple network

  • Resolved happyyasu09


    So i’m stucked a little XD
    So some tech info first.
    I’m runnig Ubuntu server, with Virtualmin server manager on top of it. The thing is that wirtualmanager has the capabilities to create what i need, but i still don;t have much knowledge on what should i do. Also i’ll be creating sub-domains for child networks manually adding a sub-servers to parent-server. BUT the sub-servers creation is storing all the new data and “/”-path to “/home/parentserver/domains/subserver1/public_html” etc. so WP-multi-network plugin is not an option, cuz i can’t understand what should i write in wp-config line that defines the root of new network, cuz the root of that child network implmented by the server as “/”, so and parentserver is also “/” but they have different folders inside a parentserver. Oo

    I’m trying to create a WP network with child WP networks. so it will look like this: (WPMU installation with sub-dirs, maybe a buddypress also) (WPMU installation with sub-dirs) (WPMU installation with sub-dirs) (WPMU installation with sub-dirs)

    All of this child networks should have their own wp-contents, and also they should have other blogs in them, in sub-dirs (not sub-domains!!):

    Also as you can understand all the networks should share USERS database. so all the users from one network could easily post message crossnetwork, and crossblogs. Although somehow there should be crossnetwork linking, maybe in header-bar, so users could easily access at least networks (i mean that when viewing one network, users can click on top-menu and go to another network at least. and on that network top-bar should be links to other networks, and to it’s own blogs.)

    So i found some solutions, like defining per each wordpress installation a special user table, in this message
    but will it work for a bunch of networks?

    How to share cookies i know, it should be defined like this in each network installation:

    define('COOKIE_DOMAIN', (''));
    define('ADMIN_COOKIE_PATH', '/');
    define('COOKIEPATH', false);
    define('SITECOOKIEPATH', false);
    define('COOKIEHASH', md5(''));

    so the cookies will used from the parentnetwork.

    So the two questions am i right by doing this or not, and second one how to implement crossnetwork linking?
    Also will buddypress work only on mainnetwork or will it work on different networks, also if it will work not only mainnetwork, will it have different comments, groups and other stuff? or will it still share everything across the whole network of networks?

    Thanks in advance.

    some more info: i don’t need to share any folders, they must be separated. i don’t need sharing of comments, groups and other written data all over the network. Only users, cookies, and links to networks should be shared. XD

    Thanks in advance one more time XD

Viewing 9 replies - 1 through 9 (of 9 total)
  • Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    Yes, you can do this with a multi network plugin.

    Make the install a subFOLDER install.

    Make each new network a subDOMAIN.

    Your cookies will be fine, everything else will be fine. You’re looking for it to be hard & overthinking it.

    Out of the box, the buddypress part will keep track of all users across all networks – because there’s only ONE user table. It’ll share everything, is that what you want?

    Put the links to the other networks wherever you like.

    Umm, Thanks Andrea but i did it the way i managed to do it XD.
    Couldn’t find any normal documentation on multi network plugin, at least couldn’t find anything about making each network a subdomain, though found a lot about creating a sub-folder networks 😕 If you do have a normal documentation, could you point me to it, cuz google not helping at all T_T
    Though i did managed to create network with child networks as subdomains, i mean working one, with shared users database but different metauser bases, because if share i can’t login anywhere except for the first network, and i did found a problem that in usermeta (let’s say wpglobal_usermeta) mothing adds or changes on the new installation, so i undefined that from wp-config, and installed once again, and it worked, though i needed to tweek some bases in wp_user. The option was, to make clean install of each blog, and than define shared userdB, and delete all others userdB’s =)
    And i do needed to have different Buddypress. And doing by my method did it somehow Oo, i mean 4 different networks and 4 different buddypresses Oo, if i’m changing in one network something, nothing happens to another bp Oo. It would be more convinient for us as i’m planning to run such network in closest future. I mean,right now we have 1 phpbb3 forum, 1 vBulletin board and 1 CMS based (awfull, usless russian variant of facebook). Each of them have different content and people have different interest, means this:
    phpbb3 used for some uploads, creations, downloads, subscribers downloads.
    vbulletin used for fan-writing, and discussing of music idols
    the last one is used for blogging (by doing it awfull way, unconvenient and so on,) and some groups managment.
    So due to that i’m admin in all of them, and all the administrators trying to find something more stable and more normal, convinient, and let’s say more extendable (per user design, and so on XD) so i said let’s make something on wordpressMU + buddypress. but after that i understood that the top-menu will be overrun with huge number of differet blogs, and groups, and wiki pages. Oo, so i thought that we need at least 4 networks, for maintaining huge population. so each network will have its own blogs, and buddypresses. Although we don’t need buddypress on main site, it should be only personal blogs and main-announce-news-bla-bla blog. I can upload a structure of the thing we need to at least try to create, but a little bit latter, cuz i’m still trying to get everything right and in places, so i won’t be stucked again XD

    Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    I don’t know why you think you’d need 4 network to handle a huge population when it’s all part of the same install anyway. You’re just making more work for yourself.

    networks+ is a paid plugin with all the documentation you’d ever need.

    multiple separate buddypresses (which I don’t think you need anyway)

    XD here is a problem lies – paypal is not working with russian visa cards (at least none of my friends couldn’t register their cards, neither could i), so your solution is not a way, until paypal workout with that issue T_T
    for multiseparate buddypress i’ll say a huge thanks, that should work, bu i still have to understand how to work the other one multisite plugin doh. T_T

    Andrea_r – okey, now i understand nothing Oo so the multi networks plugin can create folders by itself? Oo and i shouldn’t make all that movements, with id’s and other stuff? So and the subdomains, i should write in domain-text-pole?
    So i’ll create a new server, and try everything once again. Thanx for plugins and help, i’ll not change the status to solved, until i’ll get it work XD maybe there would be some other problems duh T_T

    Okey, i don’t see any solution anywhere, for some strange reason the wp-multi-site doing absolutely nothing, and i mean really nothing. It just creates a new line with name of new network, that all. Okey manually copying, manually editing wp-config.php and our site opens but only into dashboard. The site itself is blank, and in dashboard there is nothing in plugins and themes directory Oo. so i don’t get it, what exactly the wp-multi-network is doing? Also it somehow appears not in Network Admin but instead in Site Admin Oo.

    Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    You don’t copy files for as new network.
    You don’t edit wp-config other than to edit out 4 lines specific to the main site.

    The multi network plugins create another network in the db, called a “site”. They can have blogs.

    You need to go to that new network address and the network admin there to actually admin it.

    Yes it creates, but if i don’t manually copy contents to subdomain folder, it just says “404 Not Found” page, Apache: have the records of new subdomain, dns: have the records, wildcards: have records, even networkhost: have record about the new domain. But still not working, and than if i manually add all the files from the main installation, to that sub-domain installation, and create a symlink for wp-contents, everything works. So step by step what i’m doing:

    1) Creating a new subdomain
    2) Virtualmin automatically adds all needed information: home directory, dns records, apache records, ip address from pool, and etc.
    3) Than i’m creating a new record in networkhost,
    4) I’m going to wp-multi-network and create new network:
    Name: something
    Path: / (because apache points that root folder of subdomain is in /parent_root/child)
    Site Name: something.
    5) It successfully creates a new line in sitesdB
    6) Trying to open by entering new address – no site found.
    7) Copying files and creating a wp-content symlink.
    8) Trying to open by entering new address – works.

    So you say don’t copy files, okey, how the apache will find that there is a site over there? there should be some files to access right? No files – no site. Or i’m not understanding something?

    Sorry, for mess XD i founded. Yep, i forgot that a new sub-domain is not automatically records itself within networkhost.
    Thanks for help though, Andrea_R.

    For those who have webhostnames, should manually add each sub-domain\sub-server\master-server\or any other thing to webhostnames table. That should do.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘creating multiple network’ is closed to new replies.