Can't use WP Custom Uplaods folder


I have custom uploads directory selected in wp-config.php ( define(‘UPLOADS’, ‘files’); )

When i upload new files, i cant display it in the browser.

for example:


show notice:

“Multisite support not enabled”

What i must do to make it working preperly

I have default FlyWheel local environment on this WP setup.

Thanks in advance

I know that this is a very old topic. But I came across this recently and have a workaround.

What likely happened is that when Local imported the site, it mistakenly linked up the NGINX configuration file for a Multisite WordPress installation as opposed to a single site configuration.

You should be able to fix this from within the Local site container. To do this:

  • Right-click on the site in Local and select “Open Site SSH”
  • Issue this command:
ln -sf /etc/nginx/includes/wordpress-single.conf /etc/nginx/includes/wordpress.conf && killall nginx
  • Verify that everything is wired up correctly by issuing this command:
ls -alh /etc/nginx/includes

This should get the site to show images in Local. Here’s a screenshot of my terminal session to help visualize:

Let me know how this goes, or if you have any other questions!