Ian Posted February 8, 2003 Share Posted February 8, 2003 This is the first proper packaged release of the SID killer code. For those who haved missed this previously :shock: The code is used to stop the addition of SID's to all of your url/links when being spidered by a search engine. It does this by suppressing SID's unless certain conditions are met. 1) The customer logs in 2) The customer adds something to their cart 3) The customer changes currency. As all of the above (see note below) require a form action which spiders cannot follow, it effectively stops all SID's when spiders visit your site. Note: The exception to this is the buy now button, in standard osCommerce this is a simple linke rather than a form action. Joshua Dechant has posted a contribution which changes buy now buttons to form actions, and this is a must have addition to my code. I've added Joshua's contribution to the same contribution package so that you can download it from the same contributions url as mine. To get the contribution http://www.oscommerce.com/community/contributions,952 Quote Trust me, I'm an Accountant. Link to comment Share on other sites More sharing options...
dreamscape Posted February 8, 2003 Share Posted February 8, 2003 Ian, any changes to this from the latest code in the SID Killer thread? Quote The only thing necessary for evil to flourish is for good men to do nothing - Edmund Burke Link to comment Share on other sites More sharing options...
Ian Posted February 8, 2003 Author Share Posted February 8, 2003 Hi Joshua, Yes, I've added code to propagate any language change in the url. Language selection is not a form action so previous code would start generating sid's when spider followed a language link. Quote Trust me, I'm an Accountant. Link to comment Share on other sites More sharing options...
scottymcloo Posted February 9, 2003 Share Posted February 9, 2003 Hi Ian / Josh Works a dream - just installed on the latest snapshot. Thanks very much. Graeme Quote Link to comment Share on other sites More sharing options...
Farrukh Posted February 9, 2003 Share Posted February 9, 2003 Ian, I am not much familiar with SID . What does it actually do and how does it benefit us. ? Is it neccessary for those who run ecommerce sites and sell tangible products.? Quote Link to comment Share on other sites More sharing options...
CC Posted February 9, 2003 Share Posted February 9, 2003 Follow Ian's link to the contribution and you will find this: Aims to stop googelbot and other search engine spiders adding an sid to the url. This is important for two reasons. First having sid's in published search engine listings can be a huge security/privacy problem. Secondly because of the way googlebot in particular works, having sid's in your url's can cause what is commonly know as the 'google dance' where googlebot gets trapped in your site causing a huge amount of page hits. It gives a brief understanding of what the SID killer does. If you dont understaned that, just search for google and it will bring up some HUUUUUGE threads that follow what a SID killer is for. CC. Quote Link to comment Share on other sites More sharing options...
Ian-San Posted February 10, 2003 Share Posted February 10, 2003 My two cents: I have discovered that a unique feature of all spiders seems to be that getenv('HTTP_ACCEPT_LANGUAGE') is null. ie. spiders do not have a browser language. However, I am not sure that every valid user does have a browser language or under what circumstances, if any, a valid user could use a browser that does not have a language??? Seems to me that this could be used somehow. Any ideas? Quote Ian-san Flawlessnet Link to comment Share on other sites More sharing options...
DicE Posted February 10, 2003 Share Posted February 10, 2003 Hi Ian, very much like the idea about better security etc that the SID killer brings, so I installed it on my cart. But I get these strange errors every time I log in, or push the "add to cart" button : Warning: Cannot add header information - headers already sent by (output started at c:phpdevwwwcatalogincludesfunctionshtml_output.php:2) in c:phpdevwwwcataloglogin.php on line 43 Warning: Cannot add header information - headers already sent by (output started at c:phpdevwwwcatalogincludesfunctionshtml_output.php:2) in c:phpdevwwwcatalogincludesfunctionsgeneral.php on line 23 I use the 20030203 snapshot with a lot of contributions, but all worked fine until I installed the SIDkiller. Any suggestions? thanks! Quote _____.:::.________###__________|/______ :(o o): . (o o) (o o) ooO--(_)--Ooo-ooO--(_)--Ooo-ooO--(_)--Ooo- Link to comment Share on other sites More sharing options...
Guest Posted February 14, 2003 Share Posted February 14, 2003 Looks like you may have a space in one of your php files before or after the php symbols. very much like the idea about better security etc that the SID killer brings, so I installed it on my cart. But I get these strange errors every time I log in, or push the "add to cart" button : Code: Warning: Cannot add header information - headers already sent by (output started at c:phpdevwwwcatalogincludesfunctionshtml_output.php:2) in c:phpdevwwwcataloglogin.php on line 43 Warning: Cannot add header information - headers already sent by (output started at c:phpdevwwwcatalogincludesfunctionshtml_output.php:2) in c:phpdevwwwcatalogincludesfunctionsgeneral.php on line 23 I would check the two files listed above first. Quote Link to comment Share on other sites More sharing options...
Guest Posted February 14, 2003 Share Posted February 14, 2003 Using tep snapshot 02022003. getting the following errors after installing sid killer version 1.0 when going to site! at top of page Parse error: parse error, expecting `')'' in /home/moogrets/public_html/store/catalog/includes/functions/html_output.php on line 286 where column left should start Fatal error: Call to undefined function: tep_draw_pull_down_menu() in /home/moogrets/public_html/store/catalog/includes/boxes/manufacturers.php on line 48 any ideas where to look? for now I have switched back to backups of application_top.php and html_output.php :cry: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.