Title: Image Upload Problem (WordPress Adds Wrong URL)
Last modified: August 19, 2016

---

# Image Upload Problem (WordPress Adds Wrong URL)

 *  Resolved [sethdickens](https://wordpress.org/support/users/sethdickens/)
 * (@sethdickens)
 * [18 years ago](https://wordpress.org/support/topic/image-upload-problem-wrong-url/)
 * Hi Folks,
 * I’ve been having a series of image upload problems on my WordPress v2.51
 * At first I was having the same problems as Otto42 has described a fix for above(
   the flash-based uploader was returning and “HTML Error.” I added a line of code
   to the .htaccess in the directory root, and it _nearly_ worked. My images uploaded,
   but now they are coming up with broken links.
 * What is happening is that:
    Instead of giving my images a URL of e.g.: [http://www.mydomain.com/wp-content/uploads/image029-300×225.jpg](http://www.mydomain.com/wp-content/uploads/image029-300×225.jpg)
 * they are coming up as:
    [http://www.mydomain.com/www.mydomain.com/wp-content/uploads/image029-300×225.jpg](http://www.mydomain.com/www.mydomain.com/wp-content/uploads/image029-300×225.jpg)
 * in other words WP seems to be adding my domain name twice to the links.
 * The strange thing is that if I look at the post in html view before publishing
   it contains the correct URL, but as soon as I publish it adds this double URl.
 * If anyone has any ideas or suggestions I’d really, really appreciate your help.
 * Seth.

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

 *  [jonimueller](https://wordpress.org/support/users/jonimueller/)
 * (@jonimueller)
 * [18 years ago](https://wordpress.org/support/topic/image-upload-problem-wrong-url/#post-764203)
 * Shouldn’t you just be typing in the actual image name? If you’re typing in the
   entire URL that’s the problem. Have you declared your default uploads directory
   in Settings (should be /uploads)?
 *  Thread Starter [sethdickens](https://wordpress.org/support/users/sethdickens/)
 * (@sethdickens)
 * [18 years ago](https://wordpress.org/support/topic/image-upload-problem-wrong-url/#post-764233)
 * Hi there joinmueller, thanks for the reply, and thanks for pointing me in the
   right direction to fix the problem!
 * As it goes, I wasn’t typing in the url, just letting WordPress “Insert it into
   post” for me. Bloomin thing was adding the huge long url for me.
 * The reason was, that in my misc settings page I’d completed the “Full URL path
   to files (optional).” I deleted this entry and Yaay! It works!
 * Now out of interest, should you ONLY complete either:
    “Store uploads in this
   folder” or “Full URL path to files (optional)” on the settings page?
 * Anyway, Joinmueller, thankyoiu for your help, I really appreciate it.
 * Seth

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

The topic ‘Image Upload Problem (WordPress Adds Wrong URL)’ is closed to new replies.

## Tags

 * [image](https://wordpress.org/support/topic-tag/image/)
 * [incorrect URL](https://wordpress.org/support/topic-tag/incorrect-url/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [sethdickens](https://wordpress.org/support/users/sethdickens/)
 * Last activity: [18 years ago](https://wordpress.org/support/topic/image-upload-problem-wrong-url/#post-764233)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
