Sites
The CMS system can control multiple web sites from one installation. The 'Sites' option in the Site Setup section of the main menu allows you to add and configure the list of sites that the CMS controls.
The first page is a list of sites that are set up. You can sort this list by clicking on the column headings.
To change an existing site, click on it's name within the list. To add a new site, click on the 'new site' link at the bottom of the page. The following information is required for each site:
- Site name: This typically appears in the title of each page*.
- Picture: Usage depends on setup.
- Preferred Domain: The primary domain name for the site (if it has several).
- Template: The template used for any page in this site that does not have a page-level or chapter-level template assigned to it.
- Default language for site: The language here is presented unless a specific langauge selection is made by the user. This list is modified through the 'Configure languages' option on the main menu.
- Hide Printer Friendly Pages: Prevents the 'Printer Friendly' links being displayed on pages*.
- Hide Previous/Next Page Links: Prevents the previous/next navigation options being presented on pages*.
- Default Site: This must only be selected for one CMS site. It determines which site is displayed if CMS does not know which site was requested (see 'Site Addresses' below).
- Advanced options: These options are used by the web developer who sets up the site. They include the names of the program modules used to create navigation buttons and page layout.
*use of this feature requires setting up within the site templates.
Site Addresses
For each site you may supply a list of addresses which correspond to the domain names that the web site is bound to.
Click on 'Addresses' next to a site (in the main site list) to edit the addresses.
Note: Adding a name to this list does not modify web server 'host header' settings. These may need to be set by the server administrator before new addresses will work.
To edit an address, click on the address in the list. To add an address, click on 'New Site Address' at the bottom of the address list.
The settings for each address are:
- Host header: The domain name of the site or a part of it. One host header can be the wildcard '*'.
- Strict Matching of Host Header: When selected, the host header entered must exactly match the host header received by the web server for a match to be made. If not selected, a fragment of the host header may be used, e.g. 'wizzy' will match 'wizzy.co.uk' and 'wizzydesign.co.uk' in the absence of a better match.
- Redirect This Address to the public URL on the site record: When selected, the user is redirected to the official domain name on the site record. Use this when several domain names point to the same site but you want to ensure only one is used.
- Initial Page: The CMS will normally determine which page is the home page from the order of pages on the content index, but you can override this.
If a site address cannot be found that matches the host header requested from the web server, CMS displays the default site. If no default site is defined, a random site may be displayed.