WP CDN Rewrite is a simple plugin that rewrites URLs, generally to static assets, automatically based on a set of rules.
The plugin creates a new section in the Settings area of the WordPress admin site titled 'WP CDN Rewrite'. All configuration is performed there.
First, add domains to the whitelist. URLs on these domains will be rewritten if a rule is found for the given URL.
Second, add rules. Two types of rules can be specified:
These rules only change the host on a given URL. For cases along
the lines of the CloudFiles use case that we wrote this for, simply
specify the new host and the extension to match on (e.g.,
These rewrite everything except the filename in the URL. Specify
whatever should prefix the filename (e.g.,
Requires: 2.8 or higher
Compatible up to: 3.3.2
Last Updated: 5 years ago
Active Installs: 40+
Got something to say? Need help?