Answer the question
In order to leave comments, you need to log in
Link to favicon returns text content-type instead of graphic, how to change?
Faced such a problem when communicating with search engine support:
Your favicon from the line
<link rel=«shortcut icon» href="http://site.ru/files/icons/favicon.ico" type=«image/vnd.microsoft.icon» />
gives our robot a text content-type, but we need a graphic one. Answer the question
In order to leave comments, you need to log in
The issue was resolved.
During the analysis, it turned out that although the nginx configuration file contained the specified types:
/etc/nginx/mime.types
Data for display was extracted from the file:
/etc/mime.types
And it was necessary to add a line
After that, everything began to be reflected correctly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question