• 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)
  • @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.

    Thread Starter Troels

    (@theko)

    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?

    @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.