Configure Managed Paths in SharePoint 2010

In this post we will discuss how to configure managed paths in SharePoint 2010. A managed path is a location within a web application in which you can have site collections in SharePoint 2010.

1) Browse to Central Administration -> Applications Management -> Manage Web Application

2) Choose the web application where you want to implement managed paths.

3) Select Managed Paths from the ribbon

Explicit Inclusion:
When we are not planning to create further site collections under a specified managed path, then we use this option. Explicit Inclusion Managed paths allows in creation of only one site collection at the exact given URL.

In our case explicit would be the only site collection that can be created. SharePoint will allow creating only one site collection within this Managed Path.



The URL would be: http://servername:port/explicit

Wildcard Inclusion:
When we want to create more than one site collection under a specific managed path, we use this option. Wildcard Inclusion Managed Paths allow unlimited site collection to be created under a given URL.

In our case under wildcard, we can create any number of site collections.

The URL of these site collections would be as below:

http://servername:port/wildcard/sitecolelction1
http://servername:port/wildcard/sitecolelction2
http://servername:port/wildcard/sitecolelction3
http://servername:port/wildcard/sitecolelction4

How to add a Managed Path using PowerShell?

You can use the New-SPManagedPath cmdlet to add managed paths for a Web application

Syntax:

New-SPManagedPath -RelativeURL “Relative URL” -WebApplication <Web Application URL>
“Relative URL” is the relative URL for the new managed path. The type must be a valid partial URL, for example, sites, teams,etc.

<WebApplication URL> is the Web application url where you want to add this managed path.

How to Remove a Managed path using PowerShell?

You can use the New-SPManagedPath cmdlet to add managed paths for a Web application

Syntax:
Remove-SPManagedPath -Identity <<Managed Path Name>> -WebApplication <Web Application URL>
“Managed Path Name” is the name of managed path.


<WebApplication URL> is the Web application url where you want to add this managed path.

Check out Best Alternative to InfoPath -> Try Now

You May Also like the Following SharePoint Online Tutorials: