In the Episerver CMS, the page tree structure is located in edit view under Pages. 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, you should 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 be 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 you move a page, internal links are redirected to the new location and are not broken. However, 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.
Subpages and associated media files in local page folders are copied also, and the links point to the new copy of the page. Settings, such as dynamic properties and categories, are copied also with the new page.
When you copy and paste a page under the same node, the Name in URL property of the copied page is typically named [Name in URL1], which you need to change after copying.
Removed folders, pages, blocks and media files are moved to trash, and are not publicly available on the website. Remember to update any links to removed content. When you remove a page, all underlying pages are removed also. See Deleting and restoring content.
The pages in the tree structure are sorted according to a predefined sort order. By default, the page that was created most recently is placed at the top of the tree structure, for example, in news listings. There also are 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 is inherited by 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 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. Then give each child page a unique sort index number, and they are 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 is only 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 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 is automatically 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 is first moved or copied, and then sorted. The page remains in the tree in the position where it was first dropped.
The pages that you move are saved again, meaning that you must have publishing rights to use drag-and-drop for sorting. You also must have publishing rights for the page branch with sort index to which you move a page.
You can set the sort index 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. You should work with whole tens or hundreds to insert additional pages in between existing ones in the structure. Publish the page to apply all changes to the structure.