Site config static routes which support EXT: path prefix to e.g. allow per-site redirect of /favicon.ico
or /robots.txt
with
- TYPO3 11LTS using
typo3/cms-composer-installers
v4.0.0RC1
or with - TYPO3 12LTS
Either install
- via composer using
composer req jpmschuler/staticpathrouteresolver
- via TER (Extension Manager)
EXT:staticpathrouteresolver
Either configure the static routes in the site backend module or in your site config.yml
, use
routes:
-
route: favicon.ico
path: 'EXT:mysitepackage/Resources/Public/Icons/favicon.ico'
The core handler will ignore all routes without a specified type, we use that to not let core throw exceptions or interact on that config.