Here's something you may find handy

http://tuckey.org/urlrewrite/manual/2.6/guide.html

<outbound-rule encodefirst="true">
    <condition name="user-agent">googlebot.*</condition>
    <from>^(.*);jsessionid=.*(\?.*)$</from>
    <to>$1$2</to>
</outbound-rule>

On 3/25/06, Mark Lowe <[EMAIL PROTECTED]> wrote:
> Sessionid's can cause problems, some spiders understand
> ;jsessionid=[the id] is part of the url. Therefore everytime the bot
> comes around it thinks its a different page.
>
> The usual thing to do is remove sessionid for spiders. Attention needs
> to be paid in case the application depends on the session is any way,
> but thats rarely the case with product pages..
>
> Mark
>
> On 3/25/06, Jim Reynolds <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I created a ecommerce site using struts and opened it up about 6
> > months ago. Ever since its inception, I have had trouble getting my
> > site indexed by google, or any other searchengine.
> >
> > I am using servlet mapping of ".do". I cannot understand for my life,
> > but it appears that when the robots see a link for something like:
> > http://www.mysite.com/context/welcome.do that it does not actually
> > call the page, which calls welcome.jsp which is where my "metas" are.
> > (But If I call that link from a browser, of course the page shows). I
> > can source it, and see all my metas.
> >
> > Is this a struts problem, or a MVC problem with searchengines?
> >
> > So in desperation, I purchased a product today called WebPosition, and
> > started pointing to my pages like
> > http://www.mysite.com/context/welcome.do and it says I do not even
> > have a title. It does not see the .jsp page that struts forwards to.
> >
> > Does anyone have any explanation why this is occuring? Anyone give me
> > pointers how to resolve this. I am getting desperate and could use a
> > hand.
> >
> > Sincerely
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to