Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

When I created my site collection we called it /sites/teama. The business has changed the name of teama to teamb. How can I change the URL for our site collection.

share|improve this question

2 Answers 2

If it is a root site collection, you will need to do the change the URL in two places: Alternate access mappings - In central admin modify the alternate access mappings from sites/teama to /sites/teamb

IIS bindings : Modify the binding in IIS for the web application from /sites/teama to /sites/teamb

Or alternatively you can try the following commands:

stsadm -o backup -url http://servername/sites/teama -overwrite -filename team.dat
stsadm -o deletesite -url http://servername/sites/teama 
stsadm -o restore -url http://servername/sites/teamb -filename team.dat
share|improve this answer

Try this one (min. SP1 on MOSS2007)

STSADM -renamesite -oldUrl xxx -newUrl yyy (see here http://technet.microsoft.com/en-us/library/cc263038(v=office.12).aspx)

Has no direct equivalent in Powershell, but there is Set-SPSite (http://technet.microsoft.com/en-us/library/ff607958.aspx)

Hope it helps, C:\Marius

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.