This is the solution :
AFTER :
//shorten the url for storage and for consistancy
$url = str_replace('&', '&', $url);
ADD :
// UPDATE TO KICK DUPLICATE CONTENT
$g=explode('&',$url);
if(sizeof($g)==2) return $url;
$url = str_replace('index.php?', '&', $url);
$url2 = explode('itemid=',$url);
$url3 = explode('&',$url2[1]);
$url=$url2[0].$url3[1];
$url = explode('&',$url);
sort($url);
$url=implode('&',$url);
$url = 'index.php?'.$url;
// END UPDATE
this solution is in test but appear to be OK
EDIT: not academic but i do as i can<br><br>Post edited by: Ultim_fr, at: 2006/11/30 11:57