Forum Moderators: coopster
So i was expecting it to all be indexed- however when i did a google cache view, all the urls ended in
?PHPSESSID=d4dce1ca6a7f31add154315609556e3b
and google stopped indexing further down.
How do i remove the sessions w/o making sweeping changes to my cart system?
I've found this so far:
Code:
if (
(stristr($HTTP_SERVER_VARS['HTTP_USER_AGENT'] ,'Googlebot')) ¦¦ (stristr($HTTP_SERVER_VARS'HTTP_USER_AGENT'] ,'slurp@inktomi.com;')) ¦¦
(stristr($HTTP_SERVER_VARS['HTTP_USER_AGENT'] ,'K2'))) {
//Don't start a session
}
but how do i add it and how do i include a list of all search bots and not just two...
Thanks for any help!
[edited by: pageoneresults at 2:59 pm (utc) on Mar. 11, 2004]
[edit reason] Examplified URI [/edit]
mod_rewrite for removing session ids [webmasterworld.com]
Help: rewriterule for session id needed [webmasterworld.com]
How to check whether it's a spider or not via PHP? [webmasterworld.com]
How to deal with cart's session Id's [webmasterworld.com]