From a computer’s point of a view, a site is just a collection of pages. From a visitor’s point of view, these pages have a structure: a site has a home page, categories, subcategories, and so on.


The site tree

We can represent this structure using a site tree — a diagram of pages that resembles a family tree. For example, a site tree for a simple site selling furniture and appliances might look like this:



We use the same terminology as for family trees:


Child

A page directly under another in the site tree. In the example above, Furniture and Appliances are children of Kitchen.


Parent

The page directly above another in the site tree. In the example, Products is the parent of Kitchen.


Ancestor

A page directly or indirectly above another in the site tree. The home page is an ancestor of all pages. In the example, Products and Home are the ancestors of Kitchen.


Sibling

A page with the same parent as another page. In the example, Lounge and Dining room are siblings of Kitchen.