[TYPO3-english] RealUrl multilanguage with and without country PathSegments
Basti Baumann
sb at typo3erweiterungen.de
Fri Sep 9 12:31:41 CEST 2011
Hi Dimitry,
Am 07.09.2011 09:16, schrieb Dmitry Dulepov:
> Don't use _DEFAULT for multidomain web sites. If you do, expect problems
> sooner or later.
OK, but I define before the rootpage-id:
$http_host_realurl = $rootpage_id[preg_replace('!^(www\.)!', '',
$_SERVER['HTTP_HOST'])];
$rootpage_id = array(
'domain.de' => '2',
'domain.com' => '2',
'typo3.domain.de' => '2',
'domain.nl' => '2',
);
>
> Your config.sys_language_uid and config.language settings are...?
>
Default ist german: #1
config.linkVars = L
# Standardsprache
config.sys_language_uid = 1
config.language = de
config.locale_all = de_DE
and then:
[globalVar = GP:L = 0]
config.sys_language_uid = 0
config.language = en
config.locale_all = english
[global]
# Deutsch, sys_language.uid = 1
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.sys_language_mode = 1
config.language = de
config.locale_all = de_DE
[global]
and so on,.....
regards
More information about the TYPO3-english
mailing list