WordPress.org

Forums

Amazon S3 and Cloudfront
Editing upload path for this plugin (4 posts)

  1. legend38
    Member
    Posted 10 months ago #

    It looks like by default, this plugin uploads images to objectpath: (user defined)wp-content/uploads/YYYY/MM.

    The YYYY/MM is hardcoded into the settings of the plugin:
    https://www.dropbox.com/s/m3ug7sshyjwkepr/Screenshot%202014-05-12%2014.13.30.png

    Wouldn't it make sense to remove the YYYY/MM so that plugins that create folders within the uploads folder can also have images sent to s3? Has anyone experimented with this?

    https://wordpress.org/plugins/amazon-s3-and-cloudfront/

  2. Brad Touesnard
    Member
    Plugin Author

    Posted 10 months ago #

    If you go to Settings > Media in the WordPress dashboard, you'll see a checkbox labelled "Organize my uploads into month- and year-based folders". If you disable this, it will no longer use YYYY/MM folders. The plugin respects this setting.

  3. legend38
    Member
    Posted 10 months ago #

    Thanks - I actually never even knew this setting existed.

    This still does not really solve the issue. Images sent to wp-content/uploads are sent to S3 with no issue but any folders within uploads dir do not sync with s3. IE: I am using an author plugin that creates a wp-content/uploads/author dir. It would be nice if sub directories were also added to s3 when created. the nextgen plugin also creates a lot of sub directories in uploads.

    Am I missing something?

  4. Brad Touesnard
    Member
    Plugin Author

    Posted 10 months ago #

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.