Title: CDN Upload Path &amp; Content Type
Last modified: February 8, 2017

---

# CDN Upload Path & Content Type

 *  [notanonymous](https://wordpress.org/support/users/notanonymous/)
 * (@notanonymous)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/cdn-upload-path-content-type/)
 * Using latest version of wordpress and the plugin with php 7 and Azure CDN. Two
   issues:
 * 1. When uploading theme and include files to the cdn, they’re being uploaded 
   to a file path like d:\home\site\wwwroot\… vs \wp-content\themes\… as they should
   based on how the urls get rewritten by w3tc. How do I get them to upload to the
   correct path?
 * 2. I’ve not seen this in previous sites, but when uploading, the content type
   for css and js files is being set to application/octet-stream vs text/css, etc.
   This is then causing some issues in loading those files for the site as the browser
   gets confused as to what they are. How can I stop this from happening?
 * Any help on these would be much appreciated!

 The topic ‘CDN Upload Path & Content Type’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [notanonymous](https://wordpress.org/support/users/notanonymous/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/cdn-upload-path-content-type/)
 * Status: not resolved