K
K
Ken Jee2016-12-05 11:35:13
Yii
Ken Jee, 2016-12-05 11:35:13

How to disable HTTPS in Yii2?

Somehow Yandex indexed the site via HTTPS. Although there is no certificate. Actually, nowhere on the site there are even links using the https protocol (neither in htaccess, nor in robots.txt, nor anywhere else) ... Tell me how to show Yandex so that it stops indexing the site as HTTPS?
Website engine: Yii2
Hosting: Ru-Center

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Ivashchenko, 2016-12-05
@ivaschenko

In robots.txt do?
User-agent: *
Host: site.ru
instead of site.ru substitute your domain
domain without specifying the protocol tells search engines that the main version of the site without https and it is necessary to index it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question