Pagina di manutenzione del servizio sul sito Web, influenzerà l'indicizzazione di Google?

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

  •  14-11-2019
  •  | 
  •  

Domanda

Non penso che questo sia un problema, ma il mio partner è preoccupato che servendo solo una pagina di manutenzione per 24 ore (poiché dobbiamo ripristinare il database come accidentalmente cancellato) che potrebbe avere un effetto negativo sul nostro GoogleIndice / valutazione?

È stato utile?

Soluzione

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.

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top