1 .. include:: ../../Includes.txt
3 ==========================================
4 Feature: #86303 - Variants for site's base
5 ==========================================
12 The site configuration allows now to specify variants of the site's base.
13 Take the following example: The base of a site is set to `https://www.domain.tld` but the staging environment uses
14 `https://staging.domain.tld` and the local development uses `https://www.domain.local`.
16 The expression language feature is used to define which variant is taken into account.
21 The base of a site can be changed depending on a condition. Typical examples are:
23 - :typoscript:`applicationContext == "Production"`: Check the application context
24 - :typoscript:`getenv("mycontext") == "production`: Check a custom environment variable
26 .. index:: Backend, Frontend, TypoScript, ext:core