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.
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. |
Attention
Although it is a most common understanding in the TYPO3 world that
typo3temp/
can be removed at any time, it is considered bad practice to remove the whole folder. Developers should selectively remove folders relevant to the changes made.
- Directory
typo3temp/assets/
- Description
Directory for temporary files that should be public available (e.g. generated images).
- Directory
typo3temp/var/
- Description
Directory for temporary files that contains private files (e.g. cached Fluid templates) and should not be publicly available. See also Environment-configuring-paths for a more detailed description.