Link across domains not possible
In former versions links across domains got the domain adjusted.
This never seems being the case anymore.
Playing with the parameters `config.typolinkEnableLinksAcrossDomains` and `config.typolinkCheckRootline` never has any remarkable impact.
No matter if no, any of both or both parameters together are set, the target page never gets the domain adjusted and the Error "ID was outside the domain" is shown.
#3 Updated by Benni Mack about 2 years ago
I take the following assumption:
1. you're using RealURL in TYPO3 v9, right?
2. you're not having any site configuration running, right=
For your clarification,
1. config.typolinkEnableLinksAcrossDomains was only introduced for RealURL, so you need to have that.
2. config.typolinkCheckRootline is always on by default, so this is not necessary anymore - see https://docs.typo3.org/typo3cms/extensions/core/latest/Changelog/9.0/Deprecation-82909-TypoScriptOptionConfigtypolinkCheckRootline.html
#9 Updated by Thomas Goetz about 2 years ago
So it's mandatory to create the Site configuration for this to work?
I have the same error, links to another page tree led to an exception. After I created the Site configuration, it works fine.
Shouldn't it work without this configuration when i dont want to use speaking urls?
#10 Updated by Benni Mack almost 2 years ago
well, site configuration will be mandatory in v10 (as the sole solution) - because it adds information which TYPO3 had to guess previously. So if you have one pagetree without and the other with site configuration, we might get into trouble. This needs to be checked. With site configuration, this option is turned on anyway, but without site config, the option config.typolinkEnableLinksAcrossDomains will still have a behaviour.