can't see social icons on remote server

Home Forums All Other Themes can't see social icons on remote server

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #27400
    AuroraAurora
    Member
    • Topics: 2
    • Replies: 4
    • Total: 6
    Member since: March 14, 2016

    I move my site on remote server, everything works except for social icons. Even arrows. More precisely – every fa-icon div is an empty space

    #27430
    AuroraAurora
    Member
    • Topics: 2
    • Replies: 4
    • Total: 6
    Member since: March 14, 2016

    I have try to fix the problem putting this code in .htaccess but this don’t solve.

    # Allow access from all domains for webfonts.
    <IfModule mod_headers.c>
      <FilesMatch "\.(ttf|ttc|otf|eot|woff|font.css|css)$">
        Header set Access-Control-Allow-Origin "*"
      </FilesMatch>
    </IfModule>

    Still have these errors:

    Font from origin ‘http://laurorabono.it’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://www.laurorabono.it’ is therefore not allowed access. The response had HTTP status code 401.

    http://laurorabono.it/wordpress/wp-content/themes/skt_hotel/css/fonts/fontawesome-webfont.woff2?v=4.5.0 Failed to load resource: the server responded with a status of 401 (Unauthorized)

    (index):1 Font from origin ‘http://laurorabono.it’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://www.laurorabono.it’ is therefore not allowed access. The response had HTTP status code 401.

    http://laurorabono.it/wordpress/wp-content/themes/skt_hotel/css/fonts/fontawesome-webfont.woff?v=4.5.0 Failed to load resource: the server responded with a status of 401 (Unauthorized)
    (index):1 Font from origin ‘http://laurorabono.it’ has been blocked from loading by Cross-Origin Resource Sharing policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://www.laurorabono.it’ is therefore not allowed access. The response had HTTP status code 401.

    http://laurorabono.it/wordpress/wp-content/themes/skt_hotel/css/fonts/fontawesome-webfont.ttf?v=4.5.0 Failed to load resource: the server responded with a status of 401 (Unauthorized)

    Any suggestion? Thanks

    #27435
    AuroraAurora
    Member
    • Topics: 2
    • Replies: 4
    • Total: 6
    Member since: March 14, 2016

    I have revomed the password from directory and now it works!

    #27511
    Shri SShri S
    Keymaster
    • Topics: 10
    • Replies: 6938
    • Total: 6948
    Member since: June 12, 2013

    Okay cool.

    Regards,
    Shri

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.