Docs

CDN77

4 min readUpdated November 9, 2026

CDN77 is a content delivery network you put in front of your storage bucket with a CDN Resource. WP Media Cloud serves your media from the resource, purges replaced files automatically and shows bandwidth on the Dashboard.

Which storage providers can use it#

ProviderCDN77Dashboard bandwidthWhere to set it
Amazon S3YesYesSetup wizard only (no CDN card in Settings)
Google Cloud Storage, Wasabi, Hetzner Object Storage, Backblaze B2, Custom S3YesYesThe provider’s CDN card in Settings, for example Wasabi CDN
DigitalOcean SpacesYesNoDigitalOcean Spaces CDN card
S3-compatibleYesNoS3-Compatible CDN card
Bunny Edge Storage, Cloudflare R2No CDN choice

Before you start#

  • Set up your storage provider in WP Media Cloud first, using its guide under Storage providers.
  • Make the files publicly readable, because CDN77 fetches them from the bucket’s public address.
  • Have a CDN77 account.

Step 1: Create a CDN Resource#

  1. In the CDN77 Client Panel, click Create new CDN Resource.
  2. Choose the URL origin type and enter your bucket’s public address as the origin.
  3. Click Create CDN Resource.
  4. Optional: to use your own domain, add it in the resource’s CNAME & SSL section and save.

Step 2: Get an API token#

In the CDN77 Client Panel, go to Account Settings > API Token, then create or copy a token. WP Media Cloud uses it to list your resources, purge replaced files and read bandwidth.

Step 3: Choose CDN77 in WP Media Cloud#

Setup wizard CDN choice with CDN77 selected

Setup wizard:

  1. Open Media Cloud. A new site opens the wizard automatically; otherwise go to Settings and click run the setup wizard.
  2. Choose your storage provider and fill in its fields.
  3. Under CDN Configuration, choose CDN77.
  4. Paste the token into CDN77 API Token and click Load Resources.
  5. Select your resource in CDN Resource.
  6. Click Continue, then Save & Go to Dashboard.

Settings:

  1. Go to Media Cloud > Settings and find your provider’s CDN card.
  2. Choose CDN77.
  3. Paste the token into CDN77 API Token and click Load resources.
  4. Select your resource in CDN Resource.
  5. Click Save Settings, then Update all media URLs under Apply to Existing Media.

Selecting a resource sets the CDN URL automatically. If the resource has a CNAME, the first one is used. CDN77 has no separate CDN URL field.

Fields#

FieldWhat it is
CDN77 API TokenYour token. After saving, the field says the token is saved; paste a new value to replace it.
CDN ResourceThe resource in front of your bucket. It appears after you click Load Resources.

Step 4: Check it works#

  1. Upload a test image in Media > Add New Media File.
  2. Open it in the Media Library and copy the File URL.
  3. Check the address starts with your CDN77 hostname or CNAME, then open it and check the image loads.

The Health page has a CDN URL check that reports whether your CDN URL responds.

Purging replaced files#

When an image optimizer or Enable Media Replace uploads a new version of a file under the same name, WP Media Cloud purges the old copy from CDN77 automatically, with every image size. This uses your API token and the resource you selected, and needs Auto purge CDN on replace on in Settings > Offload Behaviour (the default). See Automatic CDN purge.

Dashboard stats#

With CDN77 and a provider that supports it, the Dashboard shows:

  • CDN Bandwidth: total traffic served by the resource for the selected period.
  • CDN Bandwidth, Last 7 Days: a daily chart; 7D, 14D and 30D change the period.
  • Storage Used: CDN77 does not report bucket storage, so it comes from your storage provider where it reports it, or is counted from WP Media Cloud’s records.

Configure with wp-config.php#

Replace <PROVIDER> with AWS, GCS, DO, WASABI, HETZNER, B2, S3 or S3COMPAT:

ConstantValue
WPMC_<PROVIDER>_CDN_TYPE'cdn77'
WPMC_<PROVIDER>_CDN77_API_TOKENYour CDN77 token
WPMC_<PROVIDER>_CDN77_RESOURCE_IDYour resource ID, for example '123456', used for purging and bandwidth
WPMC_<PROVIDER>_CDN77_URLYour CDN URL, for example https://cdn.example.com
WPMC_<PROVIDER>_CDN_URLYour CDN URL. Media addresses are built from this, so always set it.

Constants override values saved in Settings.

Change or remove it later#

CDN77 card in Settings
  • A different resource or a new CNAME: in the provider’s CDN card, click Load resources, select the resource, click Save Settings, then Update all media URLs.
  • Amazon S3: run the setup wizard again.
  • Back to the bucket address: choose Direct Bucket and click Save Settings. This also clears the CDN URL.

Troubleshooting#

ProblemCauseFix
Load resources in Settings does nothingThe CDN77 request failed, and Settings does not show the errorTry Load Resources in the setup wizard to see CDN77’s message, and check the token
The resource list won’t loadThe token cannot read your resourcesChoose Custom CDN and enter your CDN77 hostname as CDN URL, or set the constants above
404 errors from CDN77The origin does not point at your bucket, or files are not publicOpen a file at the bucket’s own address, then check the origin in CDN77
Images still load from the bucketNo resource is selected, so the CDN URL is emptySelect a resource, save, and clear your page cache
A replaced image still shows the old versionAuto purge is off, or no resource is selectedTurn on Auto purge CDN on replace and select the resource
CDN Bandwidth shows 0 BThe resource has no traffic yet, the provider is DigitalOcean Spaces or S3-compatible, or CDN77 returned an errorCheck statistics in the CDN77 Client Panel. On versions before 1.2.0 the chart stayed empty; update the plugin

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only