Title: Problem changing upload folder
Last modified: April 30, 2019

---

# Problem changing upload folder

 *  Resolved [pathosmusic](https://wordpress.org/support/users/pathosmusic/)
 * (@pathosmusic)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/problem-changing-upload-folder/)
 * I used the following code in my wp-config.php
    `define( 'UPLOADS', ''.'media');`
   and it created a folder when I uploaded my first image in the media library. 
   Now all the thumbnails in the admin area are broken (even for the new files) 
   and it is saying this is the URL: [https://creatoraudio.com/wp-content/uploads//home/godaddyhostingaccount/public_html/creatoraudio.com/media/2019/04/blur-1851426.jpg](https://creatoraudio.com/wp-content/uploads//home/godaddyhostingaccount/public_html/creatoraudio.com/media/2019/04/blur-1851426.jpg)
 * so for some reason it is keeping /wp-content/uploads/ and then using GoDaddy’s
   path starting at /home/godaddyhostingaccount.
 * Any ideas on why this is happening and how to fix it?

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

 *  [JNashHawkins](https://wordpress.org/support/users/jnashhawkins/)
 * (@jnashhawkins)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/problem-changing-upload-folder/#post-11482620)
 * [https://codex.wordpress.org/Editing_wp-config.php#Moving_uploads_folder](https://codex.wordpress.org/Editing_wp-config.php#Moving_uploads_folder)
 * I think this is what it should be.
 * `define( 'UPLOADS', 'wp-content/media' );`
 *  Thread Starter [pathosmusic](https://wordpress.org/support/users/pathosmusic/)
 * (@pathosmusic)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/problem-changing-upload-folder/#post-11482720)
 * Thanks JNashHawkins,
 * My original code was correct:
    `define( 'UPLOADS', 'wp-content/media' );`
 * but thanks to your link, I found I was putting it AFTER and not BEFORE this line
 *     ```
       /** Sets up WordPress vars and included files. */
       require_once(ABSPATH . 'wp-settings.php');
       ```
   
 * Seems to be working now!

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

The topic ‘Problem changing upload folder’ is closed to new replies.

## Tags

 * [image](https://wordpress.org/support/topic-tag/image/)
 * [media](https://wordpress.org/support/topic-tag/media/)
 * [media library](https://wordpress.org/support/topic-tag/media-library/)
 * [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: [pathosmusic](https://wordpress.org/support/users/pathosmusic/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/problem-changing-upload-folder/#post-11482720)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
