function clean_seo_text( $text, $slash=true ) {
$text = strtr($text, "ŞsÜüÖöĞğıÇç", "ssuuooggicc");
$entities_match = array(' ','--','"','!','@','#','%','^','&','*','_','(',')','+','{','}','|',':','"','<','>','?','[',']','\\',';',"'",',','.','/','*','+','~','`','=');
$entities_replace = array('-','-','','','','','','','','','','','','','','','','','','','','','','','','');
$clean_text = str_replace($entities_match, $entities_replace, $text, $string);
// $clean_text = preg_replace('/[^a-zA-Z0-9\-]/', '', $clean_text);
if ( $clean_text != '' )
$slash = ( $slash ) ? '/' : NULL;
return $slash . $clean_text;
}böyle dener misiniz hocam birde ? umarım dalgınlığıma gelmemiştir.