Replace in whcsm/includes/functinons.php code:
[co]
		$title = foreignchrreplace($title);		$title = str_replace("#", "sharp", $title);		$title = str_replace(""", "", $title);		$title = str_replace("/", "or", $title);		$title = str_replace("&", "and", $title);		$title = str_replace("&", "and", $title);		$title = str_replace("+", "plus", $title);		$title = str_replace("=", "equals", $title);		$title = str_replace("@", "at", $title);		$title = str_replace(" ", "-", $title);		$title = preg_replace("/[^0-9a-zA-Z-]/i", "", $title);		return $title;*/[/co]By:[co]		$str = preg_replace("/(à|á|ạ|ả|ã|â|ầ|ấ|áº|ẩ|ẫ|ă|ằ|ắ|ặ|ẳ|ẵ)/", 'a', $str);		$str = preg_replace("/(è|é|ẹ|ẻ|ẽ|ê|á»|ế|ệ|ể|á»…)/", 'e', $str);		$str = preg_replace("/(ì|Ã|ị|ỉ|Ä©)/", 'i', $str);		$str = preg_replace("/(ò|ó|á»|á»|õ|ô|ồ|ố|á»™|ổ|á»—|Æ¡|á»|á»›|ợ|ở|ỡ)/", 'o', $str);		$str = preg_replace("/(ù|ú|ụ|á»§|Å©|ư|ừ|ứ|á»±|á»|ữ)/", 'u', $str);		$str = preg_replace("/(ỳ|ý|ỵ|á»·|ỹ)/", 'y', $str);		$str = preg_replace("/(Ä‘)/", 'd', $str);		$str = preg_replace("/(À|Ã|Ạ|Ả|Ã|Â|Ầ|Ấ|Ậ|Ẩ|Ẫ|Ä‚|Ằ|Ắ|Ặ|Ẳ|Ẵ)/", 'A', $str);		$str = preg_replace("/(È|É|Ẹ|Ẻ|Ẽ|Ê|Ề|Ế|Ệ|Ể|Ễ)/", 'E', $str);		$str = preg_replace("/(ÃŒ|Ã|Ị|Ỉ|Ĩ)/", 'I', $str);		$str = preg_replace("/(Ã’|Ó|Ọ|Ỏ|Õ|Ô|á»’|á»|Ộ|á»”|á»–|Æ |Ờ|Ớ|Ợ|Ở|á» )/", 'O', $str);		$str = preg_replace("/(Ù|Ú|Ụ|Ủ|Ũ|Ư|Ừ|Ứ|á»°|Ử|á»®)/", 'U', $str);		$str = preg_replace("/(Ỳ|Ã|á»´|á»¶|Ỹ)/", 'Y', $str);		$str = preg_replace("/(Ä)/", 'D', $str);		$str = preg_replace("/( )/", '-', $str);		return $str;[/co]Or another code to rewrite url with utf-8 Latin language. Please update it...
Regards
                
                            
            
         
        
                    
1 Comment
Login to post a comment.
If
http://domain.com/knowledgebas/id/title-knowledgebase ---> OK
But
http://domain.com/knowledgebas/id/title-knowledgebase? ---> 404