Title: Uploads Path Issue
Last modified: August 31, 2016

---

# Uploads Path Issue

 *  Resolved [rcobbold](https://wordpress.org/support/users/rcobbold/)
 * (@rcobbold)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/uploads-path-issue/)
 * Afternoon,
 * I’ve been playing with WordPress and trying to move the uploads folder and have
   stumbled upon an issue. I read some guides on the internet and they more or less
   said the same thing so at the VERY BOTTOM of my wp-config.php I added the following:
 *     ```
       /** Sets up WordPress vars and included files. */
       require_once(ABSPATH . 'wp-settings.php');
   
       define('UPLOADS', 'media');
       ```
   
 * I then created a media folder in the root directory and changed the permissions
   to 777 as the guides mentioned. The files now upload here without issue however
   when I do upload files the URL inside of wordpress is still adding it like this
   and causes an issue which breaks them.
 * `https://domain.co.uk/wp-content/uploads//home/neco/public_html/media/dark-logo.
   png`
 * The above is adding in /wp-content/uploads//home/neco/public_html/ when it should
   not do that. Have I messed up on the define I mentioned above or is there more
   to do?
 * I have altered the domain name and the neco is the cPanel name. I’m also using
   SSL if it is causing any issues.
 * Thanks,
    Rob

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

 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/uploads-path-issue/#post-7402048)
 * Try adding the define just before this:
 *     ```
       /** Sets up WordPress vars and included files. */
       require_once(ABSPATH . 'wp-settings.php');
       ```
   
 *  Thread Starter [rcobbold](https://wordpress.org/support/users/rcobbold/)
 * (@rcobbold)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/uploads-path-issue/#post-7402049)
 * Thank you, that fixed the issue right away!
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/uploads-path-issue/#post-7402050)
 * You’re welcome 🙂

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

The topic ‘Uploads Path Issue’ is closed to new replies.

## Tags

 * [Upload Path](https://wordpress.org/support/topic-tag/upload-path/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/uploads-path-issue/#post-7402050)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
