Sites with different root directory
-
I’m researching the possibilities of using WordPress multisite for a small project, and wonder if this is possible.
Let’s say WordPress is installed with multisite functionality at blog.mysite.com. The sites then appears as subfolders:
blog.mysite.com/site1
blog.mysite.com/site2
blog.mysite.com/site3
…However, I want to further divide the blogs before the site name, so that I can create a sub-root directories for some sites, as in this example:
blog.mysite.com/a/site1
blog.mysite.com/a/site2
…blog.mysite.com/b/site3
blog.mysite.com/b/site4
…I want those /a/ and /b/ subfolders before the site names, so that the actual sites can be separated. Since it’s not possible to add slashes to the Site Address field while creating a new site, it doesn’t seem like it’s possible. Can it be done with a tweak or plugin?
I want the same user accounts to be usable for both /a/ and /b/, so I can’t install two copies of WordPress.
This would also work:
blog.mysite.com/site1
blog.mysite.com/site2
…blog.mysite.com/a/site3
blog.mysite.com/a/site4
…
- The topic ‘Sites with different root directory’ is closed to new replies.