问题描述
我创建了一个名为"Test.nameofdomain.org"的以主机命名的网站集.我希望所有项目站点都位于一个名为"Test.nameofdomain.org/Projects"的位置. (即"Test.nameofdomain.org/Projects/Project A")
I created a hostnamed site collection called "Test.nameofdomain.org". I'd like all project sites to sit in a location called "Test.nameofdomain.org/Projects". (ie "Test.nameofdomain.org/Projects/Project A")
但是,我不希望项目"成为网站集或子网站,我只是希望它成为路径的一部分.我正在研究托管路径,如果创建了项目",托管路径,然后在其下创建一个名为"Projects"的新站点 A",项目A"将是一个网站集.如何在托管路径中创建子网站(不是网站集)? 还是有另一种方法可以使这部分网址呢?
However, I don't want "Projects" to be a site collection or a subsite, I just want it to be part of the path. I'm researching managed paths and if I create a "Projects" managed path, and then create a new site under it called "Projects A", "Projects A" is going to be a site collection. How can I create a subsite (not a site collection) in a managed path? Or is there another way to just make this part of the url? Thanks in advance!
推荐答案
- Test.nameofdomain.org/项目/
,然后在其下有多个网站集,例如:
and then have multiple site collections beneath this such as:
- Test.nameofdomain.org/Projects/ProjectA
- Test.nameofdomain.org/Projects/ProjectB
,依此类推.实际上,这就是通配符包含管理路径的定义.在这样的路径中,实际上在位置Test.nameofdomain.org/Projects上什么都没有.这只是一条路.因此,似乎通配符包含已管理 路径符合您的初始要求.
and so on. This is in fact the definition of a wildcard inclusion managed path. In such a path, there is in fact nothing at the location Test.nameofdomain.org/Projects. It's just a path. So, it appears that wildcard inclusion managed paths meet your initial requirement.
对于第二个要求,沿着此路径创建子站点当然是可行的.假设ProjectA网站集是三个子网站:Sub1,Sub2和Sub3.您可以在ProjectA网站集下创建这些内容.路径 那么这些子站点将是:
As for the second requirement, creating subsites along this path, that is certainly doable. Let's say that the ProjectA site collection as three subsites: Sub1, Sub2 and Sub3. You create these under the ProjectA site collection. The paths to these subsites would then be:
- Test.nameofdomain.org/Projects/ProjectA/Sub1
- Test.nameofdomain.org/Projects/ ProjectA/ Sub2
- Test.nameofdomain.org/Projects/ ProjectA/ Sub3
- Test.nameofdomain.org/Projects/ProjectA/Sub1
- Test.nameofdomain.org/Projects/ProjectA/Sub2
- Test.nameofdomain.org/Projects/ProjectA/Sub3
参考
这篇关于在托管路径中为名为网站集的主机创建子网站(不是网站集)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!