Questions
As part of a recent migration, I uploaded all media files directly to Azure Blob Storage since the site is hosted on Azure with Front Door serving as the CDN. While the media files have been properly registered in the database via a JSON import and display in the Media Library, the permalinks are returning a 404 error. The URLs correctly point to the Blob Storage.
Current Issues
What would be the best approach or recommendation to resolve the following problems?
- W3 Total Cache Error: I’m seeing the following message in W3TC:
“The unsuccessful transfer queue has unresolved errors. Empty the queue to restore normal operation.”
Upon reviewing the Local Path and Remote Path tables, both paths appear incorrect. This is likely because the files were uploaded directly to Blob Storage.
- Local Path:
/var/www/wordpress/wp-content/uploads/280830_arccalendar.jpg
- Remote Path:
wp-content/uploads/280830_arccalendar.jpg
Elementor & W3 Total Cache Setup
Is the following approach suitable for including Elementor files in the custom file upload list, or would you recommend a different approach to handle Elementor file updates?
One recurring issue is that pages randomly fail to display or render correctly. This seems to be related to caching issues or missing Elementor files that W3TC hasn’t updated. The issue is usually resolved by purging the cache or manually uploading the updated CSS to Blob Storage.
To address this, I’ve added Elementor files to W3TC’s Custom File List, but in some cases, I’ve also had to include full URLs for certain CSS files so that W3TC would recognize the updated versions.
Custom File List Updates
{wp_content_dir}/uploads/elementor/**/*
{wp_content_dir}/uploads/elementor/css/**/*.*
{wp_content_dir}/uploads/elementor/custom/css/**/*.*
{wp_content_dir}/uploads/elementor/css/custom-frontend.min.css {wp_content_dir}/uploads/elementor/css/custom-pro-widget-nav-menu.min.css {wp_content_dir}/uploads/elementor/css/custom-pro-frontend.min.css {wp_content_dir}/uploads/elementor/css/custom-pro-widget-slides.min.css {wp_content_dir}/uploads/elementor/css/custom-widget-icon-list.min.css