koninklijke-collective / my_redirects

TYPO3 Extension: Redirects management
https://typo3.org/extensions/repository/view/my_redirects
GNU General Public License v2.0
17 stars 20 forks source link

[BUGFIX] Make sure TSFE is generated on page root #47

Closed bmoex closed 6 years ago

bmoex commented 7 years ago

It tried the destination as pageid but could cause more problems

Resolves: #46

baschny commented 6 years ago

Post review:

@bmoex this "fix" finally removed the feature of being able to link to a page tree with a different domains within a single installation. You need to use the TSFE from the destination page to generate a correct typolink, else you end up with an incorrect domain, link-configuration, etc.

This wasn't working with newer TYPO3's anyway because the links to pages are no longer simply integers but "t3://" - which was handled but the compared with canBeInterpretedAsInteger.

We will provide a fix for that soon, because this turns this extension useless for most of our customer installations where it was working well in the 6.2 era (after an upgrade to 8 LTS).