Title: W3 Total cache with Cloudfront
Last modified: October 8, 2018

---

# W3 Total cache with Cloudfront

 *  Resolved [sb](https://wordpress.org/support/users/nikademo/)
 * (@nikademo)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/w3-total-cache-with-cloudfront/)
 * Hi,
 * I’m using the “Generic Mirror” setting to connect to a cloudfront cdn distribution
   an all is working ok BUT for some css, js and media files that re redirected 
   wrong.
 * domain.comwp-content/…. instead of domain.com/wp-content/…
 * so the website is unusable.
 * Any idea about how to solve it? it really puzzles me as some media file urls 
   are working and some not, all int the same folder and same type.
 * I’ve recreated a new distibution but still not working.
 * Thanks

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/w3-total-cache-with-cloudfront/#post-10760269)
 * Hello [@nikademo](https://wordpress.org/support/users/nikademo/),
    Can you please
   provide us with an example page URL?
 *  Thread Starter [sb](https://wordpress.org/support/users/nikademo/)
 * (@nikademo)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/w3-total-cache-with-cloudfront/#post-10762581)
 * No sorry as the site is live and I cannot enable the cdn until I’ve found a fix.
 * Simply some js and css after cloudfront redirect are missing a slash in front
   of wp-content.
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/w3-total-cache-with-cloudfront/#post-10762725)
 * Hello,
 * In order to help you out with this, we need to dig a bit deeper. I recommend 
   you our Professional support for this issue. Go to your Wp Dashboard, Performance
   >Support and choose the desired solution.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘W3 Total cache with Cloudfront’ 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/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/w3-total-cache-with-cloudfront/#post-10762725)
 * Status: resolved