{"id":24968,"date":"2017-02-28T00:00:00","date_gmt":"2017-02-28T00:00:00","guid":{"rendered":"https:\/\/alienroad.com\/google-bilgi-bankasi\/closing-down-for-a-day\/"},"modified":"2017-02-28T00:00:00","modified_gmt":"2017-02-28T00:00:00","slug":"closing-down-for-a-day","status":"publish","type":"ar_kb","link":"https:\/\/alienroad.com\/google-bilgi-bankasi\/closing-down-for-a-day\/","title":{"rendered":"Closing down for a day"},"content":{"rendered":"<p class=\"gargardate\">Tuesday, February 28, 2017<\/p>\n<aside class=\"note\">\n  This post is specific to Google&#8217;s organic web-search. For Google&#8217;s other services, please check<br \/>\n  with the appropriate help center (for example, for<br \/>\n  <a href=\"https:\/\/support.google.com\/merchants\/answer\/6337960\" class=\"external-link\">Google Shopping<\/a>)<br \/>\n  or help forum.<br \/>\n<\/aside>\n<p>\n  Even in today&#8217;s &#8220;always-on&#8221; world, sometimes businesses want to take a break. There are times when<br \/>\n  even their online presence needs to be paused. This blog post covers some of the available options<br \/>\n  so that a site&#8217;s search presence isn&#8217;t affected.\n<\/p>\n<p><img decoding=\"async\" alt height=\"275\" src=\"https:\/\/alienroad.com\/wp-content\/uploads\/kb-gorsel\/g-8fb05f8ee828.png\" loading=\"lazy\" width=\"400\"><\/p>\n<h2 id=\"option:-block-cart-functionality\" tabindex=\"-1\">Option: Block cart functionality<\/h2>\n<p>\n  If a site only needs to block users from buying things, the simplest approach is to disable that<br \/>\n  specific functionality. In most cases, shopping cart pages can either be blocked from crawling<br \/>\n  through the<br \/>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/robots-txt-intro\/\">robots.txt file<\/a>, or blocked from indexing with a<br \/>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/block-search-indexing-with-noindex\/\"><span>robots<\/span> <code>meta<\/code> tag<\/a>. Since search engines<br \/>\n  either won&#8217;t see or index that content, you can communicate this to users in an appropriate way.<br \/>\n  For example, you may disable the link to the cart, add a relevant message, or display an<br \/>\n  informational page instead of the cart.\n<\/p>\n<h2 id=\"option:-always-show-interstitial-or-pop-up\" tabindex=\"-1\">Option: Always show interstitial or pop-up<\/h2>\n<p>\n  If you need to block the whole site from users, be it with a &#8220;temporarily unavailable&#8221; message,<br \/>\n  informational page, or popup, the server should return a<br \/>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/how-to-deal-with-planned-site-downtime\/\"><code>503<\/code> HTTP result code<\/a><br \/>\n  (&#8220;<code>Service Unavailable<\/code>&#8220;). The <code>503<\/code> result code makes sure that Google<br \/>\n  doesn&#8217;t index the temporary content that&#8217;s shown to users. Without the <code>503<\/code> result<br \/>\n  code, the interstitial would be indexed as your website&#8217;s content.\n<\/p>\n<p>\n  Googlebot will retry pages that return <code>503<\/code> for up to about a week, before treating it<br \/>\n  as a permanent error that can result in those pages being dropped from the search results. You can<br \/>\n  also include a<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  to indicate how long the site will be unavailable. Blocking a site for longer than a week can have<br \/>\n  negative effects on the site&#8217;s search results regardless of the method that you use.\n<\/p>\n<h2 id=\"option:-switch-whole-website-off\" tabindex=\"-1\">Option: Switch whole website off<\/h2>\n<p>\n  Turning the server off completely is another option. You might also do this if you&#8217;re physically<br \/>\n  moving your server to a different data center. For this, have a temporary server available to<br \/>\n  serve a<br \/>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/how-to-deal-with-planned-site-downtime\/\"><code>503<\/code> HTTP result code<\/a><br \/>\n  for all URLs (with an appropriate informational page for users), and switch your DNS to point to<br \/>\n  that server during that time.\n  <\/p>\n<ol>\n<li>\n    Set your<br \/>\n    <a href=\"https:\/\/en.wikipedia.org\/wiki\/Time_to_live#DNS_records\" class=\"external-link\">DNS TTL<\/a><br \/>\n    to a low time (such as 5 minutes) a few days in advance.\n  <\/li>\n<li>Change the DNS to the temporary server&#8217;s IP address.<\/li>\n<li>Take your main server offline once all requests go to the temporary server.<\/li>\n<li>Your server is now offline &#8230;\n  <\/li>\n<li>When ready, bring your main server online again.<\/li>\n<li>Switch DNS back to the main server&#8217;s IP address.<\/li>\n<li>Change the DNS TTL back to normal.<\/li>\n<\/ol>\n<p>\n  We hope these options cover the common situations where you&#8217;d need to disable your website<br \/>\n  temporarily. If you have any questions, you can drop by our webmaster help forums!\n<\/p>\n<p>\n  PS: If your business is active locally, make sure to reflect these closures in the<br \/>\n  <a href=\"https:\/\/support.google.com\/business\/answer\/6303076\" class=\"external-link\">opening hours<\/a><br \/>\n  for your local listings too!\n<\/p>\n<p class=\"byline-author\">\n  Posted by<br \/>\n  <a href=\"https:\/\/johnmu.com\/\" class=\"external-link\">John Mueller<\/a>, Webmaster Trends<br \/>\n  Analyst, Switzerland<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tuesday, February 28, 2017 This post is specific to Google&#8217;s organic web-search. For Google&#8217;s other services, please check with the appropriate help center (for example, for Google Shopping) or help forum. Even in today&#8217;s &#8220;always-on&#8221; world, sometimes businesses want to take a break. There are times when even their online presence needs to be paused. [&hellip;]<\/p>\n","protected":false},"menu_order":82775,"template":"","meta":{"footnotes":""},"ar_kb_kategori":[665],"ar_kb_etiket":[],"class_list":["post-24968","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\/24968","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\/24968\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/27132"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=24968"}],"wp:term":[{"taxonomy":"ar_kb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_kategori?post=24968"},{"taxonomy":"ar_kb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_etiket?post=24968"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}