Documentation

Settings

Copy Files to S3

As soon as a file has completed uploading to the Media Library, it will be copied to S3 as well. This setting does not copy attachments to S3 that were uploaded to the Media Library before WP Offload S3 was installed. You need to use the uploader (not available in the Lite version) to accomplish that.

Rewrite File URLs

Rewrites local URLs to be served from S3, CloudFront or another domain.

CloudFront or Custom Domain

By default rewritten URLs use the S3 format, e.g. https://s3.amazonaws.com.... If you have enabled CloudFront, another CDN, or are using a CNAME, you can set that domain with this setting. Where has the old interface gone?

Path

Set a path for attachments to be offloaded to in the S3 bucket. This is helpful if you are using the same bucket to store files for different sites. This does not affect the local path of the file on the server.

Year/Month

Organize the uploads in year and month folders on S3. For example, /2016/02/my-file.jpg.

Force HTTPS

Control the protocol of the S3 URLs. The default will be the protocol of the page the attachment is on, but you can set it to be always HTTPS.

Remove Files From Server

Removes the files from the local server once they have been offloaded to S3. This can help reduce HDD space on the site’s server. There are possible issues around compatibility with other plugins when enabling this setting, as they may rely on access the local file.

Object Versioning

Ensures that files are uploaded to S3 with a unique path. This is a cache-busting technique especially helpful when using CloudFront and other CDNs to make sure the latest version of a file is served.

All of the above settings can be defined in your wp-config.php file.