Generate URLs to preview hidden languages without a backend login
authorized_preview is an extension for TYPO3. It adds the functionality to preview disabled languages through generated preview URLs without the need for a backend login.
- TYPO3 9 LTS
- Site Configuration(s)
Install the extension via your preferred way. The extension will add one database table to the database. No further setup is required. The extension works out of the box.
The extension adds a backend module called "Preview". The module lists all disabled languages (show in frontend = 0) for each Site. For each disabled language a lifetime can be configured and a preview URL can be generated that can then be send to colleagues (e.g. for proof reading).
Within their lifetime the preview URLs enable access to a disabled language without a backend login. For any other website visitor the disabled languages is still not accessible.
The Preview URLs are pointing to the configured bases of the languages. They also contain a specific GET parameter.
This parameter is stored in the Database alongside the configured lifetime for the URL. As long as this lifetime is not expired a PSR-15 middleware recognizes the GET parameter and grants access to the language. The parameter is stored in a Cookie so that the GET parameter is not needed on every request.
Made by b13 with ♥