Jump to content

Cache page HTML error generated by website


Kit Fox

Recommended Posts

I'm experiencing a strange problem on two of my geocache pages. When I code an HTML link on the cache page, Geocaching.com adds their own link.

 

Example one: GC17F3P

 

I posted an image that I turned into a hyperlink for my personal geocaching site. When you click on the link, it sends you to http://www.geocaching.com/seek/www.antelop...ygeocachers.com instead of www.antelopevalleygeocachers.com .

 

My HTML coding is as follows:

 

<center><a rel="no follow" href=

"www.antelopevalleygeocachers.com"><img src=

"http://i4.photobucket.com/albums/y144/sgbofav/misc/AVGLogolong.jpg">

</a></center>

 

Example two: GC10028

 

My HTML coding is as follows:

<a href="www.devils-punchbowl.com" target= "_blank">Devil's Punch Bowl.</a>

 

The link comes up as http://www.geocaching.com/seek/www.devils-punchbowl.com instead of www.devils-punchbowl.com.

 

What causes this, can you fix the error?

 

The link comes up as http://www.geocaching.com/seek/www.devils-punchbowl.com

 

 

Disregard, I figured out the error, you have to add http:// in order for the hyperlink to work properly

Edited by Kit Fox
Link to comment

I'm not sure what "<a rel=" is but I think you want to use <a href="

Rel sounds relative so to speak so that sort of sounds exactly like your description of the problem, a relative link on www.geocaching.com would have that at the front.

 

HTML tidy adds that, no matter how many times I delete it.

Link to comment

I'm not sure what "<a rel=" is but I think you want to use <a href="

Rel sounds relative so to speak so that sort of sounds exactly like your description of the problem, a relative link on www.geocaching.com would have that at the front.

 

"<a" is the opening anchor tag. "href" is just one of several attributes that can be contained within an anchor tag. "rel" is another. It defines the relationship between the page with the anchor, and the target page. "nofollow" is a non-standard value that's supposed to tell search-bots not to associate the two pages. It performs the mirror function of the "rev" attribute.

 

The order of attributes within the anchor tag is irrelevant. So "<a rel=..." or "<a target=..." are perfectly acceptable.

Edited by Prime Suspect
Link to comment
Guest
This topic is now closed to further replies.
×
×
  • Create New...