{"id":8782673,"date":"2017-02-08T19:12:11","date_gmt":"2017-02-08T19:12:11","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/cdn-upload-path-content-type\/"},"modified":"2017-02-08T19:12:11","modified_gmt":"2017-02-08T19:12:11","slug":"cdn-upload-path-content-type","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/cdn-upload-path-content-type\/","title":{"rendered":"CDN Upload Path &amp; Content Type"},"content":{"rendered":"<p>Using latest version of wordpress and the plugin with php 7 and Azure CDN.  Two issues: <\/p>\n<p>1. When uploading theme and include files to the cdn, they&#8217;re being uploaded to a file path like d:\\home\\site\\wwwroot\\&#8230; vs \\wp-content\\themes\\&#8230; as they should based on how the urls get rewritten by w3tc.  How do I get them to upload to the correct path? <\/p>\n<p>2. I&#8217;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? <\/p>\n<p>Any help on these would be much appreciated!<\/p>\n","protected":false},"template":"","class_list":["post-8782673","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8782673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8782673\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8782673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}