@Aessandro: the fix should work
@anubkb: please check if the fix will solve your problem
Hi,
the links end with an slash like
http://www.mncgc.com/%e6%a1%88%e4%be%8b%e5%a4%84%e7%90%86%e7%b1%bb%e5%88%ab/?lang=zh/
If I remove the slash and press enter I get a translated page. Are they ok?
What is your permalink Setting?
Regards
Nils
Hi,
I modified the function “cml_get_the_link()” in the file “frontend\utils.php”. Just replace “return $link;” with this code:
// Get the last character from the permalink structure definition
$permalink_structure = get_option('permalink_structure');
if ( $permalink_structure !== '' ) {
if ( substr( $permalink_structure, -1 ) != '/' ) {
$link = untrailingslashit( $link );
}
}
return $link;
Hope this is ok. 😉
Regards
Nils