I am on a VPS running Nginx as a backend server.
I want to set up a sub-directory multisite WordPress installation, however I want all sub-sites to be under one sub-domain also. For example:
My main site:
domain.com
Subsites:
clients.domain.com/site1
clients.domain.com/site2
clients.domain.com/site3
I realise I can install another copy of WordPress under clients.domain.com
and use that as the Multisite home, however since domain.com
is already running WordPress this strikes me as inefficient in terms of management and disk space especially as I only wish to serve a login page at the root of that subdomain anyway.
I also realise I can redirect all requests to clients.domain.com
to domain.com
however I don't want the subsites or their related files to be accessible via domain.com/site1
. The subsites should recognise their parent site as being domain.com
.
What is the best method for going about this?