Tuesday, November 15, 2011

Changing Site Collection URL

There are no out-of-the-box command in SharePoint to rename a site collection URL, to change the URL we need to recreate the site collection with new URL and restore the previous site collection
Source site Collection URl : http://sharepointdev/sites/Mritunjay
Source site Collection URl : http://sharepointdev/sites/mritunjay

Steps to Change the site collection URL
  1. stsadm –o backup –url http://sharepointdev/sites/Mritunjay -filename backup.dat
  2. stsadm –o deletesite –url http://sharepointdev/sites/Mritunjay
  3. stsadm –o restore –url http://sharepointdev/sites/mritunjay -filename backup.dat

No comments:

Post a Comment