Title: Multi CDN
Last modified: August 18, 2018

---

# Multi CDN

 *  Resolved [dtszero](https://wordpress.org/support/users/dtszero/)
 * (@dtszero)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/multi-cdn/)
 * Hi!
 * I want to use multiple CDN for JS, CSS and Media files.
 * In my other cache plugin I have the fields for add more cdn’s directions but 
   in Autoptimize how I can do this?
 * Regards,
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmulti-cdn%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/multi-cdn/#post-10602492)
 * well, for starters AO does not do media, only CSS/ JS 🙂
 * now to differentiate between JS and CSS (incl. background images in the CSS) 
   you could hook into AO’s API, specifically the `autoptimize_filter_base_replace_cdn`
   filter which gives you the CDN’ed URL based on the normal setting and alter that
   at your own convenience?
 * hope this helps,
    frank

Viewing 1 replies (of 1 total)

The topic ‘Multi CDN’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

 * [cdn](https://wordpress.org/support/topic-tag/cdn/)

 * 1 reply
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/multi-cdn/#post-10602492)
 * Status: resolved