Use WP Media Cloud with any CDN
WP Media Cloud works with any CDN that supports pull zones. Fastly, Amazon CloudFront, Azure CDN, Akamai, or any other provider. Point a pull zone at your storage bucket, enter the CDN hostname in WP Media Cloud settings, and all media URLs rewrite automatically.
One field. Any CDN that supports pull zones.
WP Media Cloud does not need a dedicated integration for your CDN. All it needs is the hostname of your CDN pull zone. From that point, every media URL on your WordPress site rewrites to that hostname automatically.
Set up WP Media Cloud with your storage provider
Configure WP Media Cloud with whichever storage provider you are using. Files are offloaded to your storage bucket. The storage public URL is what your CDN pull zone will use as its origin.
Create a pull zone in your CDN
In your CDN provider's dashboard, create a pull zone or distribution and set the origin to your storage bucket's public endpoint URL. Your CDN will pull files from there and cache them at the edge on first request. Note the CDN hostname your provider assigns.
Enter the CDN hostname in WP Media Cloud
In WP Media Cloud settings, paste your CDN hostname into the CDN URL field. All media URLs on your site rewrite to use that hostname immediately. Run the health check to confirm files are loading from your CDN.
Media serves from your CDN edge
Every image, video, and file is now cached and served from your CDN's edge network. WP Media Cloud requires nothing else from your CDN provider. Features like SSL, caching, and DDoS protection are all handled by your CDN as normal.
Already using a CDN? It probably works.
If your CDN lets you create a pull zone or distribution that points at an origin URL, it works with WP Media Cloud. This includes large enterprise CDNs, regional CDNs, and any provider not listed on a dedicated integration page on this site.
The providers below are examples of CDNs that support pull zones and work with WP Media Cloud via the custom CDN URL field. This is not an exhaustive list. If your CDN is not shown here and has a dedicated integration page on this site, use that page instead for provider-specific setup guidance.
- Any CDN with pull zone or distribution support
- Works with any storage provider that has a public origin URL
- Custom domains and subdomains supported
- No code changes or plugin modifications required
- Switch CDN providers by updating one hostname field
Compatible CDN providers (examples)
Any storage. Any CDN. One hostname field.
The custom CDN URL works independently of which storage provider you are using. WP Media Cloud offloads files to your storage bucket and writes back the storage URL. The CDN URL field then overrides those URLs with your CDN hostname at the output layer, so visitors always receive URLs pointing at your CDN rather than directly at your storage bucket.
This means you can pair any storage provider in WP Media Cloud with any pull zone CDN. Amazon S3 behind CloudFront, Wasabi behind Fastly, Hetzner behind Akamai, or any other combination. The storage provider and CDN operate independently and WP Media Cloud ties them together with a single hostname setting.
WooCommerce secure signed downloads are not available via the custom CDN URL. Signed downloads require Bunny.net Edge Storage (Token Authentication) or Cloudflare R2 (SigV4), which have dedicated integrations in WP Media Cloud.
URL rewriting. Bulk migration. All image sizes. Nothing else required.
WP Media Cloud's role is the same regardless of which CDN you use. It offloads files, rewrites URLs, and keeps your media library in sync. Your CDN handles everything else.
Automatic URL rewriting
Every media URL on your WordPress site rewrites to your CDN hostname automatically. This includes images in post content, featured images, gallery blocks, and media inserted by page builders. No template or theme changes required.
All image sizes included
WordPress generates multiple image sizes for every upload. WP Media Cloud offloads all registered sizes, not just the original. Thumbnails, medium, large, and all custom sizes are uploaded to your storage bucket and served through your CDN.
Bulk offload for existing media
New uploads offload automatically from the moment WP Media Cloud is configured. The bulk offload tool migrates your existing media library to storage in the background, after which all existing media URLs also rewrite to your CDN.
Remove local files after offload
Optionally delete local copies after offloading to free up server disk space. The download media tool can pull files back from storage at any time if you need to switch providers or deactivate the plugin.
Switch CDN without touching files
Because WP Media Cloud controls only the URL rewrite, changing CDN providers is a single field update. Update the CDN hostname, point your new CDN pull zone at the same storage bucket, and the switch is complete. No file migration, no re-upload.
Works with page builders
WP Media Cloud rewrites URLs output by Bricks Builder, Elementor, Beaver Builder, Divi, Breakdance, WPBakery, and other page builders. Images inserted directly into builder modules are covered without additional configuration.
Your CDN + your existing stack
WP Media Cloud works alongside every major page builder, image optimizer, and plugin integration regardless of which CDN you use.
Use WP Media Cloud with your CDN today
All features included on every plan. 30-day money-back guarantee. No upload limits.