Better way to list custom files?
-
The CDN Cloudfront Origin Push option for W3TC is replacing all references to files that aren’t mentioned in the default settings. This is causing 403 errors since not all files are being uploaded to the Cloudfront/S3.
I have compiled a list of all the files that are being replaced by CDN links and have added it to the Custom Files list.
However, I am not sure this is the best way to mention these files. (Especially if they are generated by plugins and theme builders we don;t exactly control)
Is there a different method I should be listing this to cover more ground?
My Custom File list looks like this
favicon.ico {wp_content_dir}/gallery/* {wp_content_dir}/uploads/avatars/* {plugins_dir}/wordpress-seo/css/xml-sitemap.xsl {plugins_dir}/wp-minify/min* {plugins_dir}/*.js {plugins_dir}/*.css {plugins_dir}/*.gif {plugins_dir}/*.jpg {plugins_dir}/*.png {plugins_dir}/*.ttf {plugins_dir}/*.otf {plugins_dir}/*.woff {plugins_dir}/*.woff2 {plugins_dir}/*.less *.icon {wp_content_dir}/themes/bb-theme/css/*.css {wp_content_dir}/themes/bb-theme/js/*.js {wp_content_dir}/uploads/bb-plugin/cache/*.css {wp_content_dir}/uploads/bb-plugin/cache/*.js {wp_content_dir}/uploads/bb-plugin/icons/ultimate-icons/*.css {wp_content_dir}/uploads/bb-theme/*.css {wp_content_dir}/uploads/bb-plugin/icons/ultimate-icons/fonts/*.woff {wp_content_dir}/uploads/bb-plugin/icons/ultimate-icons/fonts/*.ttf {wp_content_dir}/plugins/woocommerce/assets/images/icons/*.svg
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Better way to list custom files?’ is closed to new replies.