---
title: "Link ohne index.php..."
url: "https://www.typo3.net/d/113486-link-ohne-indexphp"
source: "typo3.net"
tags: ["TYPO3","TypoScript","Frage"]
created: "2013-01-17"
last_reply: "2013-01-21"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Link ohne index.php...

TYPO3 › TypoScript · 1 Antwort · gestartet 2013-01-17

## Eröffnungsbeitrag

**ccumulus** · 2013-01-17 · [Beitrag #1](https://www.typo3.net/d/113486-link-ohne-indexphp/1)

Hallo,

ich benötige für eine Tab-Navigation folgende Struktur:

```html
<dl class="tabs">
  <dd class="active"><a href="#simple1">Simple Tab 1</a></dd>
  <dd><a href="#simple2">Simple Tab 2</a></dd>
  ....
</dl>
```

Den "Link" erzeuge ich so

```typoscript
...
20 = TEXT
20.field = headline
20.dataWrap = <a href="#tabItem{register:tabHeadlineItemID}">|</a>
20.outerWrap = <dd>|</dd>
...
```

Heraus kommt:

```html
<dl class="tabs">
 <dd class="active"><a href="index.php?id=17#tabItem1">element 01</a></dd>
 <dd><a href="index.php?id=17#tabItem2">element 02</a></dd>
...
</dl>
```

Wie bekomme ich den Link **ohne "index.php?id=17"** hin?

## Antworten

### [#2](https://www.typo3.net/d/113486-link-ohne-indexphp/2) · toifel · 2013-01-21

Sollte mit config.prefixLocalAnchors machbar sein.

Siehe <http://wissen.netzhaut.de/tag/prefixlocalanchors/>

---

Quelle: „Link ohne index.php...“, typo3.net, https://www.typo3.net/d/113486-link-ohne-indexphp
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
