---
title: "Multiple Domain: TMENU > A > HREF mit baseURL"
url: "https://www.typo3.net/d/100028-multiple-domain-tmenu-a-href-mit-baseurl"
source: "typo3.net"
tags: ["TYPO3","Menüs","Frage"]
created: "2010-07-14"
last_reply: "2011-12-06"
replies: 3
solved: false
page: 1
pages: 1
lang: "de"
---

# Multiple Domain: TMENU > A > HREF mit baseURL

TYPO3 › Menüs · 3 Antworten · gestartet 2010-07-14

## Eröffnungsbeitrag

**mistymantis** · 2010-07-14 · [Beitrag #1](https://www.typo3.net/d/100028-multiple-domain-tmenu-a-href-mit-baseurl/1)

Hallo Allerseits,

Ich habe eine Multiple Domain installation aufgesetzt und nun werden auf der Startseite der beiden Domains eine Linkliste der Dienstleistungen aufgelistet.

Nun müsste ich einer der Linkliste im A > HREF den baseURL manuell eingeben. Wie mache ich das? TS sieht Momentan ziemlich Standardmässig aus.

```typoscript
lib.startNavDom1 = HMENU
lib.startNavDom1 {
	special = directory
	special.value = 12
	1 = TMENU
	1 {
		expAll = 1
		wrap = <ul id="left" class="links primary-links">|</ul>
		NO = 1
		NO {
			allWrap = <li id="mainNav_{elementUid}">|</li>|*|<li id="mainNav_{elementUid}">|</li>|*|<li id="mainNav_{elementUid}">|</li>
			doNotLinkIt = 0
			ATagTitle.field = description // title
			stdWrap.htmlSpecialChars = 1
			subst_elementUid = 1
		}
		
	}

	2 < .1
	2 {
		wrap = <ul class="links secondary-links">|</ul></li>
	}

}
```

```typoscript
lib.startNavDom2 = HMENU
lib.startNavDom2 {
	special = directory
	special.value = 22
	1 = TMENU
	1 {
		expAll = 1
		wrap = <ul id="left" class="links primary-links">|</ul>
		NO = 1
		NO {
			allWrap = <li id="mainNav_{elementUid}">|</li>|*|<li id="mainNav_{elementUid}">|</li>|*|<li id="mainNav_{elementUid}">|</li>
			doNotLinkIt = 0
			ATagTitle.field = description // title
			stdWrap.htmlSpecialChars = 1
			subst_elementUid = 1
		}
	}

	2 < .1
	2 {
		wrap = <ul class="links secondary-links">|</ul></li>
	}
}
```

[Bild: \[upl-image-preview uuid=54fb7585-f0b7-54a6-8349-51d77af67a66 url=https://www.typo3.net/assets/files/typo3net/80-multiple_domain.png alt=multiple_domain.png thumbnail_url=https://www.typo3.net/assets/files/typo3net/80-multiple_domain.png\]](https://www.typo3.net/assets/files/typo3net/80-multiple_domain.png)

## Antworten

### [#2](https://www.typo3.net/d/100028-multiple-domain-tmenu-a-href-mit-baseurl/2) · Julian.​Hofmann · 2010-07-16

Guten Morgen.

Nene, mach's Dir selbst nicht komplizierter, als nötig. Das erledigt TYPO3 ganz ohne große Verrenkungen für Dich - nur must Du ihm das auch sagen. ;)

typolinkCheckRootline

> **TSref schrieb:**
>
> If set, then every “typolink” is checked whether it's linking to a page within the current rootline of the site.
>
> If not, then TYPO3 searches for the first found domain record (without redirect) in that rootline from out to in.
>
> If found (another domain), then that domain is prepended the link, the external target is used instead and thus the link jumps to the page in the correct domain.

typolinkEnableLinksAcrossDomains

> **TSref schrieb:**
>
> This option enables to create links across domains using current domain's linking scheme. (...)

Details hierzu finden sich in der TSref: <https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/TopLevelObjects/Index.html>

Viele Grüße
Julian

### [#3](https://www.typo3.net/d/100028-multiple-domain-tmenu-a-href-mit-baseurl/3) · mistymantis · 2010-09-12

Hallo Julian,

Es ist schon eine weile her. ABER HAT PERFEKT FUNKTIONIERT! DANKE!

### [#4](https://www.typo3.net/d/100028-multiple-domain-tmenu-a-href-mit-baseurl/4) · MorphexX · 2011-12-06

Was ich suchte - herzlichen Dank!

---

Quelle: „Multiple Domain: TMENU > A > HREF mit baseURL“, typo3.net, https://www.typo3.net/d/100028-multiple-domain-tmenu-a-href-mit-baseurl
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
