W3 Total Cahce & Highend – Icons Not Loading

  • In Progress
    Posted in: Highend WP Theme  
  • Customer
    Qualmatan
    August 9, 2018 at 1:30 am #129742

    Hello,

    I’ve searched through this forum and added two sets of codes to my .htaccess file, but I am not able to get the icons to load. Can someone please assist?

    Domain is https://makeyourfreedom.com

    Here are the two codes I’ve added to the top AND bottom of my .htaccess file

    # ———————————————————————-
    # CORS-enabled images (@crossorigin)
    # ———————————————————————-
    # Send CORS headers if browsers request them; enabled by default for images.
    # developer.mozilla.org/en/CORS_Enabled_Image
    # blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html
    # hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/
    # wiki.mozilla.org/Security/Reviews/crossoriginAttribute
    <IfModule mod_setenvif.c>
    <IfModule mod_headers.c>
    # mod_headers, y u no match by Content-Type?!
    <FilesMatch “\.(gif|png|jpe?g|svg|svgz|ico|webp)$”>
    SetEnvIf Origin “:” IS_CORS
    Header set Access-Control-Allow-Origin “*” env=IS_CORS
    </FilesMatch>
    </IfModule>
    </IfModule>
    # ———————————————————————-
    # 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|font.css|css)$”>
    Header set Access-Control-Allow-Origin “*”
    </FilesMatch>
    </IfModule>
    # 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|font.css|css)$”>
    Header set Access-Control-Allow-Origin “*”
    </FilesMatch>
    </IfModule>

    I did a search and found multiple .htaccess files, but only modified the .htaccess file at the public-html folder, not within any subfolders.

    Thank you!

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.