Jump to content
Sign in to follow this  
igorrostov

[Решено {www/non-www}] не отображаются иконки

Recommended Posts

Добрый вечер! 
У меня возникла проблема, вместо иконок появились квадратики. Прикрепляю скрин. Версия Версия 2.1.0.1. 

Права на папку images  выставил   755.

 

В ошибках в броузере пишет: www.......ru/:1 Font from origin 'http.......ru' 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..........ru' is therefore not allowed access.

post-17782-0-47331800-1450021285_thumb.jpg

Share this post


Link to post
Share on other sites

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.example.ru$ [NC]
RewriteRule ^(.*)$ http://example.ru/$1 [R=301,L]

 

Проблему решил вставив этот код в файл .htaccess.   www.example.ru   заменить на свой адрес.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.