1.3.17

Google Official Tips On Closing A Site For Days (For Maybe Shabbat)

Google Closed Locked

We've talked a lot about sites that close down once a week or more for religious purposes, specifically closing on Shabbat. We were concerned about how GoogleBot handles it, will rankings drop and what about sites that show interstitials as a message to their customers about being closed, will they be hit by the penalty?

Well, Google's John Mueller who has been fielding most of these questions wrote on the Google blog closing down for the day and three options webmasters have for dealing with such issues. So these are the official recommendations from Google on how to handle Shabbat and other concerns for being offline.

Here is what Google wrote:

Option: Block cart functionality

If a site only needs to block users from buying things, the simplest approach is to disable that specific functionality. In most cases, shopping cart pages can either be blocked from crawling through the robots.txt file, or blocked from indexing with a robots meta tag. Since search engines either won't see or index that content, you can communicate this to users in an appropriate way. For example, you may disable the link to the cart, add a relevant message, or display an informational page instead of the cart.

Option: Always show interstitial or pop-up

If you need to block the whole site from users, be it with a "temporarily unavailable" message, informational page, or popup, the server should return a 503 HTTP result code ("Service Unavailable"). The 503 result code makes sure that Google doesn't index the temporary content that's shown to users. Without the 503 result code, the interstitial would be indexed as your website's content.

Googlebot will retry pages that return 503 for up to about a week, before treating it as a permanent error that can result in those pages being dropped from the search results. You can also include a "Retry after" header to indicate how long the site will be unavailable. Blocking a site for longer than a week can have negative effects on the site's search results regardless of the method that you use.

Option: Switch whole website off

Turning the server off completely is another option. You might also do this if you're physically moving your server to a different data center. For this, have a temporary server available to serve a 503 HTTP result code for all URLs (with an appropriate informational page for users), and switch your DNS to point to that server during that time.

  1. Set your DNS TTL to a low time (such as 5 minutes) a few days in advance.
  2. Change the DNS to the temporary server's IP address.
  3. Take your main server offline once all requests go to the temporary server.
  4. … your server is now offline ...
  5. When ready, bring your main server online again.
  6. Switch DNS back to the main server's IP address.
  7. Change the DNS TTL back to normal.

Thank you John for putting this together!

Forum discussion at Twitter.



from Search Engine Roundtable http://ift.tt/2lTtNg3
via IFTTT

No comments:

Post a Comment