|
Need to remove session IDs
Hi:
I want to remove session IDs - but only when a bot (user-agent: googlebot, slurp, etc.) is crawling my site (apache + mod_perl).
In my site, session IDs are not generated on the initial page requested (whether index or interior page); but are generated in subsequent links from that requested page.
Example:
page requested:
www*example.com/ (and will appear as such to bots)
links on requested page appear as:
www*example.com/dir1/?sessionID=aa162314bDRa53872123
www*example.com/dir2/?sessionID=aa162314bDRa53872123
www*example.com/dir3/?sessionID=aa162314bDRa53872123
and so on....
Any suggestions, references, or examples of code that has worked for anyone else? I am new at this so simple is better.
Thanks.
popeye
|