Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 939535 - Last Review: September 11, 2007 - Revision: 1.4
How to use the new "renamesite" operation to change the URL of a host-named site collection in Windows SharePoint Services 3.0
On This Page
INTRODUCTION
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.
MORE INFORMATION
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 hotfix
For more information about hotfix 939592, click the following article number to view the article in the Microsoft Knowledge Base:
939592Â
(http://kbalertz.com/Feedback.aspx?kbNumber=939592/
)
Description of the Windows SharePoint Services 3.0 hotfix package: June 29, 2007
How to use the "renamesite" operation
To 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 newUrl
For 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- The site collection will remain in the same Web application and content database after the change.
- Make sure that the new URL is reachable in the Web application. This includes the protocol scheme, the host name, and the port number.
- The new host-named site collection URL must not already be used as an Alternate Access Mappings URL.
- You cannot use this tool to convert a host-named site collection to a path-based site collection or to convert a path-based site collection to a host-named site collection.
- This tool does not work with a path-based site collection.
For more information about the Stsadm.exe command-line tool, visit the following Microsoft Web site:
APPLIES TO
- Microsoft Windows SharePoint Services 3.0
| kbcommandline kbexpertiseinter kbwss30postrtm kbqfe kbbug kbfix kbpubtypekc KB939535 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please