Site folder

The site folder (config/sites/my-site in Composer-based installations, typo3conf/sites/my-site in Classic installations) must contain the following file:

config.yaml

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.

Additional configuration files in the site folder

The site folder may also contain the following files:

settings.yaml

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

csp.yaml
Scope
site
Path (Composer)
config/sites/my-site/csp.yaml
Path (Classic)
typo3conf/sites/my-site/csp.yaml

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

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

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

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.