Сервировка страницы обслуживания на сайте, повлияет на индексацию Google?
-
14-11-2019 - |
Вопрос
Я не думаю, что это проблема, но мой партнер беспокоится, что только обслуживая страницу обслуживания в течение 24 часов (так как нам нужно восстановить базу данных, как было случайно удалено), что он может иметь негативное влияние на наш GoogleИндекс / рейтинг?
Решение
I would follow Google’s recommendations on blacking out your website to protest SOPA. Specifically:
- Return a
503 Service Unavailable
status code for pages which are unavailable. - Make sure that
robots.txt
does not return a 503 status code.
Другие советы
I believe the best way to deal with this is throwing an error code 503 Service Unavailable and use a custom error document to style it more friendly.
You could exclude it from crawlers like Google's by using a robots.txt file in the root of the site for that 24 hour period.
to be sure that there are no problems, you should serve your page using the 503 Service Temporarily Unavailable status. Retry-After can also be set, but i am not sure if the google crawlers care about that.