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 library.

If using Composer 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. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Once the plugin has been activated, navigate to the CDN Rewrite settings page and set the appropriate settings.

Reviews

Easy to use, works very good for me (+ 1 request)

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 8 reviews

Contributors & Developers

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

Contributors

Translate “WP CDN Rewrite” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by 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.