Вячеслав Русаков Posted February 28, 2018 Report Share Posted February 28, 2018 Всем доброго времени суток. У меня такая проблема, очень давно запретил в robots.txt заход роботам в теги на страницы вида "site.ru/tags/" несколько месяцев назад я в robots написал вместо disallow - Allow Allow: /*&search_tags= Allow: /tags/ Но в вебмастере показывает, что станицы эти запрещены тегом noindex Может быть это не связано с роботом? через код или еще как то можно разрешить? Quote Link to comment Share on other sites More sharing options...
Вячеслав Русаков Posted February 28, 2018 Author Report Share Posted February 28, 2018 Уже разобрался. Тему можно закрыть Quote Link to comment Share on other sites More sharing options...
WOLF Posted February 28, 2018 Report Share Posted February 28, 2018 16 минут назад, Вячеслав Русаков сказал: Уже разобрался. Тему можно закрыть Так опиши людям решение Quote Link to comment Share on other sites More sharing options...
Onore Posted February 28, 2018 Report Share Posted February 28, 2018 Опишу за него (скорее всего даже правильно) Вебмастер проверяет robots.txt через некоторое время, а не сразу после его изменения. Quote Link to comment Share on other sites More sharing options...
Вячеслав Русаков Posted March 1, 2018 Author Report Share Posted March 1, 2018 файл /applications/core/modules/front/search/search.php \IPS\Output::i()->metaTags['robots'] = 'noindex'; Я эту строчку убрал Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.