function seo($str){
        $str=str_replace("Ş","S",$str);
        $str=str_replace("ş","s",$str);
        $str=str_replace("Ş","s",$str);
        $str=str_replace("Ç","C",$str);
        $str=str_replace("ç","c",$str);
        $str=str_replace("Ö","O",$str);
        $str=str_replace("ö","o",$str);
        $str=str_replace("Ğ","G",$str);
        $str=str_replace("ğ","g",$str);
        $str=str_replace("Ü","U",$str);
        $str=str_replace("ü","u",$str);
        $str=str_replace("ı","i",$str);
        $str=str_replace("İ","i",$str);
        $str=preg_replace("/[^A-Za-z0-9\s]/"," ",$str);
        $str=str_replace(" ","-",trim($str));
        $str=preg_replace('/([-]+)/','-',$str);
        $str=strtolower($str);
        return $str;
    }
Benim kullandığım kod ile senin verdiğin kod arasında ne gibi farklar var? eksisi yada artısı varmı varsa neler açıklarsan sevinirim.