Plugin Directory

WordPress CDN Rewrite

WP CDN Rewrite is a simple plugin that rewrites URLs, generally to static assets, automatically based on a set of rules.

Download Version 1.0

Author: bluewormlabs

For performance reasons, some websites host static content (images, CSS files, Javascript files, etc.) on something other than the main webserver. It could be as simple as separate, higher performance software running on the same server or a full-fledged CDN serving the files from multiple servers around the world.

While many plugins like this already exist for WordPress, we couldn't find any that matched our needs. Furthermore, most required running a caching plugin in addition to the CDN plugin. In many cases, that's fine, but we don't always want to have caching.

The following are rewritten if a rule matches:

  1. Values in href attributes of A tags
  2. Values in href attributes of LINK tags
  3. Values in src attributes of IMG tags
  4. Values in src attributes of SCRIPT tags
Tags:

Requires: 2.8 or higher
Compatible up to: 3.2.1
Last Updated: 2012-1-28 Downloads: 85

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(1 ratings)

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

Log in to vote.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,2,2
100,1,1
100,1,1