Current time: 03-08-2021, 08:02 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cors Problem
09-11-2020, 10:49 PM
Post: #1
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 '' from origin '' 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;

<IfModule mod_headers.c>
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js|gif|png|jpe?g|svg|svgz|ico|webp)$">
Header set Access-Control-Allow-Origin "*"

Anyone have any pointers for me? It would be much appreciated. Thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

User(s) browsing this thread: 1 Guest(s)