includes / class_friendly_url.php dosyasını düzenlemek için aç.
içinde ara / Find
Bununla değiştir / Replace the code
içinde ara / Find
- Kod:
protected static function cleanURL($fragment)
{
$fragment = to_ascii($fragment);
return trim(urlencode(preg_replace('#- #', '-', $fragment)), '-');
}
Bununla değiştir / Replace the code
- Kod:
protected static function cleanURL($fragment)
{ // bu kisim [Linkleri görebilmek için üye olun veya giriş yapın.] uyarlamasi basliyor
$translite_simbols = array(
'Ü'=>'U',
'ü'=>'u',
'Ä'=>'A',
'ä'=>'a',
'ß'=>'ss',
'ö'=>'o',
'Ö'=>'O',
'ç'=>'c',
'Ç'=>'C',
'ğ'=>'g',
'Ğ'=>'g',
'ü'=>'u',
'Ü'=>'u',
'ş'=>'s',
'Ş'=>'S',
'ı'=>'i',
'İ'=>'I',
''=>'r',
''=>'c',
'€'=>'E',
'ue'=>'u',
'oe'=>'o'
);
// bu kisim [Linkleri görebilmek için üye olun veya giriş yapın.] uyarlamasi bitiyor
$fragment = strtr($fragment, $translite_simbols);
$fragment = to_ascii($fragment);
return trim(urlencode(preg_replace('#- #', '-', $fragment)), '-');
}