Problem of rerouting in multilingual site SEF
Posted: 21 Apr 2016, 19:21
When the web site is SEF and the language is not the default language, it apear a problem : the default language is set.
The solution is in the file "helpers/route.php" in the function "getCategoryRoute"
The code must be, before the last line :
The solution is in the file "helpers/route.php" in the function "getCategoryRoute"
The code must be, before the last line :
Code: Select all
$link .= (JRequest::getCmd( 'lang' ) != '') ? '&lang='.JRequest::getCmd( 'lang' ) : '';