ウェブサイト上のサービスメンテナンスページには、Googleの索引付けに影響しますか?

StackOverflow https://stackoverflow.com/questions/9024909

  •  14-11-2019
  •  | 
  •  

質問

これは問題ではありませんが、私のパートナーは24時間のメンテナンスページにのみサービスを提供することによって(私たちが誤って削除されたようにデータベースを復元する必要があるので)私たちのGoogleに悪影響を及ぼす可能性があることを心配しています。インデックス/レーティング?

役に立ちましたか?

解決

I would follow Google’s recommendations on blacking out your website to protest SOPA. Specifically:

  1. Return a 503 Service Unavailable status code for pages which are unavailable.
  2. 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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top