PeterSprak Posted August 12, 2008 Posted August 12, 2008 Hi all, This is really bigining to bug me. :angry: For SEO purposes I would like to hide the SID that appears when you click on a product. Can anyone please advise how I go about doing this. :rolleyes: Regards. Peter.
spooks Posted August 12, 2008 Posted August 12, 2008 if you enable 'force cookie use' you get no sid, if thats not suitable there are other techniques to be found here with a little searching. Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
PeterSprak Posted August 13, 2008 Author Posted August 13, 2008 Thanks Sam, I have just tried that and for some unknown reason I get the page advising how to change the settings for cookies on Internet explorer but although I have made the necessary changes, I still keep getting the same page. Can I trouble you once more and ask if you know what the other methods are or point me in the right direction please? :blush: Thanks again Peter.
oschellas Posted August 14, 2008 Posted August 14, 2008 Probably you have an error in your configuration file regarding cookie domain.
Jack_mcs Posted August 14, 2008 Posted August 14, 2008 Thanks Sam, I have just tried that and for some unknown reason I get the page advising how to change the settings for cookies on Internet explorer but although I have made the necessary changes, I still keep getting the same page. Can I trouble you once more and ask if you know what the other methods are or point me in the right direction please? :blush: Thanks again Peter. I don't recommend using the Force Cookie option. You just need to adjust your configure file to get the SID's to go away. Try posting your configure file here, without the login data, or search the forums for setting this up. Jack 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
BarrySmith Posted August 14, 2008 Posted August 14, 2008 I don't recommend using the Force Cookie option. You just need to adjust your configure file to get the SID's to go away. Try posting your configure file here, without the login data, or search the forums for setting this up. Jack Hi Jack, Is the configuration file in the admin folder? If so, there does not appear to be any login details. Regards. Barry. I have built an online store solely with the help of this forum.
Jack_mcs Posted August 14, 2008 Posted August 14, 2008 The file is named configure.php and is located in the includes directory. Jack 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
BarrySmith Posted August 15, 2008 Posted August 15, 2008 The file is named configure.php and is located in the includes directory. Jack Found it Jack! I have pasted the configure.php file below without the database passwords: <?php define('HTTP_SERVER', 'http://snoringshop.co.uk'); define('HTTPS_SERVER', 'http://snoringshop.co.uk'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'http://snoringshop.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'http://snoringshop.co.uk'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/snorings/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'snorings_snoringshop'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); //// BOF phpBB2 Integration v1.3 // define phpbb2 path define('DIR_WS_PHPBB', '/phpbb2/'); //// EOF phpBB2 Integration v1.3 ?> I have built an online store solely with the help of this forum.
BarrySmith Posted August 28, 2008 Posted August 28, 2008 Can anyone help out please? I have built an online store solely with the help of this forum.
♥FWR Media Posted August 28, 2008 Posted August 28, 2008 Can anyone help out please? No one in this forum will help with that. The oscommerce session system has been hacked about. Sessions are showing as ?sid=xxxx this is non standard you will have to contact whoever broke it, do it yourself, or hire a professional to do it for you. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
Daemonj Posted August 28, 2008 Posted August 28, 2008 Change both of your HTTP*_COOKIE_DOMAIN entries to be snoringshop.co.uk and that should get you taken care of. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
oschellas Posted August 28, 2008 Posted August 28, 2008 Try: define('HTTP_COOKIE_DOMAIN', 'snoringshop.co.uk'); Or: define('HTTP_COOKIE_DOMAIN', '.snoringshop.co.uk'); And: define('HTTP_COOKIE_PATH', ''); Or: define('HTTP_COOKIE_PATH', '/');
BarrySmith Posted September 21, 2008 Posted September 21, 2008 Thanks Jack_msc, Daemonj and oschellas for all your help. I have finallly managed to get the thibng working! Thanks again. Peter. I have built an online store solely with the help of this forum.
BarrySmith Posted September 23, 2008 Posted September 23, 2008 Hi all need some more help on this one :o I have noticed that when I goto my website www.snoringshop.co.uk, the SID shows up initially and then disappears when I click on another product. Can anyone please advice how I can totally get rid of the SID. Sorry to be a pain again. If it helps, I have added the configure file below: <?php define('HTTP_SERVER', 'http://www.snoringshop.co.uk'); define('HTTPS_SERVER', 'http://www.snoringshop.co.uk'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'snoringshop.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'snoringshop.co.uk'); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/snorings/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'XXXXXX'); define('DB_SERVER_PASSWORD', 'XXXXXX); define('DB_DATABASE', 'snorings_snoringshop'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); //// BOF phpBB2 Integration v1.3 // define phpbb2 path define('DIR_WS_PHPBB', '/phpbb2/'); //// EOF phpBB2 Integration v1.3 ?> Peter. I have built an online store solely with the help of this forum.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.