How to upload favicon in Wordpress?

Have uploaded a favicon through site settings, just in case additionally threw in the root. The file in ico format. Over time, the icon was updated in the Webmaster, Metrics, search. But later it began to be rolled back. Wrote in support of the Webmaster, sent a reply:

I checked the situation with the favicons. Now in the code of your website spelled out the favicons to the /wp-content/uploads/2019/05/favicon.png in PNG format. In this case, the line of code you need to add type="image/png".

If favicons are spelled out incorrectly, we cannot guarantee that it will appear in the search. Please correct the defect, probably it will help favicons to return results.


I go to site settings, and then the icon in png format. Delete, download again ico. Wordpress converts it to png. Yes, how about that? I asked is it to convert?

Look the source code, and there is 4 mention about the icon:

<link rel="icon" href="/wp-content/uploads/2019/06/favicon.png" sizes="32x32" />
<link rel="icon" href="/wp-content/uploads/2019/06/favicon.png" sizes="192x192" />
<link rel="apple-touch-icon-precomposed" href="/wp-content/uploads/2019/06/favicon.png" />
<meta name="msapplication-TileImage" content="/wp-content/uploads/2019/06/favicon.png" />


What the hell? The problem of the blue!

1. How do I upload the icon to not change the format from png to ico?
2. Where to find the code output icons? The functions file of the theme icon does not display.
3. Maybe not worth shipping through the settings and just drop the file in the root and to stop fighting idiocy Wordpress?

To load and display the icon on the website it is the task of the student. Don't know what motivated the developers of Wordpress, even such a primitive task managed to inflate and make the people the problem. My brain doesn't understand why they are choosing a difficult path instead of a simple. Amazing CMS.
March 23rd 20 at 19:17
2 answers
March 23rd 20 at 19:19
https://wordpress.org/plugins/all-in-one-favicon/ - use this plugin, it does everything for you, the velocity of the work site not affected in any way.
I knew that certainly there is some plugin for this) - gideon.Trant commented on March 23rd 20 at 19:22
I tried this plugin. Unfortunately, it does not solve the problem.

1. It also converts ico to png. Why?
2. The code does not specifies the type of file.

Here is what they write in support of the Webmaster.

I checked the situation with the favicons. Now in the code of your website spelled out the favicons to the /wp-content/uploads/2019/05/favicon.png in PNG format. In this case, the line of code you need to add type="image/png".


That is, the file type, especially if different from ico, is required. - gideon.Trant commented on March 23rd 20 at 19:25
@gideon.Trant, put your ico in the website root and do not suffer it anymore with an obsolete format. - keira_Reinger commented on March 23rd 20 at 19:28
@keira_Reinger, I did. Ico is out of date? - gideon.Trant commented on March 23rd 20 at 19:31
@gideon.Trant, https://www.ashmanov.com/education/articles/faviko...
Ashmanov says that the most popular now PNG, on the approach of SVG. - keira_Reinger commented on March 23rd 20 at 19:34
@gideon.Trant, ico in the root is only needed by some old customers, some browsers ask for this file by default, along with sending the main query. I have this ico in the first place throw in the root, so the logs fell 404ะต error that its not there. - Kiar commented on March 23rd 20 at 19:37
@keira_Reinger, the article read, thanks. It turns out, you need to place all the options - there are at least 4, and the device, browser or search robot will choose first what suits them, and if you can't find your size, then take it there? - gideon.Trant commented on March 23rd 20 at 19:40
March 23rd 20 at 19:21
To load and display the icon on the website it is the task of the student. Don't know what motivated the developers of Wordpress, even such a primitive task managed to inflate and make the people the problem. My brain doesn't understand why they are choosing a difficult path instead of a simple. Amazing CMS.

I fear that there is awesome you are, not CMS. First learn the materiel, and then indignant. Some clients require a favicon.ico in the site root with such a name, in format .ico. Some customers require a higher quality image, there are already supported different sizes, different formats, etc. These formats WordPress generates, so I don't have the handles to create them. To make it clearer why this "zoo" - icon is used in the search in browser tab, on mobile, if you install/save the page to your home screen, the tiles in microsoft products and so on. Different devices expect different format, different size and often even a specific meta tag.

To cover the maximum number of use cases need to upload a 512x512 PNG in the admin + to put a 16x16 or 32x32 favicon.ico in the site root (not in wp-content, not in root of the theme, and that is at the root of the site - where index.php and wp-config.php).
I fear that there is awesome you are, not CMS. First learn the materiel, and then indignant.

When you suddenly decide that you can shush me? I Express my opinion when I want.

Moreover, even after your clarification I still think that the download icons in wordpress can be made more flexible than it is now. From my first post it is clear that Yandex does not see the icon if the tag is not specified the file type. Maybe, after all, the materiel need to learn developers? - gideon.Trant commented on March 23rd 20 at 19:24
@gideon.Trant,
When you suddenly decide that you can shush me? I Express my opinion when I want.

I do exactly the same - Express my opinion when I want. What is the claim?

Moreover, even after your clarification I still think that the download icons in wordpress can be made more flexible than it is now.

You can take it as you want. Download of the icons in WP is implemented adequately.

From my first post it is clear that Yandex does not see the icon if the tag is not specified the file type.

This is a problem exclusively with Yandex. For some reason, neither google nor bing or duckduckgo or others do not interfere. Actually it shouldn't, technically, this requirement of Yandex should be used only if the head of the document is a reference to the favicon icon.png in the root, which replaces the favicon.ico -
<link rel="icon" href="favicon.png" sizes="16x16" type="image/png">
- then you need to specify the type. But if at the root, and so physically lies favicon.ico, Yandex, like any customer, have to get it without any dances with a tambourine.

Maybe, after all, the materiel need to learn developers?

You mean the developers of WordPress? - Kiar commented on March 23rd 20 at 19:27
@gideon.Trant, is clear. Can no longer post questions here, I personally will not answer and advise others not to. You managed to insult the host special for WordPress. - keira_Reinger commented on March 23rd 20 at 19:30
@keira_Reinger,
Can no longer post questions here, I personally will not answer and advise others not to.

Excuse me, I'll decide to ask me questions or not. You don't have to answer them, that is your right. About to advise others leave it to their discretion. In you I see the desire to advise others what to do - to post or not to post questions, answer them or not answer. I do not find anything strange? It is an occasion to think about the true motivation of this desire.

You managed to insult the host special for WordPress.

Your special did very incorrect. If you support it, it says something about you. Please note that I have no complaints arose. I'm even surprised by your support of special, as you rushed to protect him. - gideon.Trant commented on March 23rd 20 at 19:33
@gideon.Trant, You log in your own eye not see? What is it that I offended you so? Can you give an example
received very ill
? You are not targeting the issue, not just asking the Board what to do, and trying to pour people (by the way, is much smarter and more experienced than you and me) that "why do it". Based on your style of question, get the same style answer. And from squabbles to throw. - Kiar commented on March 23rd 20 at 19:36
@Kiar,
I do exactly the same - Express my opinion when I want. What is the claim?

Perhaps you don't quite understand the difference between opinion and trespassing. I'll try to explain.

I fear that there is awesome you are, not CMS.

1. Here, indeed, there is opinion, but go to the person in a negative light immediately lowers the level of discussion. Next time when you want to give someone a rating, remember this.

First learn the materiel, and then indignant.

2. Here opinion is no, I hope it's obvious. This form of policy statements, a priori, sets its author higher because he decided he has the right to specify what, who and when to do it. In fact, you forbade me to speak until, until you study the basics, that is, gagged me. On what basis you gave themselves such powers is not clear to me.

And go to the person, and Directive form of communication - a violation of boundaries. I perfectly understand why you are in this form answered - you assert themselves. Elevated himself, others humiliated - profit. It's easier, but not efficiently. This method is destructive, toxic.

Like there was any other way to respond to my criticism of Worpdress? For example, to ask more how I would have designed the function of loading icons for the site. However, your goal was not to talk about Wordpress, and click my nose to indicate my place.

Because I'm good with psychology, then I anticipate your reply - all of you will deny you even in a head will not come to apologize for my sharpness, but it's the easiest way, constructive and environmentally friendly. - gideon.Trant commented on March 23rd 20 at 19:39
@Kiar,

And from squabbles to throw.

First, I'm not offended, and defend their borders, that you break.

You are not targeting the issue, not just asking the Board what to do, and trying to pour people (by the way, is much smarter and more experienced than you and me) that "why do it".

People I watered, and watered CMS. As you understand that they are smarter than me? I think I'm smarter, because it would make this boot more flexible. In your opinion, once they invented Worpdress, so they now need to bow? Maybe they this feature back foot wrote, but there was, and how it works and how much discomfort to users they do not care. - gideon.Trant commented on March 23rd 20 at 19:42
@gideon.Trant,
IMHO (now it counts as a view, right?)
you sick leftist liberastov, you transgender and other millenialism sugar characters need to hang out and discuss who and how someone was offended, saying something the wrong tone. I have a deep purple your knowledge in psychology, and certainly I see no reason to apologize. Similarly, I violet you, your comfort or discomfort, and so on. You came, threw on a CMS, thereby throwing thousands of contributors, which this CMS has been done for you, at your expense, for free. I have said plus or minus in a similar manner. At the same time, unlike you, have reinforced this argument, and you instead of substantive discussions nagging lit for what other people with lots of experience, tried to steer you in the right direction. But apparently, not in the tone it did, on waste!

You are smarter than that. You are not qualified in this matter. Point.
/IMHO ended

This is the Internet, you can send nayuh. (C)
If it hurts - go. Nobody will notice, nobody cares.

And read it here, especially the section "do Not claim that you have found a mistake." Will save you and others a lot of time and nerves in future. - Kiar commented on March 23rd 20 at 19:45
@Kiar, you are as predictable as the old Soviet film. All according to plan - denial, increased aggression, humiliation turning into insults. I'm not going to take your training to the next stage. All the best! - gideon.Trant commented on March 23rd 20 at 19:48
@gideon.Trant, source.gif - Kiar commented on March 23rd 20 at 19:51

Find more questions by tags WordPress