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?
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?
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