LoginLogin About

Support » Knowledge Base » General questions » Tips for scripts owners »

How do I remove "PHPSESSID=..." from my URLs?

In order to remove parameters of the kind "PHPSESSID=1dc9fcb731a123ec16fb2e49ece325ed" from the URLs of your website, disable parameter session.use_trans_sid in the PHP configuration. To achieve that, add the following code to file .htaccess (if such files are allowed on your server):

php_flag session.use_trans_sid off

Should you fail to disable that parameter as described above, editing PHP configuration file php.ini is necessary. You may need to contact your system administrator for assistance in re-configuring PHP on the server.