K
K
kriulin-anton2015-06-07 20:34:42
css
kriulin-anton, 2015-06-07 20:34:42

When the online store is switched to https, the favicon.ico icon is no longer displayed in Yandex. How to return the display?

I really don't want to move back because of this. How to be?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Z
zooks, 2015-06-07
@zooks

You should make sure that when transmitting a favicon, the HTTP headers returned by the web server specify the correct type of transmitted data — Content-Type:
image/x-icon or images/vnd.microsoft.icon for the ICO format;

help.yandex.ru/webmaster/search-results/favicon.xml
Check if the protocol is specified correctly in the page code and http headers.

K
kriulin-anton, 2015-06-08
@kriulin-anton

That's what it says in the template. But the fact is that now the icon is available only as https://site.ru/favicon.ico
When accessed via http, a 301 redirect occurs. As far as I know, Yandex does not index pictures over SSL. Is it possible to replace the icon with png and register access as
https://site.ru/favicon.png , will it be displayed? Or is there another way?

Y
Yuri Kudrenko, 2015-06-08
@marina_k

When switching to https, it would be more correct to leave all images that should be indexed on http.
Here, on Alaich's blog , there is an excellent comment that gives an elegant solution to the issue.
I'll quote it here for convenience:

I found an elegant solution to configure the server to issue two different robots.txt for different versions of the site
RewriteEngine on
RewriteCond %{SERVER_PORT} ^443$
RewriteRule ^robots\.txt$ robots_ssl.txt [L]
more details here (in English) www.creare.co .uk/http-vs-https-duplicate-content

And of course, you must not forget to specify the main mirror in Ya.webmaster and Google.Webmaster.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question