FWIW, I've never had any trouble getting robots to index relative URLs.
In fact, it would seem pretty silly to me if all URLs on a site had to
be absolute.

The inclusion of query parameters in your URL is more likely to cause it
to be ignored than the use of relative URLs.

 - George

> -----Original Message-----
> From: Jim Reynolds [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 27, 2006 4:20 PM
> To: Struts Users Mailing List
> Subject: Re: html:link, etc, looking for full url, not just 
> context name
> 
> 
> Not exactly the answer I was looking for. I don't believe I 
> ever mentioned anything about iterating .... or params, or
> 
> Anyway, when I use html:link, etc, I get the following in my 
> source: <a href="/app/exceptionMain.do?userID=290441">
> 
> I want
> <a href="http://www.mywebapphere/app/exceptionMain.do?userID=290441";>
> 
> That way when the robots index the site, it includes that 
> portion, which is good.
> 
> That is all I am trying to achive.
> 
> 
> 
> 
> 
> On 2/27/06, Ahmed Hashim <[EMAIL PROTECTED]> wrote:
> > Yes, 
> > 
> http://struts.apache.org/struts-taglib/tagreference-struts-html.html#h
> > tml:link
> >
> > If you will use html:link inside an iteration use the properties
> > (indexed,indexId)
> > If you want to compose a URL like
> > Action1.do?ID=2
> > use
> >
> > <html:link action="Action1" paramId="ID" 
> paramName="theFormBeanName" 
> > paramProperty="thePropertyInTheForm">link</html:link>
> >
> > Ahmed Hashim
> >
> > On 2/27/06, Jim Reynolds <[EMAIL PROTECTED]> wrote:
> > >
> > > I have created a ecommerce site using struts, and using the full 
> > > array of html:# tags.
> > >
> > > I am at the point of trying to index the site better, and 
> one thing 
> > > I have noticed with most sites that index well, and according to 
> > > what I hear from google. The href links, which I currently use 
> > > html:link with are candidates for indexing.
> > >
> > > The problem I have, is that I would like the full url to 
> show up in 
> > > the links, as that is a good index line. It is the url of 
> the site. 
> > > Without it, the link is only a .do or whatever.
> > >
> > > Question: Is there a 'clean' way to get the full url to 
> show up in 
> > > the links. In my mind clean means, I get the full url + context 
> > > name:
> > >
> > > Any ideas?
> > >
> > > Thanks,
> > >
> > > 
> --------------------------------------------------------------------
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > http://del.icio.us/ahashim
> >
> 
> ---------------------------------------------------------------------
> 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