If you have implemented a project with TYPO3 a long time ago, its configuration files are usually located in the folder: fileadmin.
The migration from fileadmin to a centralised site configuration requires careful planning and adaptation of all relevant configurations and paths. By following these steps, you can ensure that your TYPO3 installation complies with current best practices and is easier to manage in the long term.
A sitepackage is a TYPO3 extension that contains all relevant configurations for a website. By storing the entire configuration in one package, it is protected from unauthorised access. As an extension, your sitepackage manages your dependencies on other extensions and/or the TYPO3 version. This makes deployment easier and allows you to place the configuration of your website under version control.
Many thanks to Benjamin Kott.
Here are some advantages:
- Configuration files not accessible for editors
- Configuration files are protected
- Autoload PageTS
- Autoload TypoScript
- Static PageTS Template
- Static TypoScript Template
- Dependency Management
- Clean version control possible
Prerequisites
- TYPO3 installation (version 9.5 or higher recommended)
- Access to the TYPO3 backend and the file structure
Steps to migration
Create a full backup of your TYPO3 installation and database.
I prefer to create a DEV so that the live website with TYPO3 does not suffer any downtime.
Create siteconfig package. Click here to go to the sitepackage builder
I use the Sitepackage-Builder, with which you can create a sitepackage extension optimised for the TYPO3 version, which you simply import into the project via Extensions / Extensions. Everything is perfectly harmonised here. However, some changes are necessary for this.