From the Beginning
I been using TYPO3 and realURL for a long time now and I'm no expert but I've got my go-to setups and configurations that I use for the site I develop. At one time the author of realURl Dmitry Dulepov had published a best-practices article on how to configure realURL and that's what I've been using for a few years now. Here's what it looks like.
//Configure RealURL
$tx_realurl_config = array(
'init' => array(
'appendMissingSlash' => 'ifNotFile',
'emptyUrlReturnValue'=>'/',
),
'redirects' => array(),
'preVars' => array(
'0' => array(
'GETvar' => 'no_cache',
'valueMap' => array(
'nc' => 1,
),
'noMatch' => 'bypass',
),
'1' => array(
'GETvar' => 'L',
'valueMap' => array(
'dk' => '2',
'de' => '1',
),
'noMatch' => 'bypass',
),
),
'fixedPostVars' => array(
'newsDetailConfiguration' => array(
…
Read more