Title: WP inserting code into hyperlinks, causing link failure
Last modified: August 20, 2016

---

# WP inserting code into hyperlinks, causing link failure

 *  Resolved [Globalsense](https://wordpress.org/support/users/globalsense/)
 * (@globalsense)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wp-inserting-code-into-hyperlinks-causing-link-failure/)
 * In my code I am writing:
 * You also can order it directly from [Amazon](https://wordpress.org/support/topic/wp-inserting-code-into-hyperlinks-causing-link-failure/http;//www.amazon.com/GLOBAL-SENSE-spiritual-handbook-ourselves/dp/0972890580/ref=sr_1_2?ie=UTF8&qid=1325278560).
 * a title=”Buy Global Sense from Amazon” href=”http;//www.amazon.com/GLOBAL-SENSE-
   spiritual-handbook-ourselves/dp/0972890580/ref=sr_1_2?ie=UTF8&qid=1325278560″
   >Amazon
 * However, when I update my page, WP is inserting my site domain before the hyperlink:
 * [http://globalsense.com/http://www.amazon.com/GLOBAL-SENSE-spiritual-handbook-ourselves/dp/0972890580/ref=sr_1_2?ie=UTF8&qid=1325278560](http://globalsense.com/http://www.amazon.com/GLOBAL-SENSE-spiritual-handbook-ourselves/dp/0972890580/ref=sr_1_2?ie=UTF8&qid=1325278560)
 * or even stranger:
 * [http://globalsense.com/2011/global-sense-now-published/http://www.amazon.com/GLOBAL-SENSE-spiritual-handbook-ourselves/dp/0972890580/ref=sr_1_2?ie=UTF8&qid=1325278560](http://globalsense.com/2011/global-sense-now-published/http://www.amazon.com/GLOBAL-SENSE-spiritual-handbook-ourselves/dp/0972890580/ref=sr_1_2?ie=UTF8&qid=1325278560)
 * I have cleared my cache and checked this in several browsers. The error occurs
   on all browsers. Also, I upgraded to the latest WP 3.3.1, and the error continued.
 * Here is the page at issue: [http://www.globalsense.com](http://www.globalsense.com)(
   first post) or post page itself: [http://globalsense.com/2011/global-sense-now-published/](http://globalsense.com/2011/global-sense-now-published/)
 * As you might guess this is an urgent issue for me. Please share your wisdom, 
   folks?
 * How do I stop WP from treating an external link like an internal link?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Globalsense](https://wordpress.org/support/users/globalsense/)
 * (@globalsense)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wp-inserting-code-into-hyperlinks-causing-link-failure/#post-2484874)
 * In the question above, in fact, when I type the code:
    “You also can order it
   directly from Amazon.”
 * The link somehow became:
 * > [http://wordpress.org/support/topic/http://www.amazon.com/GLOBAL-SENSE-spiritual-handbook-ourselves/dp/0972890580/ref=sr_1_2?ie=UTF8&qid=1325278560](http://wordpress.org/support/topic/http://www.amazon.com/GLOBAL-SENSE-spiritual-handbook-ourselves/dp/0972890580/ref=sr_1_2?ie=UTF8&qid=1325278560)
 * Why is this this happening, and how do I fix it?
 *  Thread Starter [Globalsense](https://wordpress.org/support/users/globalsense/)
 * (@globalsense)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/wp-inserting-code-into-hyperlinks-causing-link-failure/#post-2484883)
 * Found the error:
 * Had “http;” (semicolon)
    should ahve been http: (colon)
 * sigh. Amazing what one keystroke can do!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WP inserting code into hyperlinks, causing link failure’ is closed to
new replies.

## Tags

 * [external link](https://wordpress.org/support/topic-tag/external-link/)
 * [internal link](https://wordpress.org/support/topic-tag/internal-link/)
 * [page not found error](https://wordpress.org/support/topic-tag/page-not-found-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [Globalsense](https://wordpress.org/support/users/globalsense/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/wp-inserting-code-into-hyperlinks-causing-link-failure/#post-2484883)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
