CSS Fonts Missing: No ‘Access-Control-Allow-Origin’ header is present on the requested resource

14 sec read

CSS Fonts Missing on web

The error some like:

Font from origin 'http://css.blackonsole.org' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://blackonsole.org' is therefore not allowed access.

How to fix CSS Fonts Missing on .htaccess

Edit .htaccess file and add rules like this:



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


Leave a Reply

Your email address will not be published. Required fields are marked *