Home › Forums › All Other Themes › can't see social icons on remote server
- This topic has 3 replies, 2 voices, and was last updated 8 years, 8 months ago by Sonl Sinha.
-
AuthorPosts
-
March 18, 2016 at 9:13 pm #27400
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
March 19, 2016 at 12:16 pm #27430I 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
March 19, 2016 at 3:09 pm #27435I have revomed the password from directory and now it works!
March 21, 2016 at 7:16 am #27511Okay cool.
Regards,
Shri -
AuthorPosts
- You must be logged in to reply to this topic.