• I am using Azure for our hosting and we utilize Azure Frontdoor for their cdn capabilities. And if you are unfamiliar with azure they integrate w3 total cache by default in the wordpress app services. The issue I am having is it does not seem as though w3 total cache adds the uploads/elementor or uploads/customtheme folders to the storage blobs or cdn therefore resulting in 404 errors of not found. I have manually included in the custom file lists in the advanced settings of the cdn:

    {wp_content_dir}/uploads/elementor/.css

    {wp_content_dir}/uploads/porto_styles/css/.css

    However this does not seem to do anything as doing the upload attachments button which seems to add the uploads folders to the blob storage manually still seems to skip over the elementor and the porto_styles folder as its not there.

    • This topic was modified 5 days, 14 hours ago by qiuzman.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @qiuzman

    Thank you for reaching out and I am happy to help!
    Can you please share exactly which CDN type is selected in the Peformance>General Settings – CDN section?

    Also you are mising * in the path list:

    {wp_content_dir}/uploads/elementor/*.css

    {wp_content_dir}/uploads/porto_styles/css/*.css

    You can also use {uploads_dir} placeholder or the entire path of like /wp-content/uploads/elementor/*.css

    Also please sahre the CDN settings in Performance>CDN

    Thanks!

    Thread Starter qiuzman

    (@qiuzman)

    hi!

    I am using the azure storage option (not managed identity). The issue is some files make it to the blob storage while others do not. I have seen the custom file option but now after experimenting it looks like it requires you to add each directory manually which would be extremely time consuming. For instance there is some woocommerce files that are missing and that plugin is many layers deep in folders. If I have to manually go through and each for every page I just don’t think I could maintain that. Is there a way to set the parent folder and it recursively add all files and subfolders in that directory?

    And yes I did use *.css and *.js but that only does it in the current directory not the subdirectories too. So what am I missing?

    • This reply was modified 3 days, 20 hours ago by qiuzman.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @qiuzman

    As you can see in the examples you can use {wp_content_dir}/uploads/*

    And to confirm, are those css and Js uploaded?

    Thanks!

    Thread Starter qiuzman

    (@qiuzman)

    Yes I used the example. So say I do {wp_content_dir}/uploads/* and there is a elementor folder in there which then has a css folder. Are you saying doing {wp_content_dir}/uploads/* will recursively go through the upload folder inside of elementor folder and and all of its subfolder add all files? That was not happening when I tried it.

    I am in the middle of the site being used for the next 2 weeks so I cannot switch the cdn on back at the moment to retest but that was not my experience.

    Thanks for your help!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @qiuzman

    Thank you for the feedback.
    Please let us know when you are able to test this again
    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.