Ich habe ein Problem, dass die zweite Sprache nicht indiziert wird, wenn Realurl aktiviert ist. Die Standard-Sprache wird ohne Probleme indiziert. Schalte ich Realurl aus, klappts auch mit der zweiten Sprache. Das Setup-TS sollte also stimmen. Iirgendwas passt wohl mit der Realurl-Config nicht.
Zur Info: je nach Sprache wird eine andere Domain verwendet, ich nehme an, dass es irgendwo daran hakt.
Hier meine Realurl Config:
<?php
$TYPO3_CONF_VARS['EXTCONF']['realurl']=array(
'_DEFAULT' => array(
'init' => array(
'enableCHashCache' => true,
'appendMissingSlash' => 'ifNotFile,redirect',
'adminJumpToBackend' => true,
'enableUrlDecodeCache' => true,
'enableUrlEncodeCache' => true,
'emptyUrlReturnValue' => '/',
),
'preVars' => array(
0 => array(
'GETvar' => 'no_cache',
'valueMap' => array(
'no_cache' => 1,
),
'noMatch' => 'bypass',
),
1 => array(
'GETvar' => 'L',
'valueMap' => array(
'de' => '1',
'en' => '0',
),
'noMatch' => 'bypass',
),
),
'fileName' => array (
'index' => array(
'page.html' => array(
'keyValues' => array (
'type' => 1,
)
),
'_DEFAULT' => array(
'keyValues' => array(
)
),
),
),
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'rootpage_id' => 1,
'expireDays' => 1,
),
),
);
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DOMAINS'] = array(
'encode' => array(
array(
'GETvar' => 'L',
'value' => '',
'ifDifferentToCurrent' => true,
'useConfiguration' => '_DEFAULT',
'urlPrepend' => 'http://englischedomain.com',
),
array(
'GETvar' => 'L',
'value' => '0',
'ifDifferentToCurrent' => true,
'useConfiguration' => '_DEFAULT',
'urlPrepend' => 'http://englischedomain.com',
),
array(
'GETvar' => 'L',
'value' => '1',
'ifDifferentToCurrent' => true,
'useConfiguration' => '_DEFAULT',
'urlPrepend' => 'http://deutschedomain.de',
),
),
'decode' => array(
'englischedomain.com' => array(
'GETvars' => array(
'L' => '',
),
'useConfiguration' => '_DEFAULT',
),
'deutschedomain.de' => array(
'GETvars' => array(
'L' => '1',
),
'useConfiguration' => '_DEFAULT',
),
),
)
?>