Export (0) Print
Expand All

Renameweb: Stsadm operation (Windows SharePoint Services)

Office 2007

Updated: February 7, 2008

Applies To: Windows SharePoint Services 3.0

 

Topic Last Modified: 2008-02-04

Changes the URL of a subsite.

NoteNote:
In addition to the standard security requirements of Stsadm, you must have been granted the Manage Web Site permission on the subsite you want to rename to perform this operation.

stsadm -o renameweb

   -url <URL name>

   -newname <new name>

 

Parameter name and short name

Value

Required?

Description

url

A valid URL name, such as http://server_name/sites/site_name/subsite_name

Yes

The URL of the subsite you want to rename.

NoteNote:
Only subsites can be renamed, not site collection roots.

newname (new)

A valid string name, such as "NewWeb"

Yes

The new subsite name.

The following example uses the following site: http://server_name/sites/site_name/subsite_name.

To rename a URL using the newname parameter, use the following syntax:

stsadm -o renameweb -url http://server_name/sites/site_name/subsite_name -newname NewWeb

The URL of the subsite would become http://server_name/sites/site_name/NewWeb.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft