Documentation

Settings

Copy Files to Bucket

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

Rewrite Media URLs

Rewrites local URLs to be served from your Amazon S3 or DigitalOcean Spaces bucket, CloudFront or another CDN, or a custom domain.

Custom Domain (CNAME)

By default rewritten URLs use the raw bucket URL 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 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 in the bucket. For example, /2016/02/my-file.jpg.

Force HTTPS

Control the protocol of the cloud storage 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 cloud storage. 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 offloaded to the bucket 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.