MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Cors Problem
Current time: 09-20-2020, 05:58 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 '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;

<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 "*"
</FilesMatch>
</IfModule>

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 


Messages In This Thread
Cors Problem - Cymru - 09-11-2020 10:49 PM

Forum Jump:


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