Fonts Polylang subdomains Firefox
-
I noticed, that the small symbols didn’t show up on Firefox, after activating Polylang plugin with subdomains (fi.mysite.com and en.mysite.com), because Firefox wants fonts to be in the same domain as the actual html page. A word-around for this problem is to add the following rule to httpd-wordpress.conf file:
<FilesMatch “\.(ttf|ttc|otf|eot|woff)$”>
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin “*”
</IfModule>
</FilesMatch>
The topic ‘Fonts Polylang subdomains Firefox’ is closed to new replies.
