tedd wrote:
Hi gang:
I've read that php sessions can create problems for Google bots. For example, the following was taken from a Google "Web Master Help" Center:
-- Quote --
Allow search bots to crawl your sites without session IDs or arguments that track their path through the site. These techniques are useful for tracking individual user behavior, but the access pattern of bots is entirely different. Using these techniques may result in incomplete indexing of your site, as bots may not be able to eliminate URLs that look different but actually point to the same page.
-- Un-quote --
<http://www.google.com/support/webmasters/bin/answer.py?answer=35770>
I've also seen a comment here:
http://www.weberdev.com/get_example-3431.html
But, I'm not following what's happening.
Can someone shed some light on this for me? How can one do sessions and make Google bots happy?
use_trans_sid (I think) will append the sessionid to all pages, so
instead of:
/page.php
it will become
/page.php?PHPSESSID=xxxxx
much the same as if you do:
<?php
echo '/page.php?' . SID;
?>
Bots don't like that, so where possible turn use_trans_sid off (check
manual about when/how you can do this).
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php