A
A
Alexander Konovalov2016-03-09 22:29:34
Search Engine Optimization
Alexander Konovalov, 2016-03-09 22:29:34

How to fill in host correctly?

Hello, I had a site - site.ru, then I added www.site.ru to it, then I put https://site.ru , and the old site.ru remained in Yandex. How to correctly fill in the host in robots for Yandex, otherwise he cut me out of the search?
Host: site.ru
or
Host: https://www.site.ru

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Borzov, 2016-03-09
@Huf

The Host directive must contain:
An indication of the HTTPS protocol, if the mirror is available only via a secure channel (Host: https://myhost.ru).
https://yandex.ru/support/webmaster/controlling-ro...
And leave only one main mirror - either www.site.ru or site.ru, set up a 301 redirect from the other.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question