Attention
TYPO3 v9 has reached its end-of-life September 30th, 2021 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.
You can order Extended Long Term Support (ELTS) here: TYPO3 ELTS.
Directory Structure¶
By default a TYPO3 installation consists of a structure of
main directories within the web server document root. You will find
this structure to be almost always like that. Depending on the installation
variant you choose however, this may be slightly different. For instance,
it is possible to have all PHP files except the entry points index.php
within the composer managed vendor/
directory, outside of the document
root. This setup however did not fully settle yet, and is not documented
here in detail. So, if you look at "casual" TYPO3 installations, you will
almost always find the directory structure as outlined below.
Also see Environment for further information, especially how to retrieve the paths within PHP code.
Directory |
Description |
---|---|
|
This is a directory in which editors store files. Typically images, PDFs or video files appear in this directory and/or its subdirectories. Note this is only the default editor's file storage. This directory
is handled via the FAL API internally, there may be
further storage locations configured outside of Note Note this directory is meant for editors! Integrators should not locate frontend website layout related files in here: Storing HTML templates, logos, Css and similar files used to build the website layout in here is considered bad practice. Integrators should locate and ship these files within a project specific extension. |
|
TYPO3 Backend directory. This directory contains most of the files
coming with the TYPO3 Core. The files are arranged logically in the
different system extensions in the |
getConfigPath() either |
TYPO3 configuration directory. This directory contains installation wide configuration. The most important file within this folder is
The file |
|
Directory for local TYPO3 extensions. Each subdirectory contains one extension. |
getLabelsPath() either |
Directory for extension localisations. Contains all downloaded translation files. |
|
Directory for temporary files. It contains subdirectories (see below) for temporary files of extensions and TYPO3 components. |
|
Directory for temporary files that should be public available (e.g. generated images). |
|
Directory for temporary files that contains private files (e.g. cached Fluid templates) and should not be publicly available. See also Configuring Environment Paths for a more detailed description. |