4.1.3, get_language.php modification
Find:
Code:
if (
($current_area == "C" || $current_area == "B") &&
!empty($HTTP_GET_VARS["sl"]) &&
!defined('IS_ROBOT') &&
!preg_match('/\.html?($|\?)|\/$/s', $l_redirect)
) {
func_header_location($l_redirect);
}
Replace With:
Code:
if (($current_area == "C" || $current_area == "B") && !empty($HTTP_GET_VARS["sl"]) && !defined('IS_ROBOT')) {
############################################################
# X-CART-SEO Mod :: http://code.google.com/p/x-cart-seo/
############################################################
if (!empty($active_modules["XC_SEO"])) {
func_header_location($l_redirect);
}else{
if (!preg_match('!(\.htm(l)?|/$)!',$_tmp["path"])) {
func_header_location($l_redirect);
}
}
# End SEO
}