---
title: "RealUrl schreibt Fremdsprachen nicht in den Pathcache"
url: "https://www.typo3.net/d/100530-realurl-schreibt-fremdsprachen-nicht-in-den-pathcache"
source: "typo3.net"
tags: ["Extensions","Frage","RealURL","TYPO3 4","URLs & Routing"]
created: "2010-08-10"
last_reply: "2010-08-25"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# RealUrl schreibt Fremdsprachen nicht in den Pathcache

Extensions · 1 Antwort · gestartet 2010-08-10

## Eröffnungsbeitrag

**Matze_Ter** · 2010-08-10 · [Beitrag #1](https://www.typo3.net/d/100530-realurl-schreibt-fremdsprachen-nicht-in-den-pathcache/1)

Hallo ich habe da ein Problem mit RealUrl ich habe eine Seite T3 4.3.2 und RealUrl 1.9.3 jetzt hatte ich zu beginn der Seite deutsch und englisch als Sprachen eingerichtet diese werden auch vorbildlich von RealUrl in den Pathcache geschrieben, allerdings habe ich jetzt 4 neue Sprachen und hier werden entweder keine Seiten gecached oder nur ganz vereinzelnd welche.
Habe schon etliche Sachen ausprobiert zB. den de/encodecache deaktivieren aber er will sie einfach nicht in den pathcache mit aufnehmen.
Die Seiten sind jetzt zwar erreichbar durch die ID aber das ist ja net Sinn und Zweck der geschichte.
Hier meine derzeitigen Configs...

```typoscript
config.simulateStaticDocuments = 0
config.baseURL = http://www.domain.eu/
config.tx_realurl_enable = 1
config.prefixLocalAnchors = all
config.uniqueLinkVars = 1
config.linkVars = L

config.sys_language_uid = 0
config.language = de
config.locale_all = de_DE
config.htmlTag_langKey = de

[globalVar = GP:L = 0]
  plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 0
[global]

[globalVar = GP:L = 1]
  config {
    language = en
    locale_all = en_US
    htmlTag_langKey = en
    sys_language_uid = 1
  }
  plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 1
[global]

[globalVar = GP:L = 2]
  config {
    language = es
    locale_all = es_ES
    htmlTag_langKey = es
    sys_language_uid = 2
  }
  plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 2
[global]
[globalVar = GP:L = 3]
  config {
    language = fr
    locale_all = fr_FR
    htmlTag_langKey = fr
    sys_language_uid = 3
  }
  plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 3
[global]

[globalVar = GP:L = 4]
  config {
    language = it
    locale_all = it_IT
    htmlTag_langKey = it
    sys_language_uid = 4
  }
  plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 4
[global]
[globalVar = GP:L = 5]
  config {
    language = pt
    locale_all = pt_PT
    htmlTag_langKey = pt
    sys_language_uid = 5
  }
  plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 5
  
[global]
[globalVar = GP:L = 6]
  config {
    language = ru
    locale_all = ru_RU
    htmlTag_langKey = ru
    sys_language_uid = 6
  }
  plugin.tx_indexedsearch._DEFAULT_PI_VARS.lang = 6
  
[global]
```

```php
$TYPO3_CONF_VARS['FE'] ['addRootLineFields'] .= ',tx_realurl_pathsegment';  
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
	'_DEFAULT' => array(
		'init' => array(
			'enableCHashCache' => true,
			'appendMissingSlash' => 'ifNotFile',
			'enableUrlDecodeCache' => true,
			'enableUrlEncodeCache' => true,
			'postVarSet_failureMode' => '',
		),
		'redirects' => array(),
		        'preVars' => array (
					'0' => array (
						'GETvar' => 'no_cache',
						'valueMap' => array (
							'nc' => '1',
						),
						'noMatch' => 'bypass'
					),
					'1' => array (
						'GETvar' => 'L',
						'valueMap' => array (
							'de' => '0',
							'en' => '1',
							'es' => '2',
							'fr' => '3',
							'it' => '4',
							'pt' => '5',
							'ru' => '6',
						),
						'valueDefault' => 'de',

						#'noMatch' => 'bypass',
					),
					'2' => array (
						'GETvar' => 'lang',
						'valueMap' => array (
							'de' => '0',
							'en' => '1',
							'es' => '2',
							'fr' => '3',
							'it' => '4',
							'pt' => '5',
							'ru' => '6',
						),
						'valueDefault' => 'de',
						'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' => 2,
				'firstHitPathCache' => 1,
			),
			'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' => 0,
			'index' => array(
				'print.html' => array(
					'keyValues' => array(
						'type' => 98,
					),
				),
				'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,
					),
				),
			),
		),
	),
);
```

und hier noch die .htaccess

```php
RewriteEngine On
RewriteBase /

RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule .* /index.php [L]
```

Hat evtl. jemand eine Idee woran das liegen kann

## Antworten

### [#2](https://www.typo3.net/d/100530-realurl-schreibt-fremdsprachen-nicht-in-den-pathcache/2) · Matze_Ter · 2010-08-25

OK ist erledigt die einstellungen sind soweit alle in Ordnung gewesen hatte nur in der Metanavigation die language parameter deklariert und dort hatt eich nur 0 und 1 drin...

---

Quelle: „RealUrl schreibt Fremdsprachen nicht in den Pathcache“, typo3.net, https://www.typo3.net/d/100530-realurl-schreibt-fremdsprachen-nicht-in-den-pathcache
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
