---
title: "Links im Template file werden umgeschrieben..."
url: "https://www.typo3.net/d/57945-links-im-template-file-werden-umgeschrieben"
source: "typo3.net"
tags: ["Archiv","TemplaVoilà","Frage"]
created: "2007-02-16"
last_reply: "2007-02-16"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Links im Template file werden umgeschrieben...

Archiv › TemplaVoilà · 1 Antwort · gestartet 2007-02-16

## Eröffnungsbeitrag

**Winddancer** · 2007-02-16 · [Beitrag #1](https://www.typo3.net/d/57945-links-im-template-file-werden-umgeschrieben/1)

Hi all,

ich habe ein kleines Problem mit TV.

Ich habe in meinem Template File stehen:

```html
<a href="#inhalt" title="Inhaltsbereich" class="Hilfe">Inhaltsbereich</a><span class="Hilfe"> | </span>
```

Und das soll auch so bleiben.

Dummerweise macht mir TV das hier daraus:

```html
<a href="fileadmin/templates/#inhalt" title="Inhaltsbereich" class="Hilfe">Inhaltsbereich</a><span class="Hilfe"> | </span>
```

Kann mir jemand sagen, wie ich ihn dazu bringe die Links NICHT umzuschreiben???

thx und grüße

Sven

## Antworten

### [#2](https://www.typo3.net/d/57945-links-im-template-file-werden-umgeschrieben/2) · Winddancer · 2007-02-16

Ich beantworte mir die Frage mal eben selbst (wie so häufig... leider).

Ein Auszug aus der TV Wiki:

> Solution :
>
> In order to have hardcoded links in your page templates, you must follow those 2 rules :
>
> 1 / the path to the file should be absolute, thus defined from the website root and not be relative to the page template location.
>
> 2 / a leading '/' must appear at the begining of the path.
>
> If those 2 rules are fullfilled, Typo3 will not modify your link.
>
> A typical hardcoded link would look like :
>
> <img src="/fileadmin/templates/site1/img/logo.gif" />

---

Quelle: „Links im Template file werden umgeschrieben...“, typo3.net, https://www.typo3.net/d/57945-links-im-template-file-werden-umgeschrieben
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
