Knowledgebase: General Q&A
When I open classifieds website the links contain session IDs and since 2nd page session IDs disappear. Is there any way I can use cookies instead of SIDs so it is better with search engines?
Posted by - NA - on 12 January 2005 07:27 PM
The session id gets attached to every internal link url only for the first web page of a session, then it disappears. This behaviour can be changed starting from php 4.3.0 - please insert into inc/application.php file after hwSessionInit() the following line (if it isn't there) :
if(function_exists('output_reset_rewrite_vars')) output_reset_rewrite_vars();

About the search engines - session is not started if the user agent is recognized to be SE crawler/spider/robot (googlebot, etc) and no session IDs are seen in URLs which are indexed by search engines. Crawlers list is stored in inc/robots.inc.php and can be updated at any time.

Comments (0)
Help Desk Software by Kayako Fusion