Blocked by CORS for woff, woff2 and tff




Wordpress LScache Plugin: Blocked by CORS for woff, woff2 and tff

Last Updated on: Wed, 15 Apr 2026 00:00:02
It comes many errors (24) at website, more of them is woff, woff2 and ttf: link. I checked CORS in .htaccess and it does exist: ### marker CORS start ### Header set Access-Control-Allow-Origin ### marker CORS end ### CDN is Optimole. How I do get them work without any errors? Hi, COuld you please provide the report number ? Best regards, SMRBPRZQ Hi, Could you please disable that maintainance page ? I can not check the font with that on Best regards, Its now disabled Hi, root@test:$ curl -I -XGET https://www.su___o.se/core/modules/e2b64e582b/assets/css/fonts/montserrat/Montserrat-Bold.woff2 HTTP/1.1 200 OK Connection: Keep-Alive Cache-Control: public, max-age=31557600 Expires: Thu, 10 Jun 2021 21:57:29 GMT Content-Type: font/woff2 Last-Modified: Thu, 04 Jun 2020 06:47:15 GMT Etag: 13ca4-5ed898f3-45f60abbbd6e9394 Accept-Ranges: bytes Content-Length: 81060 Date: Wed, 10 Jun 2020 15:57:29 GMT X-Powered-By: PleskLin MS-Author-Via: DAV Strict-Transport-Security: max-age=15768000 includeSubDomains Access-Control-Allow-Origin: Alt-Svc: quic=:443 ma=2592000 v=43,46 , h3-Q043=:443 ma=2592000, h3-Q046=:443 ma=2592000, h3-Q050=:443 ma=2592000, h3-25=:443 ma=2592000, h3-27=:443 ma=2592000 the source URL does have CORS , if you dont have it on CDN URL , that means CDN removed this header, please check on your CDN setting. Best regards, Thank you. I reported it to Optimole about issues and lets see what they say about settings for this. Hi, yes, please rely them above curl command output , they will understand. Best regards, I figured out with Optimole. I added this to .htaccess but outside of cache section: Header always set Access-Control-Allow-Origin So all woff, woff2 and tff are appearing. Thread is mark as resolved.



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference