I have to rename the /Sites directory to /Tasks.
Eg. http://pc18:1818/sites/task1 to http://pc18:1818/tasks/task1.
Is this Possible? How can I do this?
I have to rename the /Sites directory to /Tasks.
Eg. http://pc18:1818/sites/task1 to http://pc18:1818/tasks/task1.
Is this Possible? How can I do this?
Yes, you can achieve this via Powershell by using the following script to rename sub-site / site collection
$site = Get-SPSite http://pc18:1818/sites/task1
$uri = New-Object System.Uri("http://pc18:1818/tasks/task1")
$site.Rename($uri)
Then force the Content Database to refresh its site map with this:
((Get-SPSite http://pc18:1818/tasks/task1).contentdatabase).RefreshSitesInConfigurationDatabase
Then perform IISRESET
For more details check the detailed story at How to Rename SharePoint 2013 Site Collections Without Prayer or Sobbing