How to suppress PHPSESSID in URL for Googlebot?
Posted
by
Roque Santa Cruz
on Pro Webmasters
See other posts from Pro Webmasters
or by Roque Santa Cruz
Published on 2011-02-16T18:19:59Z
Indexed on
2011/02/16
23:35 UTC
Read the original article
Hit count: 460
I use cookie based sessions, and they work for normal interaction with our site. However, when Googlebot comes crawling out PHP framework, Yii, needs to append ?PHPSESSID
to each URL, which doesn't look that good in SERP.
Any ways to suppress this behavior?
PS. I tried to utilize ini_set('session.use_only_cookies', '1');
, but it does not work.
PPS. To get an impression of the SERP, they look like this:
© Pro Webmasters or respective owner