New answers tagged


I have discovered the problem. Documentroot in apache has changed, so updating this has fixed the problem


After digging around, I ended up with using upload_dir filter. Here is what I tried in functions.php to change uploads to media. Hope it can help someone too :) add_filter('upload_dir', function($uploads) { $custom = []; foreach ($uploads as $key => $value) { if ( false !== strpos($value, '/app/uploads') ) { $custom[$...

Top 50 recent answers are included