---
title: "Tmenü und Links ignorieren RealUrl"
url: "https://www.typo3.net/d/99762-tmenue-und-links-ignorieren-realurl"
source: "typo3.net"
tags: ["Extensions","Frage","Links","RealURL"]
created: "2010-07-02"
last_reply: "2010-07-02"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# Tmenü und Links ignorieren RealUrl

Extensions · 0 Antworten · gestartet 2010-07-02

## Eröffnungsbeitrag

**Schmoozer** · 2010-07-02 · [Beitrag #1](https://www.typo3.net/d/99762-tmenue-und-links-ignorieren-realurl/1)

Hallo Forum,

Ich habe ein Riesenproblem!

Ich habe RealUrl installiert und alles so gemacht, wie ich es schon zigmal gemacht habe:

.htaccess geändert

```typoscript
RewriteEngine On
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php
```

localconf.php angepasst,

```php
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
    '_DEFAULT' => array(
        'init' => array(
            'enableCHashCache' => 1,
            'appendMissingSlash' => 'ifNotFile',
            'enableUrlDecodeCache' => 1,
            'enableUrlEncodeCache' => 1,
            'postVarSet_failureMode' => '',
        ),
        'redirects' => array(),
        'preVars' => array(
            array(
                'GETvar' => 'L',
                'valueMap' => array(
                      'de' => '0',
                      'en' => '1',
                ),
                'defaultValue' => 'de',
                'noMatch' => 'bypass',
            ),
            array(
                'GETvar' => 'no_cache',
                    'valueMap' => array(
                        'nc' => 1,
                    ),
                    'noMatch' => 'bypass',
            ),
        ),
        'pagePath' => array(
                'type' => 'user',
                'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
                'firstHitPathCache' => 1,
                'spaceCharacter' => '-',
                'languageGetVar' => 'L',
                'expireDays' => 7,
                'rootpage_id' => '109',
        ),
        'fixedPostVars' => array(),
        'postVarSets' => array(
                '_DEFAULT' => array(
                    // news archive parameters
                    'archive' => array(
                        array(
                            'GETvar' => 'tx_ttnews[year]' ,
                        ),
                        array(
                            'GETvar' => 'tx_ttnews[month]' ,
                            'valueMap' => array(
                                'january' => '01',
                                'february' => '02',
                                'march' => '03',
                                'april' => '04',
                                'may' => '05',
                                'june' => '06',
                                'july' => '07',
                                'august' => '08',
                                'september' => '09',
                                'october' => '10',
                                'november' => '11',
                                'december' => '12',
                            )
                        ),
                    ),
                    // news pagebrowser
                    'browse' => array(
                        array(
                            'GETvar' => 'tx_ttnews[pointer]',
                        ),
                    ),
                    // news categories
                    'select_category' => array (
                        array(
                            'GETvar' => 'tx_ttnews[cat]',
                        ),
                    ),
                    // news articles anMd searchwords
                    'article' => array(
                        array(
                            'GETvar' => 'tx_ttnews[tt_news]',
                            'lookUpTable' => array(
                                'table' => 'tt_news',
                                'id_field' => 'uid',
                                'alias_field' => 'title',
                                'addWhereClause' => ' AND NOT deleted',
                                'useUniqueCache' => 1,
                                'useUniqueCache_conf' => array(
                                    'strtolower' => 1,
                                    'spaceCharacter' => '-',
                                ),
                            ),
                        ),
                        array(
                            'GETvar' => 'tx_ttnews[backPid]',
                        ),
                        array(
                            'GETvar' => 'tx_ttnews[swords]',
                        ),
                    ),
            ),
        ),
        // configure filenames for different pagetypes
        'fileName' => array(
            'defaultToHTMLsuffixOnPrev' => 1,
            'index' => array(
                'print.html' => array(
                    'keyValues' => array(
                        'print' => 1,
                    ),
                ),
                'rss.xml' => array(
                    'keyValues' => array(
                        'type' => 100,
                    ),
                ),
                'rss091.xml' => array(
                    'keyValues' => array(
                        'type' => 101,
                    ),
                ),
                'rdf.xml' => array(
                    'keyValues' => array(
                        'type' => 102,
                    ),
                ),
                'atom.xml' => array(
                    'keyValues' => array(
                        'type' => 103,
                    ),
                ),
                 'sitemap.xml' => array(
           'keyValues' => array(
            'type' => 200,
           ),
        ),
            ),
        ),
    ),
);
```

typoscript im Roottemplate:

```typoscript
config{

   no_cache = 0
   
   # Spam-Protection f?r die Email-Adressen
   spamProtectEmailAddresses = 2
   spamProtectEmailAddresses_atSubst = (at)

   intTarget = {$PAGE_TARGET}
   extTarget = _blank

   doctype = xhtml_trans
   xhtml_cleaning = all
   xmlprologue = none
   htmlTag_langKey = de
   metaCharset = utf-8
   

   index_enable = 1

   # Spracheinstellungen
   linkVars = L
   sys_language_mode = content_fallback
   sys_language_overlay = hideNonTranslated
   
  # realurl
   prefixLocalAnchors = all
   simulateStaticDocuments = 0
   tx_realurl_enable = 1
  
   baseURL = http://www.dieDomain.de/
}
```

Jetzt ist es so, dass, wenn ich die "Realurl-Adresse" Eingebe, also: <http://www.meineDomain.de/Seite1/unterseite.html>, die Richtige Seite angezeigt wird.

Die Menüs und Links in der Seite erstellen aber noch Links im Format ...index.php&id=XYZ

Typo3 Version: 4.2.6
RealURL: 1.8.0
PHP_VERSION  : 5.2.0-8+etch11

Hat jemand von euch ne Ahnung, woran das liegen kann?

Vielen Dank im Voraus,
Jens aka Schmoozer

---

Quelle: „Tmenü und Links ignorieren RealUrl“, typo3.net, https://www.typo3.net/d/99762-tmenue-und-links-ignorieren-realurl
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
