Title: HREF GETTING DIRECTED TO WRONG LINK
Last modified: August 19, 2016

---

# HREF GETTING DIRECTED TO WRONG LINK

 *  [jpickell](https://wordpress.org/support/users/jpickell/)
 * (@jpickell)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/href-getting-directed-to-wrong-link/)
 * When I post this code to include a banner and link on my site:
 * `<a rel="attachment wp-att-3334" href="http://allcaborealestate.com"><img class
   ="size-medium wp-image-3334 alignleft" title="AllCaboRealEstate-logo&slogan (
   clear) (S)300" src="http://www.calycanto.com/wp-content/uploads/AllCaboRealEstate-
   logoslogan-clear-S300-300x74.jpg" alt="" width="300" height="74" /></a>`
 * It won’t “take” and keeps replacing it with just the image (rather than the redirect).
   See below. I am having the same problem on various images in new posts — could
   it be since updated to WP3.0?
 * It keeps reverting to this:
 * `<a rel="attachment wp-att-3334" href="http://www.calycanto.com/links/links/attachment/
   allcaborealestate-logoslogan-clear-s300-2/"><img class="size-medium wp-image-
   3334 alignleft" title="AllCaboRealEstate-logo&slogan (clear) (S)300" src="http://
   www.calycanto.com/wp-content/uploads/AllCaboRealEstate-logoslogan-clear-S300-
   300x74.jpg" alt="" width="300" height="74" /></a>`

The topic ‘HREF GETTING DIRECTED TO WRONG LINK’ is closed to new replies.

## Tags

 * [href](https://wordpress.org/support/topic-tag/href/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [jpickell](https://wordpress.org/support/users/jpickell/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/href-getting-directed-to-wrong-link/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
