Skip to content
Media CloudDocs
Happy HolidaysSave 20% with codeValid through December 31Shop the sale
WooCommerce and Easy Digital Downloads
On this page

WooCommerce and Easy Digital Downloads

Media Cloud can enable you to use pre-signed URLs for downloadable products with both WooCommerce and Easy Digital Downloads.

2 min read·3 tags

Media Cloud can enable you to use pre-signed URLs for downloadable products with both WooCommerce and Easy Digital Downloads.

Use Pre-Signed URLs

When this is enabled, Media Cloud will generate signed URLs for downloadable products that will expire and become unusable within a specified time period.

Pre-Signed URL Expiration

The number of minutes that a signed URL is valid for.

WooCommerce settings

Find these under Media Cloud → Settings → Integrations → WooCommerce Settings.

SettingDefaultDescription
Use Pre-Signed URLsOnGenerate expiring URLs for downloadable products.
Pre-Signed URL Expiration1Minutes the download URL is valid.

If pre-signed URLs are enabled in the storage settings but disabled here, storage-level signing still applies.

Easy Digital Downloads settings

Find these under Media Cloud → Settings → Integrations → Easy Digital Downloads.

SettingDefaultDescription
Use Pre-Signed URLsOnGenerate expiring URLs for downloadable products.
Pre-Signed URL Expiration1Minutes the download URL is valid.
Download Original ImageOffDownload the unscaled original when the product is an image.

Provider requirements

Signed downloads require a storage provider that supports per-file ACLs and pre-signed URLs. The following providers are not suitable for protected downloads:

  • Cloudflare R2
  • Bunny CDN
  • Backblaze S3
  • Supabase

Use Amazon S3, Google Cloud Storage, or DigitalOcean Spaces when you need expiring download links.

Testing downloads

  1. Create a test product with a downloadable file in cloud storage.
  2. Complete a test checkout.
  3. Download the file immediately. It should work.
  4. Wait until the expiration passes and try the same link again. It should fail.

If the link fails immediately, check the storage ACL, the pre-signed URL setting, and the CDN in front of the bucket. A CDN that caches signed URLs can serve expired links; exclude signed download URLs from full-page and CDN caching.

WooCommerce content replacement

Media Cloud 4.7.4 fixed a WooCommerce issue where trimmed post content caused URL replacement to fail. If product descriptions still contain local media URLs on an older version, update Media Cloud and clear WooCommerce’s caches.

Need a hand with this guide?

Send support the exact step you’re stuck on and we’ll help you finish the setup.

Contact support
Start typing to search the docs

Escto close·⌘Kto open

View all results →