Title: Custom upload path breaks thumbnails
Last modified: June 15, 2017

---

# Custom upload path breaks thumbnails

 *  [Troels](https://wordpress.org/support/users/theko/)
 * (@theko)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/custom-upload-path-breaks-thumbnails/)
 * Hi!
 * Recently, I manually changed the upload path to /arkiv (instead of /wp-contents/
   uploads) by adding this line to wp-contents.php:
 * `define('UPLOADS', 'arkiv');`
 * It seems to work fine, except that WordPress can’t seem to create thumbnails 
   for the uploads. I’m guessing I’ve done something wrong – but what? How do I 
   make thumbnail creation work with a custom upload path?
 * Any help appreciated – thanks 🙂

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

 *  [Ravikumar Patel](https://wordpress.org/support/users/ravipatel/)
 * (@ravipatel)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/custom-upload-path-breaks-thumbnails/#post-9231177)
 * [@theko](https://wordpress.org/support/users/theko/), In wordpress not exits 
   this file: wp-contents.php but this code manage on wp-config.php. (i have text
   in wp48 working fine with thumbnail creation).
 * 1) ** define(‘UPLOADS’, ‘arkiv’);** Means your media directory created on root.
 * 2) IF old images exits in “wp-content\uploads” copy and paste in your new directory
   so old images media not break in backend.
 * 3) Check content in exits old images path.
    -  This reply was modified 8 years, 11 months ago by [Ravikumar Patel](https://wordpress.org/support/users/ravipatel/).
 *  Thread Starter [Troels](https://wordpress.org/support/users/theko/)
 * (@theko)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/custom-upload-path-breaks-thumbnails/#post-9231185)
 * Thank you for replying, ravipatel.
 * You’re right, of course. I meant wp-config.php, not wp-contents.php.
 * And actually, the old thumbnails work fine even though they are in the old upload
   path. It is when I upload a new file that the thumbnail is not created (or at
   least is not working).
 * Could it be a plugin problem if it works for you?
 *  [Ravikumar Patel](https://wordpress.org/support/users/ravipatel/)
 * (@ravipatel)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/custom-upload-path-breaks-thumbnails/#post-9231268)
 * [@theko](https://wordpress.org/support/users/theko/), yes, May be possible issue
   related plugin conflict or theme issue. Please deactivate plugin one by one for
   find this issue which one conflict.
 * And try to use with default theme. (do in demo site).

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

The topic ‘Custom upload path breaks thumbnails’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Ravikumar Patel](https://wordpress.org/support/users/ravipatel/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/custom-upload-path-breaks-thumbnails/#post-9231268)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
