Managed Path in SharePoint 2013

managed path sharepoint 2013

In this article we are learning what Managed path in SharePoint 2013 and how to create managed path from both Central admin and PowerShell. Same way we can create managed path in SharePoint 2016 also.

What is Managed Path in SharePoint 2013?

In SharePoint we can specify the custom path in URL namespace of a web application while creating site collections. This is known as a Managed path.

In SharePoint we have 2 type of Managed Paths, they are:
1. Wildcard inclusion
2. Explicit inclusion

Wildcard inclusion:

This allows Farm admin to create multiple Site Collections to the path that you specify. For example, if you add “/Sales” as a wildcard inclusion to your web application http://COSTCOSales.com, then you will be able to create multiple site collections with the newly added managed path.

Syntax: http://costcosales.com/Sales/{Your site collection Name}

Ex: http://costcosales.com/Sales/NewOffers

Explicit Inclusion:

This allows Farm admin to create only one Site Collection to the path that you specify. For examples, if you add “/finance” as an Explicit inclusion to your web application http://COSTCOSales.com , then you will be able to create only one site collection with the newly added managed path.



Note: All top level site collections are Explicit Inclusions.
Syntax & Ex: http://COSTCOSales.com/finance

Read some SharePoint 2013 tutorials on:

Creating managed paths from Central Administration:

1. Log on to desired Application Server with FARM Administrator account
2. Open Central Administration
3. On the the SharePoint Central Administration website, click Application Management.
4. On the Application Management page, click Manage web applications.

managed path sharepoint
managed path sharepoint

5. Click the web application for which you want to manage paths, the ribbon becomes active.
6. In the Manage group of the ribbon, click Managed Paths.

managed path sharepoint 2016
managed path sharepoint 2016




7. On the Define Managed Paths page, in the Add a New Path section, type the path to include.
8. Click Check URL to confirm the path name.
9. In the Type list, select either Wildcard inclusion or Explicit inclusion to identify the type of path.
a. The Wildcard inclusion type includes all paths that are subordinate to the specified path. The Explicit inclusion type includes only the site that is indicated by the specified path. Sites subordinate to the specified path are not included.
10. Click Add Path.
11. When you have finished adding paths, click OK.

managed path sharepoint 2013
managed path sharepoint 2013

Delete managed paths from Central Administration:

1. Log on to desired Application Server with FARM Administrator account
2. Open Central Administration
3. On the the SharePoint Central Administration website, click Application Management.
4. On the Application Management page, click Manage web Applications.
5. Click the web application for which you want to manage paths. The ribbon becomes active.
6. In the Manage group of the ribbon, click Managed Paths.
7. On the Define Managed Paths page, in the Included Paths section, click the check box next to the path that you want to remove.
8. Click Delete selected paths.



managed path sharepoint online
managed path sharepoint online

Add & Delete managed paths from PowerShell in SharePoint 2013:

As we all know any operation in SharePoint can be performed from PowerShell.

Adding Managed paths using PowerShell:

Wildcard inclusion:
Syntax:
NEW-SPManagedPath “<managed path name>” –WebApplication “<web Application URL>”

Example:
NEW-SPManagedPath “Offers” –WebApplication “http://COSTCOSales.com”

Explicit inclusion:
Syntax:
NEW-SPManagedPath “<managed path name>” –WebApplication “<web Application URL>” -Explicit

Example:
NEW-SPManagedPath “Offers” –WebApplication “http://COSTCOSales.com” –Explicit

Deleting managed paths using PowerShell:

Sysntax:
Remove-SPManagedPath [-Identity] <ManagedPathName> -WebApplication <WebApplication>

Example:
Remove-SPManagedPath [-Identity] Offers -WebApplication “http://COSTCOSales.com”

Conclusion:

Here we had discussed what is managed path in SharePoint? How to create managed path from SharePoint 2013 central administration? How to create managed path using PowerShell in SharePoint 2013? And then we saw how we can delete managed path from central administration and by using PowerShell?

Similar SharePoint 2013 Tutorials


About Krishna Vandanapu

I am Krishna.Vandanapu a SharePoint architect working in IT from last 12 years, I worked in SharePoint 2007, 2010, 2013, 2016 and Office 365. I have extensive hands on experience in customizing SharePoint sites from end to end. Expertise in SharePoint migration tools like Sharegate, Doc Ave and Metalogix. Migrated SharePoint sites from SharePoint 2007 to 2010 and 2010 to 2013 several times seamlessly. Implementing CSOM with Microsoft best practices. Spent quality time in configuring SharePoint application services like User Profile, Search, Managed Meta data services etc. Now exploring SharePoint Framework and SharePoint 2019

View all posts by Krishna Vandanapu →

Leave a Reply