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. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)