[TYPO3-english] Realurl _DOMAINS
Bas van der Togt
bas at profinit.com
Mon Aug 8 09:11:46 CEST 2016
Nobody?
Op 29-07-16 om 14:35 schreef Bas van der Togt:
> Hello!
>
> Is it possible to use _DOMAINS config for only one language and the rest
> of the languages by preVars?
>
> So what i want is:
> domain.com (default English)
> domain.com/nl/ (Dutch)
> domain.com/de/ (German)
> domain.es (Spanish)
>
> With this config default and Spanish are working but Dutch and German not:
>
> Using TYPO3 7.6.3 and Realurl 2.0.14
>
> $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array (
> '_DEFAULT' => array (
> 'init' => array (
> 'enableCHashCache' => 1,
> 'appendMissingSlash' => 'ifNotFile,redirect[301]',
> 'enableUrlDecodeCache' => 1,
> 'enableUrlEncodeCache' => 1,
> ),
>
> 'redirects' => array (),
>
> 'pagePath' => array (
> 'type' => 'user',
> 'userFunc' =>
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
> 'spaceCharacter' => '-',
> 'languageGetVar' => 'L',
> 'expireDays' => 7,
> 'rootpage_id' => 1,
> ),
>
> 'fixedPostVars' => array (
> ),
>
> 'preVars' => array (
> array (
> 'GETvar' => 'no_cache',
> 'valueMap' => array (
> 'nc' => 1,
> ),
> 'noMatch' => 'bypass',
> ),
> array (
> 'GETvar' => 'L',
> 'valueMap' => array (
> 'nl' => 1,
> 'de' => 2,
> // 'es' => 3
> ),
> 'noMatch' => 'bypass',
> ),
> ),
>
> 'postVarSets' => array (
> '_DEFAULT' => array(
> ),
> ),
>
> 'fileName' => array (
> 'index' => array (
> 'sitemap.xml' => array (
> 'keyValues' => array (
> 'type' => 105,
> ),
> ),
> ),
> ),
> ),
>
> '_DOMAINS' => array(
> 'encode' => array(
> array(
> 'GETvar' => 'L',
> 'value' => '0',
> 'useConfiguration' => '_DEFAULT',
> 'urlPrepend' => 'http://sis.dev'
> ),
> array(
> 'GETvar' => 'L',
> 'value' => '1',
> 'useConfiguration' => '_DEFAULT',
> 'urlPrepend' => 'http://sis.dev'
> ),
> array(
> 'GETvar' => 'L',
> 'value' => '2',
> 'useConfiguration' => '_DEFAULT',
> 'urlPrepend' => 'http://sis.dev'
> ),
> array(
> 'GETvar' => 'L',
> 'value' => '3',
> 'useConfiguration' => '_DEFAULT',
> 'urlPrepend' => 'http://sises.dev'
> )
> ),
> 'decode' => array(
> 'sis.dev' => array(
> 'GETvars' => array(
> 'L' => '0',
> ),
> 'useConfiguration' => '_DEFAULT'
> ),
> 'sisnl.dev' => array(
> 'GETvars' => array(
> 'L' => '1',
> ),
> 'useConfiguration' => '_DEFAULT'
> ),
> 'sisde.dev' => array(
> 'GETvars' => array(
> 'L' => '2',
> ),
> 'useConfiguration' => '_DEFAULT'
> ),
> 'sises.dev' => array(
> 'GETvars' => array(
> 'L' => '3',
> ),
> 'useConfiguration' => '_DEFAULT'
> )
> )
> ),
> );
>
> Regards,
> Bas
More information about the TYPO3-english
mailing list