The jsessionid should only be added in 2 cases:
1. when no session cookie is sent with the request
2. when transitioning between HTTP and HTTPS pages
To get this to not happen for web crawlers would require either
breaking sessions for normal users, or identifying the bot and
sending a different page for it. Obviously the first isn't a good
option so the second would be the way to go... I don't think anything
like this already exists.
-David
On Feb 13, 2006, at 7:28 AM, Eric Crawford wrote:
> Hi. Can anyone tell me how I can get the search engines to "spider" my
> e-commerce site without including the session id? The URL that is
> being indexed by Google is similar to the following:
>
>
http://myurl.com/control/product/
> ~product_id=10336;jsessionid=68k5kj5gv3jv1
>
> Is something like mod_rewrite my only option?
>
> The jsessionid is causing the searche engines to index my products
> more than once. I checked the URLs of other Sequoia/Ofbiz
> implementations that are indexed by Google and they don't include the
> session id.
>
> Thank you,
> Eric
>
> _______________________________________________
> Dev mailing list
>
[hidden email]
>
http://lists.ofbiz.org/mailman/listinfo/dev
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev