wp config - Store uploads on an external server?

admin2025-01-08  4

I'm setting up an install of Wordpress on our server instances which are hosted with AWS. Of course, everything that's on our servers is in version control with git and there is no FTP so uploading anything like media or plugins directly to our servers is a no go.

What I'd like to do is host the core Wordpress files on our servers but save uploads on an external server. Ideally, this would be all of wp_content/ but I'd settle for just uploads/ if that's not possible. Is there a way to do this?

I'm setting up an install of Wordpress on our server instances which are hosted with AWS. Of course, everything that's on our servers is in version control with git and there is no FTP so uploading anything like media or plugins directly to our servers is a no go.

What I'd like to do is host the core Wordpress files on our servers but save uploads on an external server. Ideally, this would be all of wp_content/ but I'd settle for just uploads/ if that's not possible. Is there a way to do this?

Share Improve this question edited Jun 6, 2022 at 21:12 Tom J Nowell 60.7k7 gold badges77 silver badges147 bronze badges asked Sep 15, 2015 at 21:39 Evan HobbsEvan Hobbs 1012 bronze badges 1
  • Storing the entire wp-content folder means loading plugins and themes from a remote server which would have massive performance reductions as well as issues with URLs for assets. Restricting this question to uploads makes it much simpler, but you'd have to specify what it is that the other server is, e.g. is it a generic server? S3 bucket? Or something else? – Tom J Nowell Commented Jun 6, 2022 at 21:13
Add a comment  | 

1 Answer 1

Reset to default 0

Your best bet is with a plugin such as WP Offload S3. It will take uploads to the media library and send them over to S3 and switch the URL to point to S3 for you. I have used this with a group of autoscaling servers and it has been working well.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1736267023a1169.html

最新回复(0)