Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 2.42 KB

README.md

File metadata and controls

36 lines (29 loc) · 2.42 KB

TYPO3 extension staticpathrouteresolver Latest TER version Latest Packagist version Total downloads

Supported TYPO3 versions Supported PHP versions Current CI health

EXT:staticpathrouteresolver

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

Installation

Either install

How to use

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.

URL
Repository: https://github.com/jpmschuler/typo3-staticpathrouteresolver
TER: https://extensions.typo3.org/extension/staticpathrouteresolver
Packagist: https://packagist.org/packages/jpmschuler/staticpathrouteresolver