Title: WP CDN Rewrite
Author: Chris Scott
Published: <strong>ජනවාරි 7, 2014</strong>
Last modified: සැප්තැම්බර් 27, 2016

---

Search plugins

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

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-cdn-rewrite_d94965.svg)

# WP CDN Rewrite

 By [Chris Scott](https://profiles.wordpress.org/chrisscott/)

[Download](https://downloads.wordpress.org/plugin/wp-cdn-rewrite.0.4.0.zip)

 * [Details](https://si.wordpress.org/plugins/wp-cdn-rewrite/#description)
 * [Reviews](https://si.wordpress.org/plugins/wp-cdn-rewrite/#reviews)
 *  [Installation](https://si.wordpress.org/plugins/wp-cdn-rewrite/#installation)
 * [Development](https://si.wordpress.org/plugins/wp-cdn-rewrite/#developers)

 [Support](https://wordpress.org/support/plugin/wp-cdn-rewrite/)

## Description

This plugin allows you to rewrite the root url of assets, css, and js files. This
allows you to load these resources from an external URL improving the page load 
time by taking advantage of parallel browser requests.

This plugin requires the use of the [Voce Settings API](https://github.com/voceconnect/voce-settings-api)
library.

If using [Composer](http://getcomposer.org) for dependency management, you can alternatively,
after including the plugin files, run composer install to retreive the Voce Settings
API dependency.

## Installation

 1. Upload `cdn-rewrite` to the `/wp-content/plugins/` directory
 2. WordPressහි ඇති ‘ප්ලගින’ මෙනුව හරහා ප්ලගිනය සක්‍රිය කරන්න
 3. Once the plugin has been activated, navigate to the CDN Rewrite settings page and
    set the appropriate settings.

## Reviews

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

### 󠀁[Perfect for my elementor enabled sites](https://wordpress.org/support/topic/perfect-for-my-elementor-enabled-sites/)󠁿

 [Sudhir Dixit](https://profiles.wordpress.org/sudhirdixit/) ජූනි 23, 2020

Hello Team, nice plugin, i have wasted lot of time to integrated CDN to one of my
client site, but every time it fails because of Elementor was not loading CDN Urls
automatically. i have used this plugin and it works perfectly. Please release latest
updates of this plugin, even this version is working properly. Thank you.

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

### 󠀁[Great Plugin!](https://wordpress.org/support/topic/great-plugin-23773/)󠁿

 [Suanlian Tangpua](https://profiles.wordpress.org/suanlian/) නොවැම්බර් 22, 2019

Only this plugin work for me. I tried CDN Enabler, WPRocket (inbuilt CDN Integration)
Nothing works for me. Only this plugin can integrate CDN properly for single post
statics file like images, js, css etc. Guys who used all the above mention plugin
to integrate CDN please check your single post statics.

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

### 󠀁[Easy to use, works very good for me (+ 1 request)](https://wordpress.org/support/topic/easy-to-use-works-very-good-for-me-1-request/)󠁿

 [Sahar](https://profiles.wordpress.org/saharusa/) දෙසැම්බර් 6, 2016

Hi, Thanks for this plugin. Really does a good job. I use it together with WP Super
Cache and Autoptimize. I have a small suggestion, it can be a great option in my
opinion to add multi host support, for example: cdn1.domainname.com, cdn2.domainname.
com etc. so if you have multi hosts/servers distro the plugin will divide the load
between them.

 [ Read all 9 reviews ](https://wordpress.org/support/plugin/wp-cdn-rewrite/reviews/)

## Contributors & Developers

“WP CDN Rewrite” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ Chris Scott ](https://profiles.wordpress.org/chrisscott/)
 *   [ voceplatforms ](https://profiles.wordpress.org/voceplatforms/)
 *   [ prettyboymp ](https://profiles.wordpress.org/prettyboymp/)
 *   [ Kevin Langley Jr. ](https://profiles.wordpress.org/kevinlangleyjr/)

[Translate “WP CDN Rewrite” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-cdn-rewrite)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-cdn-rewrite/), check
out the [SVN repository](https://plugins.svn.wordpress.org/wp-cdn-rewrite/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-cdn-rewrite/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-cdn-rewrite/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.4.0

 * Fixing bug with relative protocol and explicitly checking scheme

#### 0.3.0

 * Abstracting logic from wp-cdn-rewrite.php in order for the `class_exists` check
   to work as intended when APC cache is enabled

#### 0.2.1

 * Updating version numbers and change logs

#### 0.2.0

 * Testing WordPress 4.4
 * Adding srcset support

#### 0.1.5

 * Testing with WordPress 4.1

#### 0.1.4

 * Fixing error when file does not exist and fixing _doing_it_wrong call

#### 0.1.3

 * Adding Grunt build files

#### 0.1.2

 * Adding Capistrano deploy files

#### 0.1.1

 * Fixing issue with URLs without a path part.

#### 0.1.0

 * Initial version.

## Meta

 *  Version **0.4.0**
 *  Last updated **වසර 10ක් ago**
 *  Active installations **100+**
 *  WordPress version ** 3.3 or higher **
 *  Tested up to **4.5.33**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-cdn-rewrite/)
 * Tags
 * [cdn](https://si.wordpress.org/plugins/tags/cdn/)[rewrite](https://si.wordpress.org/plugins/tags/rewrite/)
 *  [Advanced View](https://si.wordpress.org/plugins/wp-cdn-rewrite/advanced/)

## Ratings

 4.4 out of 5 stars.

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

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

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

## Contributors

 *   [ Chris Scott ](https://profiles.wordpress.org/chrisscott/)
 *   [ voceplatforms ](https://profiles.wordpress.org/voceplatforms/)
 *   [ prettyboymp ](https://profiles.wordpress.org/prettyboymp/)
 *   [ Kevin Langley Jr. ](https://profiles.wordpress.org/kevinlangleyjr/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-cdn-rewrite/)