Answer the question
In order to leave comments, you need to log in
Why Yandex swears at the site's work file?
Hello.
Error in webmaster panel:
Inconsistent Host
directive was specified in the robots.txt file The Host directive specified a domain where there are no similar instructions in the robots.txt file. In order for the instructions of the Host directive to be taken into account, identical directives must be present in the robots.txt files of all site mirrors.
The site itself works via https - the redirect from http to https is configured via nginx.
User-agent: *
Allow: /
Disallow: /profile
Disallow: /auth
Disallow: /forum_new_topic
Host: site.ru
Answer the question
In order to leave comments, you need to log in
Host: https://site.ru
Since there is a redirect, there is no robots.txt on site.ru at all, and it swears at this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question