This tutorial will teach you how to get rid of PHPSESSID urls once they have already been indexed by google. Amazing stuff.
Open up system/header.php and put the following code right at the beginning. Works wonders.
Kod:
$URL = 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
if (!ini_get ('safe_mode') && preg_match ('/'.session_name().'=([^=&\s]*)/i', $URL))
{ $URL = preg_replace ( array ('`'.session_name().'=([^=&\s]*)`', '`(&|\ş)+$`'), '', $URL);
@ header ("HTTP/1.1 301 Moved Permanently");
@ header ("Location: " . trim ($URL));
exit();
}
]