rudolfl Posted August 9, 2016 Share Posted August 9, 2016 Hi all, How does one gets rid of osCsid in URL? I have cookie domain set properly. If cookie is already there, ocCsid does not appear in URL. The issue is first visit to site (this is how bots and customers behave). ocCsid is present in URL. In order to get rid of it, I have to manually remove it from URL. So, it seems that function that generates URLs keeps copying the ocCsid in URL even after cookie is set. Is there an official way to fix it? site: www.fascinators.com.au version 2.3.3.4 Thanks, Rudolf Link to comment Share on other sites More sharing options...
♥toyicebear Posted August 9, 2016 Share Posted August 9, 2016 1. Set Force Cookies to true. (osCsid in url not used, users with browsers that does not support cookies will not be able to buy from your shop) Or 2. keep it as you have it but make sure that Prevent Spider Sessions is set to true. (makes it so bots does not get osCsid) Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here] Link to comment Share on other sites More sharing options...
rudolfl Posted August 9, 2016 Author Share Posted August 9, 2016 Thanks, Nick. I wonder how many people block cookies those days. As for prevent spider sessions -- it is on, but that relies on the spider list being up-to-date. Code change to support it should be minimal -- I beleive osCsid gets inserted by tep_get_all_get_params() function in includes/functions/general.php It should just check if cookie exists and exclude osCsid from list if it is set. This behaviour should also be controlled by config key. Rudolf Link to comment Share on other sites More sharing options...
Jack_mcs Posted August 9, 2016 Share Posted August 9, 2016 @@rudolfl I wonder how many people block cookies those days. It doesn't matter, in my opinion. If there is only one person that does and that one person decides to become your best customer ever, you will lose him by forcing cookies. I suggest you install Ultimate SEO or SEO 5 to rewrite the url's. Both will remove the SID's. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
rudolfl Posted August 11, 2016 Author Share Posted August 11, 2016 I have one of the SEO add-ons installed and it does not help (not 100% sure what version, though). First access to site keeps osCsid in URL. I will try my proposed changes over weekend and will let you know. Rudolf Link to comment Share on other sites More sharing options...
Jack_mcs Posted August 11, 2016 Share Posted August 11, 2016 That is normal. The SID is displayed on the first page but not any others for that session. It isn't anything to be concerned about. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.