#30889It isn't posible to set an alternative Domain for Preview
Description
Since #20801 the first domainrecord is always used for the Frontend-Preview. It isn’t possible to overwrite this or to define another Domain Record as the Preview-Domain. In some reasons you wont’t have the backend accessible over the Main-Domain e.g. security issues.
By switching the order of the domainrecords you get some other issues with functions or extensions, when they use the first domainrecord for the frontend rendering too.
It would be nice to overwrite the Preview-Domain in the PAGE-TSConfig (also possible for multi-domain sites) or deactivate special domainrecord for Frontend-Preview.
Reviews 6
- TYPO3_6-2 35517[BUGFIX] respect pageTSConfig previewDomain also for typolinks in the FE
- main 35518[BUGFIX] respect pageTSConfig previewDomain also for typolinks in the FE
- TYPO3_6-2 32512[BUGFIX] Let Web-View respect TCEMAIN.previewDomain
- main 32510[BUGFIX] Let Web-View respect TCEMAIN.previewDomain
- main 24730[FEATURE] Add option to set an alternative domain for preview
- main 24626[FEATURE] Add option to set an alternative domain for preview
Related issues 6
- Bug #20801t3lib_beFunc::viewOnClick - Exctract logic to find the right frontend domain
- Feature #57526provide magic keyword "_BEDOMAIN_" for TCEMAIN.previewDomain configuration
- Bug #61226Web-View Module does not respect TCEMAIN.previewDomain
- Bug #62129It isn't posible to set the url scheme for a whole pagetree for preview
- Bug #63930Typolinks don't respect TCEMAIN.previewDomain in multidomain environment
- Bug #70232TCEMAIN.previewDomain doesn't work