locked
Can I define a site collection on the root of a wildcard managed path RRS feed

  • Question

  • I have defined a wildcard managed path name “documents”, and then I created the following site collections under it:-

    ../documents/HRDept
    ../documents/SalesDept
    etc.

    But the problem i am facing is that I can not define a site on the root of the managed path, and if I try to navigate to the following address “http://../documents/” no page will be displayed.

    So if there a way to define a site collection on the root of a wild card managed path ?.

    Tuesday, May 21, 2013 10:07 PM

Answers

  • Hi john,

    Since the two managed paths cannot have the same name, another workaround is adding a higher level managed path before the "documents".

    Wildcard managed path "xyz/documents" is for creating the department site collection.

    Wildcard managed path "xyz" is for creating the documents site collection.

    Thanks


    Daniel Yang
    TechNet Community Support

    • Marked as answer by Jack-Gao Monday, June 3, 2013 10:02 AM
    Friday, May 24, 2013 2:37 AM

All replies

  • If you want to create root site at /documents path. Than you've to create all site collections (/documents, /documents/hrdept, /documents/salesdept) through explicit managed path type. There is a 20 managed path limit per web application. Here is a related thread to your question: http://social.technet.microsoft.com/Forums/en-US/sharepointadminprevious/thread/0b7a49b0-6174-4afb-897e-835184e11bfa/
    Wednesday, May 22, 2013 2:17 AM
  • Hi john,

    If you want to create a site collection with the URL http://server/documents/, you can create a Explicit inclusion "documents", then create a site collection on the root of this managed path.

    http://technet.microsoft.com/en-us/library/cc288905(v=office.14).aspx

    http://sharepoint.microsoft.com/blogs/zach/Lists/Posts/Post.aspx?ID=30

    Thanks


    Daniel Yang
    TechNet Community Support

    Wednesday, May 22, 2013 1:04 PM
  • but in this way i can deine only one site collection, while in my case i need a site collection for each dept.

    Wednesday, May 22, 2013 2:23 PM
  • Hi john,

    For your requirement you need to create both 2 types of managed path, create an Explicit inclusion "documents" for your root site collection as http://server/documents/, and create another Wildcard inclusion "documents" for other department site collections.

    Thanks


    Daniel Yang
    TechNet Community Support

    Thursday, May 23, 2013 2:01 AM
  • can u explain your point in more details how i can define two managed path that have the same name "documents " ?

    Thursday, May 23, 2013 8:19 AM
  • Hi john,

    Sorry for that incorrect information, two managed paths couldn't have the same name.

    Then you may need to create each "Explicit inclusion" type managed path for each site collection to achieve your goal.

    Thanks


    Daniel Yang
    TechNet Community Support

    Thursday, May 23, 2013 8:37 AM
  • but does creating a new managed path for each department considered to be poor design option ?
    Thursday, May 23, 2013 11:21 AM
  • Hi john,

    Since the two managed paths cannot have the same name, another workaround is adding a higher level managed path before the "documents".

    Wildcard managed path "xyz/documents" is for creating the department site collection.

    Wildcard managed path "xyz" is for creating the documents site collection.

    Thanks


    Daniel Yang
    TechNet Community Support

    • Marked as answer by Jack-Gao Monday, June 3, 2013 10:02 AM
    Friday, May 24, 2013 2:37 AM