Fakten.Metriken.Input

Interessante Themen zur Optimierung des Online Marketings

Font-Awesome Icons not loading

A short snippet to fix a problem with font-awesome icons in wordpress themes like „basement“ .

Just ad the following code in your .htaccess file on your server.

Header add Access-Control-Allow-Origin „*“

This error occurs when you get some chinese symbols or the icons are not showing correctly in some wordpress themes.

The combined Solution for your .htaccess File:
# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www.domain.de
RewriteRule (.*) http://www.domain.de%{REQUEST_URI} [R=301,L]

Header add Access-Control-Allow-Origin „*“
# END WordPress

Schreibe einen Kommentar