The Best WordPress CDN Plugin – CDN Enabler

Follow this tutorial below on how to quickly enable a CDN in WordPress. Most people will configure their CDN with a caching plugin such as WordPress Cache EnablerWP Rocket, WP Super Cache, or W3 Total Cache. However, if you are running on a managed WordPress host such as Kinsta, WP Engine, or Pagely you might not want a full blown caching plugin just to enable your CDN.

WordPress CDN Plugin – Deploy a CDN in Minutes

This is where the free lightweight CDN Enabler WordPress plugin from KeyCDN comes into play. Note: You don’t have to be using KeyCDN to take advantage of this plugin. It will work with any CDN provider.

cdn enabler

Step 1

In your WordPress dashboard click into “Plugins” and then into “Add New.”

wordpress plugins add new

Step 2

Search for “cdn enabler.” It should be the first one that comes up. Then click on the “Install Now” button. (verify that it says By KeyCDN) underneath the description.

install cdn enabler

Step 3

Click on “Activate Plugin.”

activate cdn enabler plugin

Step 4

Click into “Settings” and then on “CDN Enabler.”

settings cdn enabler

Step 5

Now you have to input your information on the CDN Enabler settings page and click on the “Save Changes” button.


Input your CDN’s URL. If you are using a CNAME then enter that path. If you aren’t using a CNAME it might look longer:

  • KeyCDN Example without CNAME:
  • MaxCDN Example without CNAME:

Included Directories

By default it will already have the “wp-content” and “wp-includes” folders setup. This will work fine, no need to change anything.

Excluded Extensions and Directories

By default it will have “.php” setup. I also include .xml so that I can throw my sitemap file down in my footer. You can also exclude directories. This can be especially useful if you are running WooCommerce or EDD, as you might want to exclude digital download files from the CDN.

Relative Path

Relative paths are enabled by default. No need to change this.


If you are running a SSL cert on your CDN then you will want to enable HTTPS.

cdn enabler settings

Additional Features

And that’s it! CDN Enabler is by far the best WordPress CDN Plugin. It is super lightweight, free and is supported by great developers that keep up with updates and fix bugs when they arise. If this tutorial was helpful please let me know below.

author bio
Brian Jackson

I craft actionable content and develop performance-driven WordPress plugins. Connect on Twitter, subscribe to my newsletter (once a month), or buy me coffee.

3 thoughts on “The Best WordPress CDN Plugin – CDN Enabler”

  1. Hi, I was reading some of your posts about Keycdn and I decided to try it. Just one question, I’m using WP Rocket to cache my site, even that, I need to use CDN Enabler ? or it is enough with WP Rocket? Please help, thanks!

    • Hey Luis!
      If you use WP Rocket you don’t have to use CDN Enabler. WP Rocket has a CDN option as well. Thanks!

      • Thank you, I’m in Lima Perú so I think is so important be fast so I’m doing research about the best setting of Keycdn. Thanks!


Leave a Comment