cotonti.com : Turkish characters fix (url modifcation) https://www.cotonti.com Последние сообщения в теме Cotonti en Mon, 06 Oct 2025 22:25:15 -0000 Gökhan YILDIZ чт, 18 фев 2010 07:36:07 -0000 TeknoGroup чт, 18 фев 2010 04:57:25 -0000 Gökhan YILDIZ вт, 16 фев 2010 19:29:38 -0000 TeknoGroup
$text = str_replace( "ş", "s", $text);

kodlarını eklesemde görmüyor]]>
вт, 16 фев 2010 10:57:10 -0000
Gökhan YILDIZ http://www.cotonti.com/forums.php?m=posts&p=10670 bu sayfadaki yönergeleri uygulayın.]]> вт, 16 фев 2010 08:57:35 -0000 TeknoGroup
değişen birşey olmadı malesef]]>
вт, 16 фев 2010 07:33:02 -0000
Gökhan YILDIZ
open functions.custom.php or functions.php

find:

if (!defined('SED_CODE')) { die('Wrong URL.'); }

add after:

function makesafe($text)
{
	//$text = preg_replace("#&\#([0-9]*);#ie","_",$text);
	$text = html_entity_decode($text);
	$text = str_replace(" / ","_",$text);
	$text = str_replace("'","",$text);
	$text = str_replace("\"","",$text);
	$text = str_replace("/","_",$text);
	$text = str_replace("'","_",$text);
	$text = str_replace(" - ","_",$text);
	$text = str_replace("-","_",$text);
	$text = str_replace(" ","_",$text);
	$text = str_replace( "ç", "c", $text);
	$text = str_replace( "Ç", "c", $text);
	$text = str_replace( "ğ", "g", $text);
	$text = str_replace( "Ğ", "g", $text);
	$text = str_replace( "ı", "i", $text);
	$text = str_replace( "İ", "i", $text);
	$text = str_replace( "ö", "o", $text);
	$text = str_replace( "Ö", "o", $text);
	$text = str_replace( "ş", "s", $text);
	$text = str_replace( "Ş", "s", $text);
	$text = str_replace( "ü", "u", $text);
	$text = str_replace( "Ü", "u", $text);
	$text = str_replace( "&", "and", $text);
	$text = str_replace( "%", "Percent", $text);
	$text = ereg_replace("[^A-Za-z0-9_-]", "", $text);
	$text = str_replace("____","_",$text);
	$text = str_replace("___","_",$text);
	$text = str_replace("__","_",$text);
	$text = strtolower($text);
	return $text;
}


save and upload.]]>
пт, 15 янв 2010 18:13:09 -0000
fedai http://www.cotonti.com/docs/en/admin/url_modification

expl: site.com/docs/ölçüm
the url Turkish characters: ö,ç,ü Turkish characters instead ö=o,ç=c,ü=u fix, such as how do we do]]>
пт, 15 янв 2010 15:38:27 -0000