contao/core — Issue #3765: Multi domain cross linking error
Author: Ruudt
Created: 2012-01-05 10:56:27+00:00
State: open

When I have a multi domain setup I want to include a (sub-)menu of domain2 into an article on domain1. This is possible because I created a navigation module with the reference page somewhere within domain2. However, the links that the menu creates are relative to the base page. This means that the links go to the wrong spot (domain1.com/page.html), where it should obviously be domain2.com/page.html. All of the information would be known to Contao, so I wonder why it should not detect the correct domain and prefix the url whenever needed.

Same thing goes for links inserted into text. For example: {{link_url::20}}. This will generate an url because the page is know, but the base page is left out even though it is on another domain.

For the user the domain is external. But it is 1 Contao setup that manages both domain names, so I'd say it should detect when the domains want to interact with eachother...