If a site base URL is not available, the site can be redirected depending upon the state of the site.
Redirection URL Site States
A site item can exist in a combination of four states:
Enabled
Enabled - Pre-launch
Enabled - Post-closing
Disabled
These states are managed using Site Administration and persisted in the site repository. The states also determine access to the site by either public users or ATG applications. The states correspond to the following site properties:
Enabled Status – Site can be set to either
Enabled
orDisabled
.Opening Date – The date value that marks the opening date of a site.
Closing Date – The date value that marks the closing date of a site.
Based on the derived state from the above properties combinations, redirection occurs to a URL that has been defined in the current site configuration. These correspond to the following site properties, which should be complete URLs.
Site Down URL
Pre-launch URL
Post-closing URL
If the site has been disabled or is temporarily down, the browser will be redirected to the Site Down URL. If the site is enabled or the opening date is in the future, the browser will be redirected to the Pre-Launch URL. If the site is enabled and the closing date is in the past, the browser will be redirected to the Post-Closing URL.