• Hi,

    Is it possible to have a subdomain Network, and each subdomain network site can have subdirectory sub-network sites?

    e.g.
    https://www.example.com

    sub1.example.com (network site)
    sub2.example.com (network site)
    sub3.example.com (network site)

    sub1.example.com/dir1 (multi network 1 site)
    sub1.example.com/dir2 (multi network 1 site)
    sub1.example.com/dir3 (multi network 1 site)

    sub2.example.com/dir1 (multi network 2 site)
    sub2.example.com/dir2 (multi network 2 site)

    sub3.example.com/dir1 (multi network 3 site)

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter SRD75

    (@srd75)

    I found this: https://github.com/gabethegrape/wp-multi-network-on-subdomains

    I have created the network site sub1.example.com

    @ sub1.example.com/wp-admin/network, I have created sub1.example.com/dir1.

    However, when I try to load sub1.example.com/dir1/wp-admin, I receive an error:

    sub1.example.com redirected you too many times.

    Help appreciated.

    I am looking for the same answer. Can domains be setup with subdirectories below them. And one step further, will the users in each domain be shared between the domain’s subdirectories but not the other domains?

    I don’t know if this would work but here’s a suggestion that may make this possible (depending on your hosting)…

    • Create your multisite to use subdirectories (NOT subdomains!)
    • Create each new network using the subdomain as the network domain
    • Make sure on your hosting and/or DNS settings that each subdomain points to the main domain where the WordPress installation is

    Does that make sense?

    slingblade01

    (@slingblade01)

    This worked well for the first network and first site.
    I have:
    example.com
    subdomain1.example.com
    subdomain1.example.com/subdirectory1

    But when I create subdomain2.example.com I get “Server not found”.

    I feel like I’m missing something simple.

    Justin Fletcher

    (@justinticktock)

    @singblade01 – don’t use (subdomain) as amibe says use sub-directories, so it would be …

    http::/example.com (< main domain)
    http::/example.com/subdirectory1 (< first subdomain)
    http::/example.com/subdirectory2 (< second subdomain)

    all three point to the folder where the wordpress network is installed e.g. to example.com’s public folder. My method of choice for multisite is to create a new network for every new domain so (nextexample.com) when added to the same wordpress installation would be a new network with subsite to extend e.g. nextexample.com/subdirectory1 or nextexample.com/subdirectory2.

    to answer your question “will the users in each domain be shared between the domain’s subdirectories but not the other domains?” – Yes the user table/list is the same for all networks or all sites within networks. However, each site will only have the users that have been given access to that site, so each site needs to have its own list of users maintained even if the users are on the big networks/sites complete list behind the scenes too.

    hope it helps.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Subdomain Network & Subdirectory Multi-Network?’ is closed to new replies.