Title: CDN Enabler
Author: KeyCDN
Published: <strong>26. srpnja 2015.</strong>
Last modified: 02. ožujka 2026.

---

Pretraga dodataka

![](https://ps.w.org/cdn-enabler/assets/banner-772x250.png?rev=2472538)

![](https://ps.w.org/cdn-enabler/assets/icon-256x256.png?rev=2472538)

# CDN Enabler

 Od [KeyCDN](https://profiles.wordpress.org/keycdn/)

[Preuzmi](https://downloads.wordpress.org/plugin/cdn-enabler.2.0.8.zip)

 * [Detalji](https://hr.wordpress.org/plugins/cdn-enabler/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/cdn-enabler/#reviews)
 * [Razvoj](https://hr.wordpress.org/plugins/cdn-enabler/#developers)

 [Podrška](https://wordpress.org/support/plugin/cdn-enabler/)

## Opis

CDN Enabler is a simple and easy to use WordPress plugin that rewrites URLs, such
as those for CSS, JavaScript, and images, to be served by a content delivery network(
CDN). This helps improve site performance, reliability, and scalability by offloading
the majority of traffic to a CDN.

#### Značajke

 * Fast and efficient rewrite engine
 * Easy cache purging (when a [KeyCDN](https://www.keycdn.com) account is connected)
 * Include URLs in the rewrite by file extensions
 * Exclude URLs in the rewrite by strings
 * WordPress multisite network support
 * WordPress REST API support
 * Works perfectly with [Cache Enabler](https://wordpress.org/plugins/cache-enabler/)

#### How does the rewriting work?

CDN Enabler captures page contents and rewrites URLs to be served by the designated
CDN.

#### Documentation

 * [Installation](https://www.keycdn.com/support/wordpress-cdn-enabler-plugin#installation)
 * [Settings](https://www.keycdn.com/support/wordpress-cdn-enabler-plugin#settings)
 * [Hooks](https://www.keycdn.com/support/wordpress-cdn-enabler-plugin#hooks)
 * [WP-CLI](https://www.keycdn.com/support/wordpress-cdn-enabler-plugin#wp-cli)
 * [FAQ](https://www.keycdn.com/support/wordpress-cdn-enabler-plugin#faq)

#### Want to help?

 * Want to file a bug, contribute some code, or improve translations? Excellent!
   Check out our [GitHub issues](https://github.com/keycdn/cdn-enabler/issues) or
   [translations](https://translate.wordpress.org/projects/wp-plugins/cdn-enabler/).

#### Maintainer

 * [KeyCDN](https://www.keycdn.com)

## Snimke zaslona

[⌊CDN Enabler settings page⌉⌊CDN Enabler settings page⌉[

CDN Enabler settings page

## Recenzije

![](https://secure.gravatar.com/avatar/0e83584838552d036ef6fd2dd186cf216d187b21a2bc220a9d52c87e0bbc98f1?
s=60&d=retro&r=g)

### 󠀁[Please be compatible with WordPress 6.6.2 version](https://wordpress.org/support/topic/please-be-compatible-with-wordpress-6-6-2-version/)󠁿

 [lfq1989](https://profiles.wordpress.org/lfq1989/) 03. studenoga 2024.

<font _mstmutation="1"></font>Please be compatible with WordPress 6.6.2 version 
The CSS address requested by loader.js has not been replaced

![](https://secure.gravatar.com/avatar/48eaa5b4d836bc3cdc7172233a1d6b50ef21e57533f71ed0f56d973eebd5ca1e?
s=60&d=retro&r=g)

### 󠀁[Please don’t use this plugin and their CDN services](https://wordpress.org/support/topic/please-dont-use-this-plugin-and-their-cdn-services/)󠁿

 [Sajjad Hossian](https://profiles.wordpress.org/nerocd/) 13. rujna 2024. 1 odgovor

I am not happy about the KEYCDN services. I had been using KeyCDN services for 6
months, which I canceled. After canceling, I noticed that all image URLs on my WordPress
website were completely broken, and they still show the KeyCDN image URLs even though
I have uninstalled their plugin and services. Now, I am manually editing and changing
all the image URLs. I am very disappointed with their services.

![](https://secure.gravatar.com/avatar/b192ca0e1004690ee2a0746680a85581959f06cf92e061392a56bd133d3e50a8?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-9068/)󠁿

 [Ashutosh Sharma](https://profiles.wordpress.org/ashutosharma97/) 09. prosinca 
2023.

Have been using it on multiple websites for quite some time now, and haven't faced
any issues so far. Thanks for providing this plugin!

![](https://secure.gravatar.com/avatar/0222b3c0cd2e303c6c1c9aaad26bd449c09fa922a5b6136d2a96e1ef4101aee9?
s=60&d=retro&r=g)

### 󠀁[Very helpful](https://wordpress.org/support/topic/very-helpful-1111/)󠁿

 [samuraixx](https://profiles.wordpress.org/samuraixx/) 26. kolovoza 2021. 1 odgovor

the plugin has been very helpful for my site.

![](https://secure.gravatar.com/avatar/db615a1dd8d5b4cae90d64abdb3262fcef8a78b3feaa15e6af843f8e10040a89?
s=60&d=retro&r=g)

### 󠀁[Works great](https://wordpress.org/support/topic/works-great-7744/)󠁿

 [osaze](https://profiles.wordpress.org/osaze/) 20. lipnja 2021. 1 odgovor

I am impressed, CDN enabler was also able to handle wp-json 100% without any issue.
Thanks

![](https://secure.gravatar.com/avatar/9b37b0ebf22336c7ff16638a74e6f9e2dd3afb929e3756431361e829c34453e5?
s=60&d=retro&r=g)

### 󠀁[UPDATED – 29 MAR 2021](https://wordpress.org/support/topic/avoid-danger/)󠁿

 [treecutter](https://profiles.wordpress.org/treecutter/) 29. ožujka 2021. 1 odgovor

Updated 29 MAR 2021 We are now using this plugin successfully together with KeyCDN.
No issues at all.

 [ Pročitajte 51 recenziju ](https://wordpress.org/support/plugin/cdn-enabler/reviews/)

## Suradnici i Programeri

“CDN Enabler” je softver otvorenog koda. Sljedeće osobe su doprinijele ovom dodatku.

Suradnici

 *   [ KeyCDN ](https://profiles.wordpress.org/keycdn/)

“CDN Enabler” je preveden na 6 jezika. Zahvala [prevoditeljima](https://translate.wordpress.org/projects/wp-plugins/cdn-enabler/contributors)
za njihov doprinos.

[Prevedite “CDN Enabler” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/cdn-enabler)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/cdn-enabler/), pogledajte
[SVN spremište](https://plugins.svn.wordpress.org/cdn-enabler/)ili se pretplatite
na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/cdn-enabler/) od [RSS](https://plugins.trac.wordpress.org/log/cdn-enabler/?limit=100&mode=stop_on_copy&format=rss).

## Dnevnik promjena

#### 2.0.8

 * Fix self class handling

#### 2.0.7

 * PHP 8.2 compatibility

#### 2.0.6

 * WordPress 6.1 compatibility

#### 2.0.5

 * Add server input sanitization

#### 2.0.4

 * Update configuration validation to include the Site Address (URL) as an HTTP `
   Referer` (#42)
 * Update URL matcher in rewriter to match URLs that are in escaped JSON format (#
   41)
 * Update CDN hostname validation to trim surrounding whitespace characters (#40)

#### 2.0.3

 * Update output buffer handling (#29)
 * Fix purge cache request handling (#31)

#### 2.0.2

 * Update URL matcher in rewriter (#28)
 * Update full URL rewrite (#28)

#### 2.0.1

 * Update URL matcher in rewriter (#25)
 * Update settings conversion (#26)
 * Add `cdn_enabler_exclude_admin`, `cdn_enabler_contents_before_rewrite`, and `
   cdn_enabler_contents_after_rewrite` filter hooks (#27)
 * Fix configuration validation for installations in a subdirectory (#27)
 * Remove `cdn_enabler_page_contents_before_rewrite` filter hook in favor of replacement(#
   27)

#### 2.0.0

 * Update output buffer timing to start earlier on the `setup_theme` hook instead
   of the `template_redirect` hook (#23)
 * Update settings (#23)
 * Update requirements check (#23)
 * Update purge CDN cache handling (#23)
 * Add new rewrite engine (#23)
 * Add WP-CLI cache purging (#23)
 * Add configuration validation (#23)
 * Add `cdn_enabler_user_can_purge_cache`, `cdn_enabler_page_contents_before_rewrite`,`
   cdn_enabler_bypass_rewrite`, `cdn_enabler_site_hostnames`, and `cdn_enabler_rewrite_relative_urls`
   filter hooks (#23)
 * Fix requirement notices being shown to all users (#23)
 * Fix rewriting limitations (#23)
 * Deprecate `user_can_clear_cache` filter hook in favor of replacement (#23)

#### 1.0.9

 * Rewrite URLs filtering the_content so that rendered HTML in REST API use CDN

#### 1.0.8

 * Purge CDN redirects to admin dashboard to avoid error messages
 * Better error messages
 * Do not display nag notice when KeyCDN API credentials are set

#### 1.0.7

 * Minor bug fixes (pass-by-reference)

#### 1.0.6

 * Minor bug fixes
 * Improved CDN purging

#### 1.0.5

 * Multiprotocol CDN rewriting
 * Add purging through KeyCDN API
 * Don’t rewrite if in admin preview mode
 * Rewrite to HTTPS if enabled and client connects through HTTP

#### 1.0.4

 * Removed unused code

#### 1.0.3

 * Improved exclusions for directories and extensions

#### 1.0.2

 * Switched from siteurl to home (e.g. for bedrock support)

#### 1.0.1

 * First major release
 * Fixed warnings

#### 0.0.1

 * Prvo izdanje

## Meta

 *  Version **2.0.8**
 *  Zadnje ažuriranje **prije 8 mjeseci**
 *  Aktivnih instalacija **10.000+**
 *  WordPress inačica ** 5.1 ili viša **
 *  Testirano do **6.9.10**
 *  PHP inačica ** 5.6 ili viša **
 *  Jezici
 * [Chinese (China)](https://cn.wordpress.org/plugins/cdn-enabler/), [Chinese (Taiwan)](https://tw.wordpress.org/plugins/cdn-enabler/),
   [Dutch](https://nl.wordpress.org/plugins/cdn-enabler/), [English (US)](https://wordpress.org/plugins/cdn-enabler/),
   [French (France)](https://fr.wordpress.org/plugins/cdn-enabler/), [German](https://de.wordpress.org/plugins/cdn-enabler/),
   i [Russian](https://ru.wordpress.org/plugins/cdn-enabler/).
 *  [Prevedite na vaš jezik](https://translate.wordpress.org/projects/wp-plugins/cdn-enabler)
 * Oznake
 * [cdn](https://hr.wordpress.org/plugins/tags/cdn/)[content delivery network](https://hr.wordpress.org/plugins/tags/content-delivery-network/)
   [content distribution network](https://hr.wordpress.org/plugins/tags/content-distribution-network/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/cdn-enabler/advanced/)

## Ocjena

 4.1 out of 5 stars.

 *  [  39 5-star reviews     ](https://wordpress.org/support/plugin/cdn-enabler/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/cdn-enabler/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/cdn-enabler/reviews/?filter=3)
 *  [  1 2-star review     ](https://wordpress.org/support/plugin/cdn-enabler/reviews/?filter=2)
 *  [  10 1-star reviews     ](https://wordpress.org/support/plugin/cdn-enabler/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/cdn-enabler/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cdn-enabler/reviews/)

## Suradnici

 *   [ KeyCDN ](https://profiles.wordpress.org/keycdn/)

## Podrška

Problemi riješeni u zadnja dva mjeseca:

     0 od 1

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/cdn-enabler/)