Nov 3, 2013

Magento remove session id from URL

Magento displays session ID in url, something like:


You can remove this in two ways:

1. Go to your Magento admin panel > System > Configuration > Web.
Under Session Validation Settings, set “No” against label “Use SID on the Frontend”.
If this doesn’t work, then move to option two below.

2. Edit the file at app/code/core/Mage/Core/Model/App.php (somewhere around line 222),

protected $_useSessionInUrl = true;

Change that value to “false”. That should now prevent session IDs appearing in URL.

1 Comment

  • i planning to work on magneto T-shirt design tools extension please share your idea about t-shirt design extension .

Leave a comment


Welcome to my Blog

This blog is merely to record the things that I find interesting. It can be technical, humor, news, creative or anything that deserves to be posted here. Enjoy the blog and don't forget to throw comments and likes/+1's/tweets on posts you like. Thanks for visiting!