Site folder
The site folder (config/
in Composer-based installations,
typo3conf/
in Classic installations) must contain the
following file:
config.yaml
-
- Scope
- site
- Path (Composer)
- config/sites/my-site/config.yaml
- Path (Classic)
- typo3conf/sites/my-site/config.yaml
Contains the site configuration. See chapter Site handling for details.
Optional files in the site folder
Additional configuration files in the site folder
The site folder may also contain the following files:
settings.yaml
-
- Scope
- site
- Path (Composer)
- config/sites/my-site/settings.yaml
- Path (Classic)
- typo3conf/sites/my-site/settings.yaml
See chapter Site settings. If the Site settings editor is being used in the backend module Site Management > Settings changes are saved to this file.
csp.yaml
-
- Scope
- site
- Path (Composer)
- config/sites/my-site/csp.yaml
- Path (Classic)
- typo3conf/sites/my-site/csp.yaml
Used for a site-specific Content Security Policy.
The site as frontend TypoScript provider
If the site should be used as TypoScript provider (see Site as a TypoScript provider) it can contain the following files:
constants.typoscript
-
- Scope
- site
- Path (Composer)
- config/sites/my-site/constants.typoscript
- Path (Classic)
- typo3conf/sites/my-site/constants.typoscript
Contains the TypoScript constants of a site.
setup.typoscript
-
- Scope
- site
- Path (Composer)
- config/sites/my-site/setup.typoscript
- Path (Classic)
- typo3conf/sites/my-site/setup.typoscript
Contains the TypoScript setup of a site.
Page TSconfig in the site folder
page.tsconfig
-
- Scope
- site
- Path (Composer)
- config/sites/my-site/page.tsconfig
- Path (Classic)
- typo3conf/sites/my-site/page.tsconfig
Page TSconfig in this file is automatically loaded within the site scope. See also Page TSconfig on site level.