WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am moving my site's static content data to Amazon S3+ CloudFront and i am successful in doing this for most part of my site (no plugin used) except for the plugin section.

For the plugin i am thinking to rewrite its URL so that they can be mapped with my Amazon CDN URL. for e.g as of now all images/css and js file for the plugin are served with this URL


and my plan is to reqwrite such URL's with


not sure how this can be done in wordpress, any pointer will really be helpful

share|improve this question

There are already plugins to do the rewrites. For example, CDN Linker. By default, it loads / rewrites the static content for 'wp-includes' and 'wp-content'. You may change this default behaviour after the installation / activation or fork it to let this plugin rewrite only the data from the plugins directory.

share|improve this answer
i used that plugin but there were certain issues with that which prevented me to use this plugin. – Umesh Awasthi Apr 1 '13 at 15:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.