Supprimer les ID de session (PHPSESSID)
Sur certains hébergeurs, cette manipulation ne suffit pas. Voici la solution en quelques lignes tout en haut de votre fichier PHP (index.php) :
[code]
if(substr_count($_SERVER['REQUEST_URI'], "?PHPSESSID") == 1) {
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://".$_SERVER['HTTP_HOST'].substr($_SERVER['REQUEST_URI'],0,strpos($_SERVER['REQUEST_URI'], '?')) );
}
[/code]