Jim,

If you don't want advice, don't ask.  If you ask, don't get snippy about
the answers you receive.

Google and other indexing robots are perfectly capable of inferring the
full URL from a relative URL.  I may be wrong, but I think it's
significantly harder to "game" your Google placement than turning all of
your relative URLs into absolute ones.  No doubt you can find articles
and hire consultants who will recommend this, and other dodgy tactics,
that may have worked for a week or two in the distant past.

If you still want to tell me that I'm being a jerk for not giving you
the answer to the question as you phrased it, you might want to read
http://www.regdeveloper.co.uk/2006/02/27/perpetual_motion_apache/
starting with the part: 'why we may seem unhelpful when a question comes
across as "help me shoot myself in the foot".'

 - George

> -----Original Message-----
> From: Jim Reynolds [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 27, 2006 5:12 PM
> To: Struts Users Mailing List
> Subject: Re: html:link, etc, looking for full url, not just 
> context name
> 
> 
> Its not my day ....
> 
> No I do not believe I ever mentioned robots reading the site. 
> Please stay on the topic. I want to use full URL's not 
> relative. Google and other indexing "robots" will use the 
> data in the link to index. I have a bucket full of links, and 
> if I could easily put in the full url, it will help with my 
> rating. It would be simple to update the tag myself and add 
> the url, but I thought there would be a pre-built in hook for this.
> 
> All I have been asking is the following: Is there a easy way 
> using the html:# tags to get the full url printed.
> 
> 
> 
> 
> On 2/27/06, [EMAIL PROTECTED] 
> <[EMAIL PROTECTED]> wrote:
> > 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]
> >
> >
> 
> ---------------------------------------------------------------------
> 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