Attention
TYPO3 v10 has reached end-of-life as of April 30th 2023 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.
Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 here: TYPO3 ELTS.
CLI Tools for Site Handling¶
Two CLI commands are available:
site:list
site:show
The list command can be executed via typo3/sysext/core/bin/typo3 site:list
and will list all configured sites
with their configured Identifier, root page, base URL, languages, locales and a flag whether or not the site is enabled.
The show command can be executed via typo3/sysext/core/bin/typo3 site:show <identifier>
.
It needs an identifier of a configured site which must be provided after the command name.
The command will output the complete configuration for the site in the YAML syntax.