Article ID: 939535 - View products that this article applies to.
Microsoft Windows SharePoint Services 3.0 includes the Stsadm.exe tool for command-line administration of Windows SharePoint Services servers and sites. Microsoft has added a new operation to the Stsadm.exe tool. This operation is called the "renamesite" operation.
This article describes how to use the "renamesite" operation to change the URL of a host-named site collection to a new URL.
To obtain the "renamesite" operation, install hotfix 939592. Then, use the "renamesite" operation to change the URL of a host-named site collection to a new URL.
How to obtain the hotfixFor more information about hotfix 939592, click the following article number to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/939592/ )Description of the Windows SharePoint Services 3.0 hotfix package: June 29, 2007
How to use the "renamesite" operationTo change the URL of a host-named site collection to a new URL, use the following syntax for the "renamesite" operation at a command prompt:
stsadm.exe -o renamesite -oldurl oldUrl -newurl newUrlFor example, an Stsadm.exe command-line command for the "renamesite" operation resembles the following command:
stsadm -o renamesite -oldurl "http://host-named site collection URL" -newurl "http://new host-named site collection URL"Notes
Article ID: 939535 - Last Review: October 8, 2011 - Revision: 2.0