Okay
  Public Ticket #3572084
Custom Media File Directory Overwritten
Closed

Comments

  • Yannick started the conversation

    Dear UE Team,

    I am currently having trouble with the Premium Plugin. I have changed the main directory of media files from "example.com/wp-content/uploads" to "example.com/media/" by editing the wp-config including the code "define('UPLOADS', 'media');" to it.

    All other plugins do not interfere with it, but UE seems to overwrite this, causing all images in my media library in wordpress to show the old url with "wp-content/uploads" which then results in a 404. Images are still correctly accessible with the correct url "media/", but UE bricks the Media Library.

    I couldnt find any global setting file for UE to change this.

  • Yannick replied

    I did already change $path_image and $url_image in the provider_functions.class.php to reflect the new folder, and everything looks fine in there. the UE_cache folder was then created in the new media folder.

    Permissions were granted.

    Its only about the Media Library on Wordpress that seems to not use the new media folder whenever Unlimited Elements Premium Plugin is activated.

  • Yannick replied

    Problem solved - "define('UPLOADS', 'media');" in wp-config was not set correctly before the "That's all, stop editing! Happy publishing." in the wp-config. thanks

  •  532
    Igor replied

    Hi,

    not a problem at all

    I am glad to hear that you managed to resolve the problem on your own

    Regards,
    Igor