Remove PHP session id parameter when canonicalizing URLs
When canonicalizing a URL, do not keep an empty params string if al params have been removed