Trouble with CDN “custom file list” not including files in CDN
-
I am trying to use W3TC in the “CDN > Custom file list” to include files that are outside of the WordPress environment to be hosted with the CDN (Amazon CloudFront), but I’m having some trouble.
In my domain the WordPress begins at:
https://www.example.com/wp/
… but I have files in places like:
https://www.example.com/external/
and:
https://www.example.com/external/images/
… that I want to be hosted with the CDN.
I have specified these in the “Custom file list” in this way:
https://www.example.com/external/images/*.jpg
https://www.example.com/external/images/*.png
https://www.example.com/external/images/*.svg
… but even after purging the CDN and caches, they do not appear to become hosted with the CDN.
Is this not working because these directories/files are not just “outside of theme or other common directories” (as per the text underneath the “Custom file list” box) but are actually outside of the WordPress level (even though all pages in them include “[server-path]/wp-load.php” at the top)?
- The topic ‘Trouble with CDN “custom file list” not including files in CDN’ is closed to new replies.