Answer the question
In order to leave comments, you need to log in
What protocol should be specified in robots.txt when switching to HTTPS?
Yandex, which, unfortunately, drags out the site mirror change for months,
writes that you need to specify the host directive in Robots.txt :
platon.ya.ru/replies.xml?item_no=2778
But says nothing about Sitemap . Is it worth changing the protocol in it to https until he changed the mirror?
User-agent: *
Disallow:
Sitemap: http://example.com/sitemap.xml
User-agent: Yandex
Host: https://example.com
Sitemap: http://example.com/sitemap.xml
Answer the question
In order to leave comments, you need to log in
And what is the point of specifying a sitemap using the usual protocol?
I believe that the link to the sitemap should be with https.
Good morning. The answer to your question is DATETIME. The rest, including partitioning, organize through logic.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question