• Resolved Mimergt

    (@mimergt)


    I try to get work some fonts on my website but i can’t…

    On my .htaccess i have this lines:

    # BEGIN AWS CDN 
    <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css)$">
    <IfModule mod_headers.c>
    Header add Access-Control-Allow-Origin "*"
    Header set Access-Control-Allow-Origin "*"
    </IfModule>
    </FilesMatch>
    # END AWS CDN 
    

    but not works, on the “Do Not Load These Files From CDN [One entry per line]”
    i have the url of the files and i try different paths but nothing works.

    /wp-content/themes/mc2018/images/icons/newspaper.woff
    /wp-content/themes/mc2018/images/icons/newspaper.woff
    /wp-content/themes/mc2018/images/icons/newspaper.woff?15
    /wp-content/themes/Newspaper/images/icons/newspaper.woff?16
    /wp-content/themes/Newspaper/images/icons/newspaper.woff

    thi fonts shows icons on my front-end but i have the same problem on the Admin, some plugins fonts are not loaded.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CORS font issue’ is closed to new replies.