In the Episerver CMS edit view under Pages you will find the page tree structure. At the top of the structure is the root page, usually with one or more start pages directly underneath. The structure of the website is made up of pages. By default, the page structure is reflected in the navigation menus. To simplify navigation, it is a good idea to limit the submenu structure to a maximum of three levels.
By moving the mouse pointer over a page in the tree structure, information about the page, such as ID and page type, is displayed. A set of page tree symbols provides additional information about the structure.
Your website might have been customized with other symbols implemented by the partner developer.
Moving, copying and removing pages
Use drag-and-drop to move a page, or select Cut in the context menu for the page you want to move, and select Paste for the destination page. You can also move pages by using keyboard commands Ctrl+x or Cmd+x, and Ctrl+v or Cmd+v.
When moving a page, any internal links are redirected to the new location and are not broken. Any external links pointing to the moved page will be broken.
Select Copy in the context menu for the page you want to copy, and select Paste for the destination page. You can also copy pages by using keyboard commands Ctrl+c or Cmd+c, and Ctrl+v or Cmd+v.
All subpages and associated media files in local page folders will also be copied, and the links will point to the new copy of the page. Settings such as dynamic properties and categories, are also copied with the new page.
When you copy and paste a page under the same node, the Name in URL property of the copied page will be named typically [Name in URL1], which you need to change after copying.
Removed folders, pages, blocks and media files will be moved to trash, and will not be publicly available on the website, remember therefore to update any links to removed content. When removing a page, all underlying pages will also be removed.
Refer to Deleting and restoring content for more information.
The pages in the tree structure are sorted according to a predefined sort order. By default, the page that has been created most recently is placed at the top of the tree structure, for example, in news listings. There are also other options for sorting, such as alphabetically or by sort index. The last option lets you control the sorting through an index defined on each page.
The sort order is set for the parent page of a branch, and will be inherited to the subpages:
- Select the parent page of the branch in the structure where you want to set the sorting.
- Edit the page and select the Settings tab.
- Select sorting criteria under Sort subpages.
- Publish the page in order for the changes to take place.
If you want to control exactly how the pages in the structure are sorted, select the According to sort index option for the parent page. Each child page must then be given a unique sort index number, and they will be sorted in ascending order according to their number, with the lowest number on top.
Change the sort order of pages by dragging the page and dropping it where you want it in the tree structure. Sorting pages with drag and drop will only be of interest for branches that are sorted with sort index.
- If you move a page into a branch that is not sorted according to sort index, you will get prompted to move the page and at the same time apply sort index as sort order for that branch. Confirm with OK. When you drag a page into a new position in a page tree branch, the sort index will automatically be recalculated to fit the sort order of that branch.
- If you drop a page under a different parent page (with sort index set as sort order), the page will first be moved or copied, and then sorted. The page will thus remain in the tree in the position where it was first dropped.
The pages that you move will be saved again, meaning that you must have publishing rights to be able to use drag and drop for sorting. You must also have publishing rights for the page branch with sort index to which you move a page.
The setting of sort index can also be done manually for each child page. Open the page for editing, select the Settings tab and change the number in the Sort index box. The sort index number must be an integer, but there are no other restrictions. The recommendation is to work with whole tens or hundreds, to be able to insert additional pages in between existing ones in the structure. Remember to publish the page to apply all changes to the structure.