Site

An example Site
Before you can start building your web site, you need to add a Site asset. Once you create a Site, you can start building your web site by adding the required assets underneath it. For example, the figure to the right shows an example Site. Underneath this Site there are a number of top level assets that have been added. You can add as many Site assets as you want to your system.
Tip: Only a System Administrator or the Root User can add a Site at the top level in the Asset Map.
Bookmarks to the headings on this page:
Once created, you can configure the settings of your Site on its associated asset screens. These screens are often the same or similar to those for a Standard Page and are described in the Asset Screens manual. In this chapter, we will describe the Details and URLs screens, which are different for a Site.
Details Screen
The Details screen for a Site allows you to change the name of the Site as well as apply an Index and Not Found page. For more information about the Status, Future Status and Thumbnail sections of this screen, refer to the Details chapter in the Asset Screens manual.
Details
The Details section is shown in the figure below.

The Details section of the Details screen
By default, the name that was entered into the Site Name field when the Site was created will appear in this section. You can change the name of the Site by clicking into the Site Name field and entering the new name for the Site.
Special Page Links
This section allows you to set which asset to use as the index page of your Site. You can also set which asset to show when the users enters an incorrect URL.

The Special Page Links section of the Details screen
The fields available are as follows:
-
Index: select the asset that will be the index page or the home page of the Site. This will be the first page the user will see when they enter the URL of the Site.
Tip: If you try to delete a page that has been set as the Index Page for your Site, you will be notified that it is the Index Page and will be prompted to confirm the deletion of that asset.
- Not Found: select the asset that will be displayed when a user enters an incorrect URL. For example, say the URL of the Site is www.example.com and there is a page under that Site that has the URL www.example.com/contact_us, if the user incorrectly enters www.example.com/conact_us they will see the Not Found asset instead of a blank page.
- Archived Asset: select the asset that will be displayed if a user tries to view an Archived asset that they do not have Read Permission to.
Not Found Page Options
This section allows you to configure the layout of the Not Found page, specified in the Special Page Links section. The Not Found Page Options section of the Details screen is shown in the figure below.

The Not Found Page Options section of the Details screen
The fields available in this section are as follows:
- Override Design: select a Design (or Design Customisation) to use for the Not Found page. If no Design is selected in this field, the Not Found page will use the Design of the closest URL.
- Override Paint Layout: select a Paint Layout to use for the Not Found page. If no Paint Layout is selected in this field, the Not Found page will use the Paint Layout of the closest URL.
-
Cache Globally: select whether to globally cache the Not Found page. When this option is enabled, the Not Found page will share a common cache entry everywhere it is used, irrespective of the URL.
This should only be used on Sites where the configured Not Found page is constant and not dynamically generated by URL. By default, this field is set to No.
URLs Screen
The URLs screen allows you to set the URL for the Site.
Web URLs
This section allows you to assign URLs to the Site.

The Web URLs section of the URLs screen
By default, no URL is assigned. To assign a URL, enter it into the URLs field, select either HTTP or HTTPS and click Commit. The URL will be applied to the Site and any child assets that have been created underneath it. You can assign as many URLs as you want to a Site.
Tip: If you select HTTPS, your sever must be configured with an SSL certificate to support secure access. Also, if Force Secure is set on the Settings screen of the Site, selecting HTTP will have no effect.
Any URL that you apply to a Site must be appear in the field System Root URLs on the System Configuration screen. If it does not appear in this field, Squiz Matrix will not apply the URL and you will receive an error message similar to URL example.com.au is not based upon an existing System Root URL. For more information on the System Configuration screen,refer to the System Configuration manual.Tip: Squiz Matrix will automatically convert the ampersand character (&) and its HTML entity (&) to '-and-' when used within a web path.
Authentication Redirects
This section allows you, as an alternative to displaying a login box, to create a redirect from one URL to another in an attempt to be authenticated by some external mechanism.

The Authentication Redirects section of the Web URLs screen
If the second URL provides some form of HTTP-based or other external authentication (whether by the web server itself, or by a proxy server, or by other means), then this may be useful to you. The redirection will continue in a chain (eg. a set up of URL A => B, B => C will redirect first to B, and then to C unless authentication occurred at URL B). If you are taken to a URL in the chain with no redirect defined, you will then receive a login box if still not authenticated.
To set up a redirect, select the first URL in the From field, the second URL in the To field and click Commit. The redirect will appear in the Current Redirects section, as shown in the figure below.

The Current Redirects section
Setting Up a Site
Once you have created a Site asset, you will need to:
- Apply a URL to the Site, for example www.example.com.
- Set the Index Page or the home page of the Site. This will be the first page that the user will see when they visit the Site.
- Apply a Design to your Site. This Design dictates the look and feel of your Site including where the navigation menu and content of the Site appears.
Applying a URL
To assign a URL to the Site, go to the URLs screen. Enter the URL into the URLs field, select either HTTP or HTTPS and click Commit. The URL will be applied to the Site and any child assets that have been created underneath it. You can assign as many URLs as you want to a Site. For more information about the URLs screen, refer to the URLs Screen section above.
Setting the Index Page
To set the index page or the home page of the Site, go to the Details screen of the Site. Select the asset that will be the index page in the Index Page field.
Tip: If you have just added the Site to the Asset Map you may need to create a Standard Page as a child of your Site and assign it as the Index Page.
Applying a Design
To apply a Design to the Site, go to the Settings screen of the Site. Under the System Defined Fronted Design section, select the Design you want to use in the New field. For more information on the Settings screen, refer to the Settings screen chapter in the Asset Screens manual.