5 ms·
Is it possible to create a multiple-level (nested) multisite setup with Drupal? I am looking for to have a separate site for: example.com/, example.com/a, exam
by isoos 11y ago
Is it possible to create a multiple-level (nested) multisite setup with Drupal?
I am looking for to have a separate site for: example.com/, example.com/a, example.com/b, example.com/a/123, example.com/a/234?
If not drupal, is there an alternative (wordpress plugin?) to achieve the same?
- donutdan4114 11y agoYes, possible. https://www.drupal.org/node/2297419 https://www.drupal.org/node/2297419
- isoos 11y agoYes, I have seen that, but it is not clear to me whether that allows multiple levels and/or nested multisites.
- jackbravo 11y agoThis is probably easier to maintain (code wise) using different root folders, but configuring the http output folder within apache or nginx configuration.
- ksenzee 11y agoYes. Drupal itself is moving away from multisite and toward this kind of setup. Disk space is cheap now. Unless you're talking about literally thousands of sites, and you have the Drupal expertise on your team to manage that kind of setup, use separate root folders.
- deleted 11y ago[deleted]
- jh3 11y agoproject_root/sites/example.com project_root/sites/example.com.a project_root/sites/example.com.b project_root/sites/example.com.a.123 project_root/sites/example.com.a.234 Create these directories. Add a settings.php file to each. Add stuff to sites.php if needed. example.com.a and example.com.b should definitely work. Not too sure about the other two because I haven't created a site in a multi-site setup that is 2 subdirs deep, but it is easy enough to try. You may also need to symlink the subdirectories (e.g. a) in project_root. See "Subdirectory multi-site" here: https://www.drupal.org/documentation/install/multi-site https://www.drupal.org/documentation/install/multi-site