Rename a URL of SharePoint 2007 (moss2007)
- Details
- Alexander Zoutenbier
- Created on Wednesday, 19 October 2011 21:11
- Hits: 152
Question: One of the customers asked my how to change a SharePoint 2007 (moss 2007) URL. Now they have http://moss2007/projects/site1 and they want to change this to http://moss2007/projects/site2.
There is no standard wizard in SharePoint 2007 to rename or change a Site Collection URL. If you want to change a URL you will need to have Administrator rights on SharePoint and have knowledge of stsadm.
This is the procedure to change or rename a URL of a site collection in SharePoint 2007
- Start Command Prompt (CMD) in administrator mode
- run the stsadm command: stsadm -o backup -url http://moss2007/projects/site1 -overwrite -filename backupsite1.dat
now wait.......... This site is very large (16GB) so i need to wait 1 hour.
Now you can delete the old URL.
- run the stsadm command: stsadm -o deletesite -url http://moss2007/projects/site1
now wait again......... depending on the size of your site it can take a couple of hours
Last task. Now you can restore the site to the new URL.
- stsadm -o restore -url http://moss2007/projects/site2 -filename backupsite1.dat
now wait again......... depending on the size of your site it can take a couple of hours
After this command you can view your site on the new URL

