How to move main site to collection sites ?


  • Hi

    I have a problem that I don't know how to address; I manage two different sharepoint servers (production and test), they are identical in configurations both for operating system and for sharepoint version. The only difference is the following, the production site has been created on top level and has and address like this http://servername/default.aspx while the test site is http://servername/sites/name

    We need to enable approval workflow for the production site but as far as I know it's not possible (if someone knows how to do it it's welcome...) because this feature is only available for collection site, then I need to move  the main site http://servername/default.aspx to http://servername/sites/default.aspx, how can I do it ? Is it possible to relocate/move the main site inside a collection site ? If yes there's any guide or howto to follow ?

    And last but least why it's not possible to enable approval workflow for single site ?

    Tuesday, January 08, 2013 2:06 PM


All replies

  • Hi I guess what you mean is to move the root site collection at http://servername/ to the new site collection at http://servername/sites/newsitecollection/ right?

    You can't have URL like this http://servername/sites/default.aspx so please clarify what you need to achieve?

    About workflow, why is it not possible (in your case) to activate it for production site (because ?

    Hopefully you could explain a bit more so I could understand your requirement better



    MCTS SharePoint 2007 MCITP SharePoint 2010 OCA BCCPA

    Tuesday, January 08, 2013 2:57 PM
  • http://servername/default.aspx, I would switch to http://servername/sites/example/

    I cannot  enable approval workflow as I do not have them as option see the attached screenshots (in italian...sorry).

    Tuesday, January 08, 2013 3:39 PM
  • For the first question

    I assume that you only want to export the root site (not the entire site collection) at http://servername/ to the root site of the site collection "example" at http://servername/example/

    1. First make sure the site at http://servername/example is created using the same template as http://servername/

    2. Then export the site at http://servername

    Export-SPWeb http://servername -path d:\export.cmp

    3. Import the file to the new location

    Import-SPWeb http://servername/sites/example -path d:\export.cmp -UpdateVersions Overwrite

    This will OVERWRITE the site at http://servername/sites/example. Replace -path d:\export.cmp with the path you want to store the exported file

    For the workflow part, are you trying to add workflow to the site as in your screenshot or adding to a library or list??


    MCTS SharePoint 2007 MCITP SharePoint 2010 OCA BCCPA

    Tuesday, January 08, 2013 4:25 PM
  • The export will move documents as well, right ?

    For workflow I would like to add approval to library/list but I can't (because it's not listed)

    Tuesday, January 08, 2013 4:51 PM
  • Yes the export will move everything in the site.

    If you want to add to library and list, go to that particular list, click List (or Library) on the Ribbon, then click Workflows Settings, and Add a Workflow, let me know if you see the Approval Workflow listed there

    MCTS SharePoint 2007 MCITP SharePoint 2010 OCA BCCPA

    Tuesday, January 08, 2013 4:53 PM
  • I don't see the approval workflow , that's the problem
    Tuesday, January 08, 2013 5:03 PM
  • Just to double check, from your screenshot, you are looking at Site Setting -> Workflows Setting

    Have you tried to go to a particular Library or List and Add a Workflow from there but not from Site Settings?


    MCTS SharePoint 2007 MCITP SharePoint 2010 OCA BCCPA

    Tuesday, January 08, 2013 7:00 PM
  • If I'm not wrong the workflow are the same available witihin Site Setting.

    It's very strange that's not possible to enable workflow at top level as reported by this thread 

    Tuesday, January 08, 2013 8:15 PM
  • Sorry for late reply due to different time zone, I am living in Singapore

    Take note that Site workflow does not start automatically, you always need to start it manually from Site Actions. For Approval Workflow (which is normally started automatically) I suggest you add it from List or Library Workflow Settings

    The thread you quoted does not say you can enable Approval Workflow in Site Settings.

    Here is what the thread discussed about:


    Unable to find Approval Workflow under Workflow Settings in List or Library (not under Site Settings -> Workflow Settings like what you are doing)


    1. Check under Site Settings -> Site Collection Administration -> Site Collection Features
    2. Activate "SharePoint 2007 Workflows" and then activate "Workflows"

    Important: "SharePoint 2007 Workflows" must be activated before "Workflows" so it is suggested to deactivate both and then activate again in order.


    MCTS SharePoint 2007 MCITP SharePoint 2010 OCA BCCPA

    Wednesday, January 09, 2013 4:21 AM
  • Sorry if I wrongly described but the problem I have it's that I do not have "Site Collection Features" menu as I have only have one site at top level.

    Wednesday, January 09, 2013 9:31 AM
  • Any help ?
    Thursday, January 10, 2013 1:54 PM
  • Hi SoloUnCapitano,

    Please doing the following step.

    1.In the Permissions and Management settings options, click the Workflow Settings link.
    2.Enter a name in the Type a Unique Name for This Workflow text box.
    3.Use the Select a Task List drop-down list to choose a task list.
    4.Use the Select a History List drop-down list to choose a history list.
    5.Select a Start option by selecting the appropriate check box.
    6.Click the Next button.
    7.Specify the appropriate options.

    The following link maybe help you.



    Jack Gao
    TechNet Community Support

    Friday, January 18, 2013 2:26 AM
  • I did found where was the problem. My user wasn't site administrator, I did insert it and voilà.

    Thanks for the help

    Thursday, January 24, 2013 1:38 PM