1. johnnyinkvine
  2. Feature ideas for WP Media Folder
  3. Thursday, May 14 2020
  4.  Subscribe via email
When copying the Media Library to Amazon S3, a default, un-editable folder structure is created:

Example:
my-s3-bucket-name --> WP Media Folder - my-site-name --> wp-content --> uploads

This in turn translates into the url of the media files.

Example:
https://s3-us-east-2.amazonaws.com/my-s3-bucket-name/WP Media Folder - my-site-name/wp-content/uploads/my-image-name.jpg

I would really like to be able to control my own Amazon S3 bucket / folder structure, meaning take the files contained in the Wordpress "uploads" directory and place them directly into a bucket / folder of my choice.

Example of my ideal storage structure:
my-s3-bucket-name --> my-s3-folder-name

Which would translate into the url:
https://s3-us-east-2.amazonaws.com/my-s3-bucket-name/my-s3-folder-name/my-image-name.jpg

Thanks for listening to my humble opinion!
Responses (1)
Accepted AnswerPending Moderation
Hi,

Thanks for adding your feature request here.

When copying the Media Library to Amazon S3, a default, un-editable folder structure is created:

Example:
my-s3-bucket-name --> WP Media Folder - my-site-name --> wp-content --> uploads

This in turn translates into the url of the media files.

Example:
https://s3-us-east-2.amazonaws.com/my-s3-bucket-name/WP Media Folder - my-site-name/wp-content/uploads/my-image-name.jpg

I would really like to be able to control my own Amazon S3 bucket / folder structure, meaning take the files contained in the Wordpress "uploads" directory and place them directly into a bucket / folder of my choice.

Example of my ideal storage structure:
my-s3-bucket-name --> my-s3-folder-name

Which would translate into the url:
https://s3-us-east-2.amazonaws.com/my-s3-bucket-name/my-s3-folder-name/my-image-name.jpg


It looks prety nice for the image urls but I'm not sure it could be changed easily as your requirement.
Anyways, we will take a look at that for a future version.

Thanks a lot!
Cheers,
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!