Question

How to add volume to wordpress/content/uploads?

Hi,

I am using WordPress on Ubuntu 18.04 droplet.

I would like to add volume to /var/www/html/wp-content/uploads to store media files.

What are the exact SSH commands and steps I need to take?

Thank you.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

This is really well documented in the Digital Ocean’s official documentation. They have a step by step guide on how to How to Manually Format, Mount, and Partition Volumes here:

https://www.digitalocean.com/docs/volumes/how-to/format-and-mount/

You just need to change the mount point to match your uploads directory.

Hope that this helps.