Cors Problem

Hi all,

I just updated my Wordpress install from 5.1 to 5.5.1. I didn’t have this problem before the update but now I have a browser error related to CORS and my woff2 fonts. I get the following error;

Access to font at ‘https://cdn.pressertech.com/wp-content/themes/Divi/core/admin/fonts/modules.woff2’ from origin ‘https://www.pressertech.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

And I thought that this would be covered under the policy in my htaccess;

Header set Access-Control-Allow-Origin "*"

Anyone have any pointers for me? It would be much appreciated. Thanks.

Unfortunately the CORS policy of your 3rd party still applies even though you have set “Access-Control-Allow-Origin “*”” in your header.
For more details on this, I recommend that you take a look at this article: https://bit.ly/3fdJY24