This article supports you on how to integrate our CDN into WordPress with the WP Super Cache plugin.
- It is recommended to backup your WordPress site and database
- Installation of the WP Super Cache plugin (there are two options to accomplish this)
- Download the WP Super Cache plugin.
- Login to your WordPress administration dashboard.
- Browse to Plugins and click on “Add New”.
- Click on the Upload link below the title “Install Plugins”.
- Click on the “Choose File” button and browse to the WP Super Cache plugin you have downloaded.
- Click on the “Install Now” button in order to install the extension.
- Click on “Activate” to enable the plugin.
OR
- Log into your WordPress administration dashboard.
- Click on the Search link below the title “Install Plugin”.
- Enter WP Super Cache in the input and click on “Search Plugins”.
- Press the “Select Install” now.
- Click on Activate to enable the plugin.
- Click on “Settings” in the left navigation bar and select “WP Super Cache”
- Select the tab “CDN”
- Check “Enable CDN Support”.
- Enter your KeyCDN Zone URL in the field “Off-site URL”.
- Check “Skip https URLs to avoid mixed content errors” if you don’t enable shared or custom SSL in your zone settings.

- Click “Save Changes”.
KeyCDN and WP Super Cache also work with a wide range of other plugins such as WooCommerce.
To verify that the plugin is properly implemented, view the page source of your website. If your URL paths are showing the CNAME or Zone URL then you have successfully integrated the CDN into your website.
WP Super Cache is the recommended WordPress CDN integration plugin, IMO.
My page speed increased from 4 seconds to 26 seconds. Whats wrong? While using keycdn my page is incredabile slow.
I don’t wanna use super cache or w3 cache. Because i’m using wp fastest cache premium. How can i use keycdn?
A WP Fastest Cache tutorial will follow shortly.
How do i know if keycdn is working or not? I connected my site to keycdn via wp fastest cache.
Take advantage of our tools to examine your website:
https://tools.keycdn.com/speed
hello sir with using CDN i am afraid about my website Ranking and indexing please tell me what rule i should use under zone robots.txt file i do not now how to block cdn files indexing ?
All the details are here: https://www.keycdn.com/blog/best-seo-cdn/
When the WP Super Cache plug-in is configured i dont need to use your CDN enabler right?
Hi Michael, that is correct. If you have the WP Super Cache plugin configured to integrate with the CDN then you do not need to use CDN enabler.
Hi.. If I use WP Super Cache, can I use CDN Enabler plugin for CDN purposes (Amazon Cloudfront) or is it advisable to use WP Super Cache’s in-built CDN configuration.
Both ways are possible. Make sure to disable the CDN integration in WP super cache and clear the cache after you enabled and configured the CDN Enabler.
Btw, the WordPress Cache Enabler is a super lightweight plugin that works perfectly with the CDN Enabler: https://wordpress.org/plugins/cache-enabler/
Will the files be loaded automatically to the CDN?
In combination with a Pull Zone (https://www.keycdn.com/support/create-a-pull-zone/) your static asset urls will automatically be rewritten to be delivered via the CDN edge servers. The first request for a file will be delivered by the origin server, however subsequent requests are delivered by the CDN server once the file is cached.
Thanks Cody – very rapid response (maybe even better than the CDN!)
My question is how will the files be cached? is it done by keycdn itself? no relation to supercache at all?
Correct, the files are cached and delivered via KeyCDN’s edge servers. Using Super Cache is solely a method of integration to convert your static asset urls to reference your CDN url. This can be done with many other plugins including our CDN Enabler plugin (https://www.keycdn.com/support/wordpress-cdn-integration-with-cdn-enabler/)
@CodyArsenault:disqus : My website is currently a https:// site with the help of my webhost’s (SiteGround) Let’s Encrypt partnership. After I create the pull zone, in the WP Super Cache, do I need to put https for the off-site URL of the keycdn servers?
https://uploads.disquscdn.com/images/b35084681d9b75067b98e66dad70596458db4596c9358008bd363f39f579cb2f.png
First you would need to enable one of the SSL options for your KeyCDN zone then yes you would use https for the offsite URL.
Oh, one more thing… can I use my zonealias as my off-site URL? (enabled LE ssl for zonealias) And does THAT need to be http or https?
Yes you can use the Zonealias and it will need to be https since you enabled LE.
Thanks @CodyArsenault:disqus. I just set it all up a few hours ago, but GTMetrix says it hasn’t cached static elements. And has pretty much the same scores as before cdn :/ Any tips?
I assume this is in regards to this domain: https://frostynova.com/ GTmetrix is reporting that third-party domain resources you are loading from your site are not using a CDN. However I checked your site and can confirm that the CDN is being used to deliver your static assets.
So nothing further can be done to fix this? Thanks @CodyArsenault:disqus !
Correct, nothing further can be done for the third-party resources your site is loading. Unless there is a way to load those resources directly from your domain (e.g. download the asset and host it yourself).
Thanks Cody!
Every time I enter my keycdn url for my pull zone, and the click “enable cdn support” in the Super Cache plugin setting, my wordpress site (medimagery.com/news) goes back to the stone ages. I mean, all the images are lost and the text is all flush left on a white background. When I disable the option, everything returns to normal. Do you know what is going on?
Please open a support ticket with us directly so that we can take a closer look at your setup: https://www.keycdn.com/support/
I have the same problem did you fix it?
Hey guys,
Ive been trying to deploy KeyCDN through super cache on our site https://storyteq.com.
Sadly im running into some bugs. For example, the pagebuilder of our wp-theme, theme X, wont load anymore when the CDN is enabled. I tried adding /x/#/ to the exclude substring bar since those are always present when the page builder is loaded, but it just wont load.
Also, my menu bar wont stick to the top of the page anymore.
Now im kinda in the dark as how to approach these issues. Other than that the CDN works great!
I tried ignoring caches etc on the CDN side, setting time to 0 etc. Any idea what else I can try?
Are you receiving any errors in your dev console? I’d recommend reaching out to your theme author as this issue seems more closely related to the theme itself.
You could also try testing CDN Enabler as an integration method: https://www.keycdn.com/support/wordpress-cdn-integration-with-cdn-enabler/
Thanks for the reply!
Im currently also talking to the theme devs – hoping we can figure out a fix that way.
If that fails I will give CDN enabler a try.
Thanks!