Member-only story

Azure Web App — Azure CDN — WordPress — CORS

Azure CDN with Azure Web App — Access to Font at CDN has been Blocked by CORS Policy

Sibeesh Venu
3 min readAug 14, 2020

I was using Azure CDN to serve all my files and all the files were loading fine except the fonts and icons because I was getting the CORS issue. Here is the fix.

Serve files

Introduction

Working with Azure web app is always fun. I was facing a CORS issue in my WordPress web application recently. Here in this post, I am going to share with you the solution that helped me. I was using Azure CDN to serve all my files and all the files were loading fine except the fonts and icons because I was getting the CORS issue. Here is the fix. Preceding is the image of my browser console, where you can see the error clearly.

CORS issue

Here is how my blog looked like when the icons were not loading.

Missing icons

Fix for “Acces to font CROS policy issue”

--

--

Sibeesh Venu
Sibeesh Venu

Written by Sibeesh Venu

An engineer by profession and writer by passion. Author at Sibeesh Passion, Microsoft MVP (2016–2022). Software Engineer @ Microsoft

Responses (1)