Hi all, How do I simplify my domains so they don't have PHPSESSID? Now my domains look like this: services.html?PHPSESSID=ea352 But I just want my domain like this: services.html Any help is much appreciated! Thanks!
Insert the following code into .htaccess to remove session IDs from your website URLS php_value session.use_only_cookies 1 php_value session.use_trans_sid 0 This code tells the server to store the PHPSESSID in a cookie or not to bother. If the browser does not have cookies enabled, then the session id won’t move to the URL. This does mean that all functionality that relies on sessions will not work such as session based logins.
or get your host to change this at the php.ini level - you shouldn't have to do this in your htaccess file. most hosts disable this for obvious reasons.