After the SiteContextPipeline
identifies a site, it checks the site configuration to determine whether the site is enabled and active:
Enabled: The site’s enabled property is set to
true
.Active: The site is enabled and the current date falls between the site’s open and close dates, as configured in the site’s
openDate
andclosingDate
properties, respectively. If these properties are not set, the site is regarded as always active.
Note: Although an enabled site can be inactive, a disabled sites is always inactive, regardless of its openDate
and closingDate
settings.
In the event that a site is disabled or inactive, other site properties can specify where to redirect requests. The following site properties determine whether a site is enabled or active, and how to redirect requests for disabled or inactive sites:
Property | Description |
---|---|
| A Boolean property, specifies whether the site is enabled. Default: |
| Specifies where to redirect requests when the site’s |
| A Date property, specifies when the site starts accepting requests. |
| A Date property, specifies when the site starts refusing requests. |
| Specifies where to redirect requests before its |
| Specifies where to redirect requests after its |