Abend,
RewriteCond %{QUERY_STRING} ^PHPSESSID
RewriteRule ^(.*)\.html$ $1.html? [L,R=301]
RewriteRule ^$ / [L,R=301]
RewriteCond %{QUERY_STRING} ^(.*)&PHPSESSID
RewriteRule ^(.*)\.html$ $1.html?%1 [L,R=301]
RewriteRule ^$ /%1 [L,R=301]
Ich bin mir jetzt aber nicht 100% sicher, ob...