Skip to main content

How to rename the web site?

>>I have a new installation of Sharepoint. Before we start using it, I would like the site to be more meaningful than http://server08/site.>>I would like to change the name so that is is something like http://mysite/site.

Answer:
There are several ways of how to rename Web Site. You can use stsadm -o renameweb command. More details are in MSDN article. But this command does't help you if you want to rename the site with the port. For example if you have http://server08:88/site and want to rename it to new name with the default port then the best way is to create the new site, and then use stsadm -o export/import to move the content between sites.

Example
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.

Comments

Popular posts from this blog

Publishing SharePoint List InfoPath Form to a new location

Needed to move it from Dev to Production. File > Publish > Export Source Files. Close InfoPath Go to folder where Source Files are saved, open Manifest.xsf.  Find all instances of the URL and replace them with the new URL - there should be five. If you have secondary data connections, update those also. I use Notepad++ and “replace all” so it just takes a second.  Save the manifest.xsf file and close. Now right click on the manifest.xsf and select Design to open it back up in InfoPath.  Click on File >Publish and verify the URL is correct in the “Publish form to a SharePoint List” section”.