{"id":24478,"date":"2011-01-25T00:00:00","date_gmt":"2011-01-25T00:00:00","guid":{"rendered":"https:\/\/alienroad.com\/google-bilgi-bankasi\/how-to-deal-with-planned-site-downtime\/"},"modified":"2011-01-25T00:00:00","modified_gmt":"2011-01-25T00:00:00","slug":"how-to-deal-with-planned-site-downtime","status":"publish","type":"ar_kb","link":"https:\/\/alienroad.com\/google-bilgi-bankasi\/how-to-deal-with-planned-site-downtime\/","title":{"rendered":"How to deal with planned site downtime"},"content":{"rendered":"<p class=\"gargardate\">Tuesday, January 25, 2011<\/p>\n<aside class=\"key-point\">It&#8217;s been a while since we published this blog post. Some of the information may be outdated (for example, some images may be missing, and some links may not work anymore). Check out our<br \/>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/temporarily-pause-or-disable-a-website\/#best-practices-disabling-site\">best practices for temporarily disabling a site<\/a>.<\/aside>\n<p>\n  Once in a while we get asked whether a site&#8217;s visibility in Google&#8217;s search results can be impacted<br \/>\n  in a negative way if it&#8217;s unavailable when Googlebot tries to crawl it. Sometimes downtime is<br \/>\n  unavoidable: a site owner might decide to take a site down due to ongoing site maintenance, or<br \/>\n  legal or cultural requirements. Outages that are not clearly marked as such can negatively affect<br \/>\n  a site&#8217;s reputation. While we cannot guarantee any crawling, indexing or ranking, there are<br \/>\n  methods to deal with planned website downtime in a way that will generally not negatively affect<br \/>\n  your site&#8217;s visibility in the search results.\n<\/p>\n<p>\n  For example, instead of returning an HTTP result code<br \/>\n  <a href=\"https:\/\/en.wikipedia.org\/wiki\/HTTP_404\" class=\"external-link\"><code>404 (Not Found)<\/code><\/a><br \/>\n  or showing an error page with the status code <code>200 (OK)<\/code> when a page is requested,<br \/>\n  it&#8217;s better to return a <code>503<\/code> HTTP result code (Service Unavailable) which tells search<br \/>\n  engine crawlers that the downtime is temporary. Moreover, it allows site owners to provide<br \/>\n  visitors and bots with an estimated time when the site will be up and running again. If known, the<br \/>\n  length of the downtime in seconds or the estimated date and time when the downtime will be<br \/>\n  complete can be specified in an optional<br \/>\n  <a href=\"https:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec14.html#sec14.37\" class=\"external-link\"><code>Retry-After<\/code> header<\/a>,<br \/>\n  which Googlebot may use to determine when to recrawl the URL.\n<\/p>\n<p>\n  Returning a <code>503<\/code> HTTP result code can be a great solution for a number of other<br \/>\n  situations. We encounter a lot of problems with sites that return <code>200 (OK)<\/code> result<br \/>\n  codes for server errors, downtime, bandwidth-overruns or for temporary placeholder pages<br \/>\n  (&#8220;Under Construction&#8221;). The <code>503<\/code> HTTP result code is the site owner&#8217;s solution of<br \/>\n  choice for all these situations. As for planned server downtime like hardware maintenance, it&#8217;s a<br \/>\n  good idea to have a separate server available to actually return the <code>503<\/code> HTTP result<br \/>\n  code. It is important, however, to not treat <code>503<\/code> as a permanent solution: lasting<br \/>\n  <code>503<\/code> HTTP result codes can eventually be seen as a sign that the server is now<br \/>\n  permanently unavailable and can result in us removing URLs from Google&#8217;s index.\n<\/p>\n<p>\n  If you set up a <code>503 (Service Unavailable)<\/code> response, the header information might look<br \/>\n  like this when using PHP:\n<\/p>\n<div><\/div>\n<p>\n  Similar to how you can<br \/>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/how-http-status-codes-affect-googles-crawlers\/#pagegone\">make <code>404<\/code> pages more useful to users<\/a>,<br \/>\n  it&#8217;s also a good idea to provide a customized <code>503<\/code> message explaining the situation to<br \/>\n  users and letting them know when the site will be available again. For further information<br \/>\n  regarding HTTP result codes, please see<br \/>\n  <a href=\"https:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec10\" class=\"external-link\">RFC 2616<\/a>.\n<\/p>\n<p class=\"byline-author\">\n  Posted by Tomer Honen and<br \/>\n  <a href=\"https:\/\/plus.google.com\/105501965108087246894\/about\" rel=\"author\" class=\"external-link\">Kaspar Szymanski<\/a>,<br \/>\n  Search Quality Team, Dublin<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tuesday, January 25, 2011 It&#8217;s been a while since we published this blog post. Some of the information may be outdated (for example, some images may be missing, and some links may not work anymore). Check out our best practices for temporarily disabling a site. Once in a while we get asked whether a site&#8217;s [&hellip;]<\/p>\n","protected":false},"menu_order":85001,"template":"","meta":{"footnotes":""},"ar_kb_kategori":[665],"ar_kb_etiket":[],"class_list":["post-24478","ar_kb","type-ar_kb","status-publish","has-post-thumbnail","hentry","ar_kb_kategori-blog"],"_links":{"self":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/24478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb"}],"about":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/types\/ar_kb"}],"version-history":[{"count":0,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/24478\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/26842"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=24478"}],"wp:term":[{"taxonomy":"ar_kb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_kategori?post=24478"},{"taxonomy":"ar_kb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_etiket?post=24478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}