• Hi,

    I noticed that for new installs of WP 5.1.1 if I set a custom upload folder in wp-config.php it’s not working anymore. It will upload on the default folder.

    The workaround I found is to install WP 4.9.8, to set the custom upload folder in the config file and then to update to the latest version.

    Anyone else encountered that? I noticed this bug on the localized ro_RO version.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    Did you tried to add define( 'ALLOW_UNFILTERED_UPLOADS', true ); on your wp-config.php file.

    This might help you to sort out your issue.

    Thanks,
    Prajan

    Thread Starter tonyccc

    (@tonyccc)

    Thanks for the tip. However it worked until WP 5. Something changed with this release?

    Hi @tonyccc,

    Not sure if this will be fixed on next version. I had the same issue so I fixed it with unfiltered uploads. Maybe the core team will release something to fix this issue.

    Many Thanks,
    Prajan

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

The topic ‘wp-config custom upload not working’ is closed to new replies.