Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
241 views
by Rookie
Hello,

Kindly I need to change uploads folder to outside folder in the same server not in the same WordPress directory.

My WordPress directory: /var/www/domain/

Outside Directory: /mnt/disks/main

I have tried many options:  in wp-config and wordpress plugin but they all support folder in main wordpress directory. Not outside folder.

Appreciate your support.

1 Answer

0 votes
by Expert

Hi dailytrip,

The formal WordPress solution is using the WP_CONTENT_URL and WP_CONTENT_DIR variables in wp-config.php file, but another solution...

It can be as simple as creating a symlink and it works just fine. Just be sure to assign the proper permissions and owner.

Regards.

by Talented
Humanmade have made a plugin that lets you use AWS S3 for your uploads:

https://github.com/humanmade/S3-Uploads

I've been meaning to give it a try sometime.
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...