0 votes
56 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.

If you have a question about Webinoly, please ask in English or Spanish.

To report a bug, please ask a question here with the bug tag.

News: Webinoly now install PHP 7.3 by default.

Donations

Webinoly Support Paypal Donations Webinoly Support Bitcoin Donations

Your regular donations is what keep this project moving forward. If you like Webinoly, buy me a coffee or a beer to show support.

Affiliate Links

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

...