Predpokladám, že ti ide o CoolUri. Ja odstraňujem diakritiku a nechcené znaky takto:
function makeCoolUri($string = '') {
$string = strip_tags(trim($string));
$pole_co= array('ě','š','č','ř','ž','ť','ň','ď','ľ','ý','á','í','é','ú','ó','ů','ü','ö','ä','Ě','Š','Č','Ř','Ž','Ť','Ď','Ň','Ý','Á','Í','É','Ú','Ó','Ů','Ü','Ö','Ä','-','.');
$pole_cim=array('e','s','c','r','z','t','n','d','l','y','a','i','e','u','o','u','u','o','a','E','S','C','R','Z','T','D','N','Y','A','I','E','U','O','U','U','O','A',' ',' ');
$string=str_replace($pole_co, $pole_cim, $string); // odstraneni diakritiky + uprava nekterych spec. znaku
$string = strtolower($string);
$string = preg_match_all('/[a-zA-Z0-9]+/', $string, $nt);
return strtolower(implode('-', $nt[0]));
}