---
title: "RealURL 0.2.0 mit Typo3 3.7: Mehrere Domains = Probleme"
url: "https://www.typo3.net/d/20170-realurl-020-mit-typo3-37-mehrere-domains-probleme"
source: "typo3.net"
tags: ["Allgemein","Frage","RealURL","TYPO3 3","URLs & Routing"]
created: "2005-01-18"
last_reply: "2005-04-04"
replies: 5
solved: false
page: 1
pages: 1
lang: "de"
---

# RealURL 0.2.0 mit Typo3 3.7: Mehrere Domains = Probleme

Allgemein · 5 Antworten · gestartet 2005-01-18

## Eröffnungsbeitrag

**Andreas B.​** · 2005-01-18 · [Beitrag #1](https://www.typo3.net/d/20170-realurl-020-mit-typo3-37-mehrere-domains-probleme/1)

Hallo,

seit vielen Wochen habe ich das Problem, daß das "Speaking URLS" immer nur für meine erste Domain auf meiner Typo3-Installation funktioniert.
Also nur bei meiner ersten Domain innerhalb meiner Typo3-Installation
werden die ID-Nummern der Seiten durch den PageTitle ersetzt, nicht aber für die anderen Domains/Auftritte. Teilweise werde für diese noch nicht einmal statische Seiten simuliert oder es werden statische Seiten
simuliert und beim Klick auf einen der Links erscheint dann wieder die
Homepage.

Kann mir da bitte jemand einen Tip geben? (Natürlich habe ich die
Dokumentation von RealURL gelesen und auch die dortigen Tips zu den
multiple domains verfolgt.)

Auf meiner Seite <http://www.in-memoriam-gabi.de> ist ja alles Ok.
Auf meinem Bruder seiner Seite <http://www.bellowski.de> führen alle Links wieder zu der Homepage,
außerdem werden die IDs nicht durch die Seitentitel ersetzt (=Speaking URLs).
Auf meiner Qualitätsmanagement-Herumprobier-Site <http://www.qm-konzepte.de> passiert gar nichts, also es werden noch
nicht einmal statische Seiten simuliert.

Das ganze lässt mich seit vielen Wochen verzweifeln: Ich kann einfach
nicht resignieren...... :-)

Meine ext_localconf.php sieht folgendermaßen aus:

```php
<?php
// Activate script Hook, normaly already done in
ext/realurl/ext_localconf.php
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData-PostProc'][]
=
'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc'][]
=
'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';

// script Hook for clear all cache, normaly already done in
ext/realurl/ext_localconf.php
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']
['tx_realurl_urldecodecache'] = 'tx_realurl_urldecodecache';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']
['tx_realurl_urlencodecache'] = 'tx_realurl_urlencodecache';

$TYPO3_CONF_VARS['FE']['addRootLineFields'] .=
',tx_realurl_pathsegment,alias,nav_title,title';

// realurl config
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
'_DEFAULT' => array(
'init' => array(
'enableCHashCache' => 1,
// 'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
),
'redirects' => array(),
'preVars' => array(
//match &no_cache=1 with path prefix /nc
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'nc' => 1,
),
'noMatch' => 'bypass',
),
//multiple language matching L=2 is replaced by /dk
//value are user defiened depending of the order you've
inserted your
//alternative language in TYPO3. See sys_language table
for ID
array(
'GETvar' => 'L',
'valueMap' => array(
'en' => 3,
// 'english' => '3',
'de' => 0,
// 'deutsch' => '0',
),
//'noMatch' => 'bypass',
'valueDefault' => 'de',
),
),
// use extended page name rendering
// page names are converted to readalbe
page/sub-page/sub-sub-page.html
'pagePath' => array(
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '_',
'languageGetVar' => 'L',
'expireDays' => 7,
'rootpage_id' => 27,
//
'encodeTitle_userProc'=>'EXT:realurl/tx_realurl_encodeTitle_userProc.php:&user_encodeDates',
),
'fixedPostVars' => array(),
// match extension parameter
'postVarSets' => array(
'_DEFAULT' => array(
// archive
'period' => array(
array(
'condPrevValue' => -1,
'GETvar' => 'tx_ttnews[pS]' ,
// 'valueMap' => array(
//
// )
),
array(
'GETvar' => 'tx_ttnews[pL]' ,
// 'valueMap' => array(
//
// )
),
array(
'GETvar' => 'tx_ttnews[arc]' ,
'valueMap' => array(
'archived' => 1,
'non-archived' => -1,
)
),
),
// pagebrowser
'browse' => array(
array(
'GETvar' => 'tx_ttnews[pointer]',
),
),
'select' => array (
array(
'GETvar' => 'tx_ttnews[cat]',
'lookUpTable' => array(
'table' => 'tt_news_cat',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
),
),
),
),

// backPid link
// 'back_to' => array(
// array('GETvar' => 'tx_ttnews[backPid]',
// 'lookUpTable' => array('table' => 'pages',
// 'id_field' => 'uid',
// 'alias_field' => 'title',
// 'addWhereClause' => ' AND NOT deleted',
// 'useUniqueCache' => 1,
// 'useUniqueCache_conf' =>
array('strtolower' => 1,
// 'spaceCharacter' => '_',
// ),
// ),
// ),
// ),
'article' => array(
array(
'GETvar' => 'tx_ttnews[backPid]',
),
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]'
),
),
),
),
// map some type to file name: rss.xml = &typo=100
'fileName' => array(
'index' => array(
'rss.xml' => array(
'keyValues' => array(
'type' => 100,
),
),
// 'index.html' => array(
// 'keyValues' => array(),
// ),
),
// add .html suffix to the end of the path generated
'defaultToHTMLsuffixOnPrev' => 1,
),
),

//Fuer QMKonzepte
'www.bellowski.de' => array(
'init' => array(
'enableCHashCache' => 1,
// 'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
),
'redirects' => array(),
'preVars' => array(
//match &no_cache=1 with path prefix /nc
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'nc' => 1,
),
'noMatch' => 'bypass',
),
//multiple language matching L=2 is replaced by /dk
//value are user defiened depending of the order you've
inserted your
//alternative language in TYPO3. See sys_language table
for ID
array(
'GETvar' => 'L',
'valueMap' => array(
'en' => 3,
// 'english' => '3',
'de' => 0,
// 'deutsch' => '0',
),
//'noMatch' => 'bypass',
'valueDefault' => 'de',
),
),
// use extended page name rendering
// page names are converted to readalbe
page/sub-page/sub-sub-page.html
'pagePath' => array(
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '_',
'languageGetVar' => 'L',
'expireDays' => 7,
'rootpage_id' => 87,
//
'encodeTitle_userProc'=>'EXT:realurl/tx_realurl_encodeTitle_userProc.php:&user_encodeDates',
),
'fixedPostVars' => array(),
// match extension parameter
'postVarSets' => array(
'_DEFAULT' => array(
// archive
'period' => array(
array(
'condPrevValue' => -1,
'GETvar' => 'tx_ttnews[pS]' ,
// 'valueMap' => array(
//
// )
),
array(
'GETvar' => 'tx_ttnews[pL]' ,
// 'valueMap' => array(
//
// )
),
array(
'GETvar' => 'tx_ttnews[arc]' ,
'valueMap' => array(
'archived' => 1,
'non-archived' => -1,
)
),
),
// pagebrowser
'browse' => array(
array(
'GETvar' => 'tx_ttnews[pointer]',
),
),
'select' => array (
array(
'GETvar' => 'tx_ttnews[cat]',
'lookUpTable' => array(
'table' => 'tt_news_cat',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
),
),
),
),

// backPid link
// 'back_to' => array(
// array('GETvar' => 'tx_ttnews[backPid]',
// 'lookUpTable' => array('table' => 'pages',
// 'id_field' => 'uid',
// 'alias_field' => 'title',
// 'addWhereClause' => ' AND NOT deleted',
// 'useUniqueCache' => 1,
// 'useUniqueCache_conf' =>
array('strtolower' => 1,
// 'spaceCharacter' => '_',
// ),
// ),
// ),
// ),
'article' => array(
array(
'GETvar' => 'tx_ttnews[backPid]',
),
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]'
),
),
),
),
// map some type to file name: rss.xml = &typo=100
'fileName' => array(
'index' => array(
'rss.xml' => array(
'keyValues' => array(
'type' => 100,
),
),
// 'index.html' => array(
// 'keyValues' => array(),
// ),
),
// add .html suffix to the end of the path generated
'defaultToHTMLsuffixOnPrev' => 1,
),
),

//Fuer Bellowski
'www.qm-konzepte.de' => array(
'preVars' => array(
'0' => array(
'GETvar' => 'L',
'valueMap' => array(
'de' => 0,
'en' => 3,
),

'valueDefault' => 'de',
),

),

'fileName' => array(
'defaultToHTMLsuffixOnPrev' => '1',
),

'pagePath' => array(
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '_',
'languageGetVar' => 'L',
'expireDays' => 3,
'rootpage_id' => 140,
),

'fixedPostVars' => array(
),

)

);
?>
```

Vielen Dank im Voraus.
Andreas

## Antworten

### [#2](https://www.typo3.net/d/20170-realurl-020-mit-typo3-37-mehrere-domains-probleme/2) · boarder · 2005-03-15

gleiches problem hier.. hast du was rausgefunden?

### [#3](https://www.typo3.net/d/20170-realurl-020-mit-typo3-37-mehrere-domains-probleme/3) · Andreas B.​ · 2005-03-15

Ich habe sehr viel herumprobiert, bis es schliesslich ohne ersichtlichen Grund plötzlich komplett funktionierte. Warum weiss ich also wirklich nicht. Ich vermute aber einen Syntaxfehler in der php-Datei.

### [#4](https://www.typo3.net/d/20170-realurl-020-mit-typo3-37-mehrere-domains-probleme/4) · boarder · 2005-04-04

hast du eine Ahnung, woren dies liegen könnte?... Welche php-files hast du editiert?

Ich finde wirklich nirgends eine Lösung dazu und es macht mich nun wirklich etwas nachdenklich über die Qualität der Typo3-Technologie.

Wäre wirklich für jegliche inputs dankbar.

boarder

### [#5](https://www.typo3.net/d/20170-realurl-020-mit-typo3-37-mehrere-domains-probleme/5) · Andreas B.​ · 2005-04-04

Wie gesagt, nur daß die PHP-Datei syntax-mäßig falsch war.
GANZ WICHTIG: Nach jedem Probieren immer alle URL-Caches und auch die beiden temp-Dateien löschen.

### [#6](https://www.typo3.net/d/20170-realurl-020-mit-typo3-37-mehrere-domains-probleme/6) · boarder · 2005-04-04

kannst du mir diese php-datei vielleicht einmal übermitteln, damit ich diese vergleichen kann.

vielen dank.

es ist wirklich komisch, dass auch auf der englischen liste noch niemand dazu eine Frage hatte.

tx, b

---

Quelle: „RealURL 0.2.0 mit Typo3 3.7: Mehrere Domains = Probleme“, typo3.net, https://www.typo3.net/d/20170-realurl-020-mit-typo3-37-mehrere-domains-probleme
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
