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

SharePoint 2013 - Suggested Content Browser Locations

In SharePoint Site collection, we can configure “Suggested Content Browser Locations” to access the directories easily. When we configure these locations, we can see them as drop down to the users when we select the content SharePoint. To view this link, we need to activate the publishing feature. We can configure suggested content browser location at site collection level. To configure suggested content browser locations, navigate to Site Settings, in the Site Collection Administration section, click on “Suggested Content Browser Locations” link. We can see the list. Click on new item to create new suggested location link. To check the suggested content browser location navigates to any page, edit the page. Select Insert option. In the Select Asset dialog, We can see the Suggested link drop down as shown the image below.

Accordion "Left Navigation" (Quick Launch) for SharePoint 2013

For Expand/collapse "Left Navigation (Quick Launch) for sharepoint 2013 Copy the below code and paste in Master page jQuery(document).ready(function () {  /*set dynamic css logic*/  if($('#sideNavBox .menu-item.selected').length){   //propagates the selected class, up the three.   $('li.static').removeClass('selected');   $('#sideNavBox .menu-item.selected').parents('li.static').addClass('selected');   //collapses top siblings of selected branch   $('#sideNavBox .menu-item.selected').parents('li.static').last().siblings()    .find('> ul').hide();  }  else $('#sideNavBox .root.static > li.static > ul').hide();  /*set accordion effect*/  $('#sideNavBox .root.static > li.static').each(function(){   if($(this).find('ul').length){    $(this).addClass('father').click(function(){     if($(this).children('ul').css('display')...