---
title: "realurl zeigt nur in manchen Teilen den \"Pfad\" richtig an"
url: "https://www.typo3.net/d/109737-realurl-zeigt-nur-in-manchen-teilen-den-pfad-richtig-an"
source: "typo3.net"
tags: ["Allgemein","Frage","RealURL"]
created: "2012-03-10"
last_reply: "2012-03-11"
replies: 6
solved: false
page: 1
pages: 1
lang: "de"
---

# realurl zeigt nur in manchen Teilen den "Pfad" richtig an

Allgemein · 6 Antworten · gestartet 2012-03-10

## Eröffnungsbeitrag

**denhatkeiner** · 2012-03-10 · [Beitrag #1](https://www.typo3.net/d/109737-realurl-zeigt-nur-in-manchen-teilen-den-pfad-richtig-an/1)

Hallo, habe realurl und realurlconf installiert. Funktioniert auch, nur bekomme ich im Browser nur einen Teil meines Menues in realurl umgewandelt, der andere Teil zeigt immer noch die id an (lunomed.de, bei "Fachärzte" gehts, bei "Hausärzte" nicht. Habe die decode und encode caches alle geleert, hat nix geholfen. Hat da jmd eine Lösung? DANKE

## Antworten

### [#2](https://www.typo3.net/d/109737-realurl-zeigt-nur-in-manchen-teilen-den-pfad-richtig-an/2) · skydivematy · 2012-03-10

wie sieht denn deine realurl_conf.php aus?
gruss
maty

### [#3](https://www.typo3.net/d/109737-realurl-zeigt-nur-in-manchen-teilen-den-pfad-richtig-an/3) · denhatkeiner · 2012-03-11

Hallo Maty, da hab ich nichts geändert.

<?php
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
        'init' => array(
            'enableCHashCache' => 1,
            'appendMissingSlash' => 'ifNotFile',
            'enableUrlDecodeCache' => 1,
            'enableUrlEncodeCache' => 1,
            'respectSimulateStaticURLs' => 0,
            'postVarSet_failureMode'=>'redirect_goodUpperDir',
        ),
    'redirects_regex' => array (

    ),
    'preVars' => array(
                        array(
                                'GETvar' => 'no_cache',
                                'valueMap' => array(
                                    'no_cache' => 1,
                                ),
                                'noMatch' => 'bypass',
                        ),
                         array(
                             'GETvar' => 'L',
                             'valueMap' => array(
                                                'en' => '1',
                                        ),
                                'noMatch' => 'bypass',
                        ),
                ),
     'pagePath' => array(
            'type' => 'user',
            'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
            'spaceCharacter' => '-',
            'languageGetVar' => 'L',
            'expireDays' => 7,
            'rootpage_id' => 1,
        ),

'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 and 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[swords]',
                        ),
                    ),
                ),
            ),

'fileName' => array(
            'defaultToHTMLsuffixOnPrev'=>1,
            'index' => array(
                '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,
                    ),
                ),
            ),
        ),
 );
 php?>

### [#4](https://www.typo3.net/d/109737-realurl-zeigt-nur-in-manchen-teilen-den-pfad-richtig-an/4) · skydivematy · 2012-03-11

Guten Morgen,
sind das tt_news Beiträge oder Normale Seiten?

### [#5](https://www.typo3.net/d/109737-realurl-zeigt-nur-in-manchen-teilen-den-pfad-richtig-an/5) · denhatkeiner · 2012-03-11

Hallo Maty, guten Morgen. Das sind ganz normale Seiten aus dem Seitenbaum.
Gruss von Carlo

### [#6](https://www.typo3.net/d/109737-realurl-zeigt-nur-in-manchen-teilen-den-pfad-richtig-an/6) · skydivematy · 2012-03-11

Du schreibst, Du hast realurlconf Installiert. Ist das eine Extension? Wenn ja schmeiss die mal raus. Sowas braucht man nicht bei realurl. Die realurl_conf.php im typo3conf Ordner Reinpacken. In der Extension Realurl nicht auf Automatic stellen. Pfad zu realurl_conf.php angeben.

SETUP ROOT

```typoscript
config {
simulateStaticDocuments = 0
baseURL = http://www.deinedomain/
tx_realurl_enable = 1
absRefPrefix =
prefixLocalAnchors = all
typolinkCheckRootline = 1
typolinkEnableLinksAcrossDomains = 1
userPrefixLocalAnchors = all
}
```

in die localconf.php im typo3conf Ordner einfügen

```typoscript
include(PATH_typo3conf.'realurl_conf.php');
```

Zeile 22 -> 28

```typoscript
array(
'GETvar' => 'L',
'valueMap' => array(
'en' => '1',
),
'noMatch' => 'bypass',
),
```

ändern mit

```typoscript
array(
           'GETvar' => 'L',
           'valueMap' => array(
                          '' => '0',
			'de' => '1',
		      //'es' => '2',
		      //'no' => '3',
	      'valueDefault' => 'en',
                               ),
                     'noMatch' => 'bypass',
                        ),
```

Was ist die Default Language? de? en? Mit Deiner Language dem entsprechent Ändern

und mach mal in der Letzten Zeile deiner realurl_conf.php aus dem **PHP?>** ein **?>**

Wenn Du tt_news nutzen möchtest solltest Du das noch vor dem ?> am Ende der realurl_conf.php einfügen.

```typoscript
// RealURL - valueMap creation for tt-news
for($x=1; $x<=100; $x++) {
    $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['fixedPostVars']['news'][0]['valueMap'][$x+1] = $x;
}
// NEWS PAGES 
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['fixedPostVars']['74'] = 'news';
```

Hier fixedPostVars']['74'] kommt Die ID der Seite wo du ein tt_news Plugin einbaust. (list+single)

Für jede Seite einmal das

```typoscript
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['fixedPostVars']['74'] = 'news';
```

mit der Entsprechenden Seiten ID

gruss
maty

### [#7](https://www.typo3.net/d/109737-realurl-zeigt-nur-in-manchen-teilen-den-pfad-richtig-an/7) · denhatkeiner · 2012-03-11

> **skydivematy schrieb:**
>
> Du schreibst, Du hast realurlconf Installiert. Ist das eine Extension? Wenn ja schmeiss die mal raus. Sowas braucht man nicht bei realurl. Die realurl_conf.php im typo3conf Ordner Reinpacken. In der Extension Realurl nicht auf Automatic stellen. Pfad zu realurl_conf.php angeben.
>
> ->Hab ich rausgeschmissen und das Häkchen bei automatischer Configuration hatte ich von anfang an draussen
>
> SETUP ROOT
>
> ```typoscript
> config {
> simulateStaticDocuments = 0
> baseURL = http://www.deinedomain/
> tx_realurl_enable = 1
> absRefPrefix =
> prefixLocalAnchors = all
> typolinkCheckRootline = 1
> typolinkEnableLinksAcrossDomains = 1
> userPrefixLocalAnchors = all
> }
> ```
>
> -> Hab ich gemacht
>
> in die localconf.php im typo3conf Ordner einfügen
>
> -> ich glaub das steht schon drin
>
> ```typoscript
> include(PATH_typo3conf.'realurl_conf.php');
> ```
>
> -> meinst Du hier nicht die realurl_conf.php? jedenfalls hab ichs da mal alles so geändert
>
> Zeile 22 -> 28
>
> ```typoscript
> array(
> 'GETvar' => 'L',
> 'valueMap' => array(
> 'en' => '1',
> ),
> 'noMatch' => 'bypass',
> ),
> ```
>
> ändern mit
>
> ```typoscript
> array(
>            'GETvar' => 'L',
>            'valueMap' => array(
>                           '' => '0',
> 			'de' => '1',
> 		      //'es' => '2',
> 		      //'no' => '3',
> 	      'valueDefault' => 'en',
>                                ),
>                      'noMatch' => 'bypass',
>                         ),
> ```
>
> Was ist die Default Language? de? en? Mit Deiner Language dem entsprechent Ändern
>
> und mach mal in der Letzten Zeile deiner realurl_conf.php aus dem **PHP?>** ein **?>**
>
> Wenn Du tt_news nutzen möchtest solltest Du das noch vor dem ?> am Ende der realurl_conf.php einfügen.
>
> -> Hab ich installiert und benutzt, also auch so geändert
>
> ```typoscript
> // RealURL - valueMap creation for tt-news
> for($x=1; $x<=100; $x++) {
>     $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['fixedPostVars']['news'][0]['valueMap'][$x+1] = $x;
> }
> // NEWS PAGES 
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['fixedPostVars']['74'] = 'news';
> ```
>
> Hier fixedPostVars']['74'] kommt Die ID der Seite wo du ein tt_news Plugin einbaust. (list+single)
>
> Für jede Seite einmal das
>
> ```typoscript
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['fixedPostVars']['74'] = 'news';
> ```
>
> mit der Entsprechenden Seiten ID
>
> gruss
> maty
>
> -> es geht trotzdem nicht bzw eher schlechter als vorher, hast Du noch bissl Geduld?

---

Quelle: „realurl zeigt nur in manchen Teilen den "Pfad" richtig an“, typo3.net, https://www.typo3.net/d/109737-realurl-zeigt-nur-in-manchen-teilen-den-pfad-richtig-an
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
