¿La página de mantenimiento de servicio en el sitio web, afectará la indexación de Google?

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

  •  14-11-2019
  •  | 
  •  

Pregunta

No creo que este sea un problema, pero mi compañero le preocupa que solo sirve una página de mantenimiento durante 24 horas (como necesitamos restaurar la base de datos, como se eliminó accidentalmente) que podría tener un efecto negativo en nuestro Googleíndice / calificación?

¿Fue útil?

Solución

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.

Otros consejos

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top