DIVI symbols not showing up – Icon Fonts not loading

In the event that you utilize Polylang with two unique spaces, or have whatever other setting that is getting to one WordPress establishment from various areas, you may confront the issue that the symbol textual style of DIVI isn’t stacking and symbols vanish separately indicating e.g. a capitalized “U” rather than the hunt image and multibyte placeholders rather than the social symbols in the footer. You may likewise went over a mistake message saying something like:

Text style from root ‘http://domain.com’ has been obstructed from stacking by Cross-Source Asset Sharing approach: No ‘Entrance Control-Permit Starting point’ header is available on the asked for asset. Source ‘http://domain.com’ is in this way not permitted get to. contentScript.js:234 cs: onRequestListener(Arguments[3])

On account of Eduard from the Rich Subjects bolster the arrangement is simple. Simply add the accompanying lines to the .htaccess in the root organizer or your WordPress establishment:

 

1
2
3
4
5
6
7
8
9
10
11
# ———————————————————————-
# Webfont access
# ———————————————————————-
# Allow access from all domains for webfonts.
# Alternatively you could only whitelist your
# subdomains like “subdomain.example.com”.
<IfModule mod_headers.c>
  <FilesMatch “\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$”>
    Header set AccessControlAllowOrigin “*”
  </FilesMatch>
</IfModule>

Eduardo also had another directive in his solution, but it worked for me also without. In case you need it, place this code before:

 

You can also read more about this solution here: http://stackoverflow.com/questions/10143093/origin-is-not-allowed-by-access-control-allow-origin

As suggested there you should replace the wildcard * with your domain. I just publish this solution here to be easier found also outside of the closed ET forum, but I can not take any guarantee for security issues since I am not a server expert. If you are one and have something to share about it, please comment. If you are in doubt, don’t use it or inform yourself before!