Hi there, are you using the Azure plugin for storage in Wordpress ?? Best regards
Azure File Share mounted to wordpress multisite wp-content uploads and blogs.dir folders mapped domains not loading images
I am getting an error 520 on my images from sub-sites that domain mapped in wordpress multisite with multi-networks. I am running azure file share with an azure vm that I plan to expand to more vm's. The File share is mounted to the wp-content blogs.dir and uploads directories. If I move the images off the file share to the server everything works fine, but if I remount the file share then the images and content stored on the file share is inaccessible to the sub-sites when being accessed by a mapped domain, they are blocked from loading. This leads me to believe its a cross domain issue with Azure File Share, or an issue with the file share handling the mod rewrite, but that is all I have so far. I can't figure out how to resolve.
My goal is to setup a scalable server hosting wordpress that I can connect other servers to for load balancing. So the file share would grant site content no matter the server the user connects to.
The main domain works fine (originaldomain.com) as well the original wordpress domains unmapped (i.e. networkname.originaldomain.com/subsite/), if I access the subsites through their original domains the images load and there are no errors. This only happens with a mapped domain (newdomain.com) and when the blogs.dir (running a multi-network) is mounted to the fileshare.
Azure Files
Azure Virtual Machines
Azure Storage
2 answers
Sort by: Most helpful
-
Oscar Maqueda 611 Reputation points Microsoft Employee
2021-01-12T18:53:51.34+00:00 -
Aaron Morales Cordoba 6 Reputation points Microsoft Employee
2021-01-29T05:01:11.027+00:00 Is a Cross-Origin Resource Sharing CORS policy configure for your Azure Files service?
For more information about CORS policies please refer to