Hi sorry to bother you. But I was wondering how your website redirects to different TLDs as I need to do this for a site at
www.naturediet.co.ukSo you want different TLDs, huh? There you go

Make a new Plugin "redirectDomain" (or name it whatever you like)
and check "OnWebPageInit" under Events.
Insert following Code:
$e = &$modx->event;
$domains[] = array('url'=>'www.mydomain.de','id'=>72);
$domains[] = array('url'=>'www.mydomain.ch','id'=>920);
$domains[] = array('url'=>'www.mydomain.fr','id'=>242);
$domains[] = array('url'=>'www.mydomain.nl','id'=>494);
$umleitung = false;
$host = $_SERVER['HTTP_HOST'];
if($e->name=='OnWebPageInit') {
foreach ($domains as $domain){
// Wenn beim ersten Aufruf der Seite (site_start) der host == URL ist
if($host == $domain['url'] && $modx->documentIdentifier == $modx->config['site_start']){
$modx->sendRedirect($modx->makeUrl($domain['id'], '', '', 'full'));
exit;
}
}
}
In the array $domains enter your domainnames and the id of the corresponding parent folder and you have it.
Hope i could help. Let me know if something doesn´t function as expected.
Carl: Please don´t send your messages as private because other people could answer as well, or maybe someone is interested in your question and or the solution.
Greetings
aceman