我在 TYPO3 4.5.26 上运行 realURL 1.12.6
我习惯于 realURL 创建包含 preVar 的路径,也适用于默认语言,例如 www.example.com/de/seite/ 和 www.example.com/en/page/
在一种情况下,这种情况并没有发生——或者我认为,只是有时发生。
在大多数情况下,我会得到 www.example.com/seite/ 和 www.example.com/en/page/
这个可以在哪里修改呢?
PS:这是我的 realurlconf 的开头:
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'enableCHashCache' => 1,
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
'respectSimulateStaticURLs' => 0,
//'postVarSet_failureMode'=>'redirect_goodUpperDir',
),
'redirects_regex' => array (
),
'preVars' => array(
array(
'GETvar' => 'L',
'valueMap' => array(
'de' => '0',
'en' => '1',
),
'valueDefault' => 'de',
'noMatch' => 'bypass',
),
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'no_cache' => 1,
),
'noMatch' => 'bypass',
),
),