How to fix font awesome icons not working on your site

Last Updated: October 29, 2021

Add the below code to .htaccess file in the root of your web folder. Usually you have to locate this file using FTP client and open with a text editor such as NotePad++

If you are not able to locate this file, contact your web host and have them do it for you.

<IfModule mod_headers.c>
<FilesMatch "\.(svg|ttf|otf|eot|woff|woff2)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
<IfModule>

This Code should be added right after the “# BEGIN WordPress” line.

Did this article help you?

Ready to setup your calendar?