Removing - ?PHPSESSID from a URL
by Francis[ Edit ] 2012-09-28 10:13:17
Removing PHP SESSION ID from a URL,
1. Add the following code to the .htaccess file:
<IfModule mod_rewrite.c>
RewriteEngine On
#remove PHPSESSID
RewriteCond %{QUERY_STRING} PHPSESSID=.*$
RewriteRule .* %{REQUEST_URI}? [R=301,L]
</IfModule>