forumda bu konu için kendi kullandigim fonksiyonu vermiştim.
https://www.r10.net/php/294975-str2url-fonksiyonum.html