• Resolved d d

    (@ddonzal)


    Instead of using the standard location of the media folder such as:

    domain.com/wp-content/uploads/

    we prefer to modify wp-config.php to have them in:

    domain.com/media/

    This however breaks your plugin. When switching back to WordPress’s default media location, your plugin works fine.

    Do you have the ability to handle non-standard media folders, and I’m just missing how to do it? If not, do you plan on this in a future version? ETA?

    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author AlanP57

    (@alanp57)

    Yes, Media Library Folders does support a non standard location for the uploads folder, but understand it does not change its internal settings after its initial installation. You want to use an non standard location, then set it up before installing Media Library Folders.

    In your case, you will now have to deactivate the Media Library Folders and activate the Media Library Folders Reset plugin that comes with it. Select the Reset Database option from the menu. Once that is done, deactivate Media Library Folders Reset and activate Media Library Folders. It will do a fresh scan of the media library using the new location.

    Thread Starter d d

    (@ddonzal)

    Thanks for the quick reply.

    Actually, the non-standard media folder was setup before installing MLF, and I got the error that it couldn’t find the folders. I went to your FAQ and followed the instructions to deactivate MLF, activate MLF Reset and ran Reset Database, just as you recommend above. After deactivating MLF Reset and reactivating MLF, I got the same error.

    So to test it, I went to wp-config.php and set it back to the default WP setting, did the reset process again and all worked fine.

    So I’m thinking that regardless of when it’s installed and/or reset, this plugin can’t handle that location. ??

    Have you been able to get this to work on your end ever? Ok if not. Just curious.

    Any way to do it in a near-term update? I’m interested in purchasing the premium version. This may prevent me from doing so.

    Thanks.

    Plugin Author AlanP57

    (@alanp57)

    One of my test sites uses a non standard setup. Perhaps I could setup up a site according to your configuration and see what it does. What did you define as the location of ‘UPLOADS’ in your wp-config.php?

    Thread Starter d d

    (@ddonzal)

    I added the following to wp-config.php:

    /** Change Media Upload Directory */
     define('UPLOADS', ''.'media');

    It’s the last thing before the WP dev’s comment:

    /* That's all, stop editing! Happy blogging. */

    Thanks for your willingness to give this a test run.

    Plugin Author AlanP57

    (@alanp57)

    I see the problem. At the moment we do not support moving the ‘uploads’ folder outside of the ‘wp-content’ folder.

    I have the same issue with the plugin, I wish to use a folder ie. domain.com/photos/ for my media and have changed the wp-config file to do this, unfortunately when I try to use the non-standard media folders plugin it fails to recognise the folder structure for existing files – is there any plans to change the plugin to handle this preferred location rather than the wp-folder

    Richard

    Plugin Author AlanP57

    (@alanp57)

    There are no plans to make this possible yet. We will consider it but we already have a number of features to add.

    Might this be possible using a symlink?

    Plugin Author AlanP57

    (@alanp57)

    It seems like it would work, but you will have to enter links manually.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Non-standard Media Folder’ is closed to new replies.