
Closing for a while: should I take my website offline?
"We're shutting for renovation or a holiday. Can I switch the site off without losing my place on Google?"
Google has guidance on pausing an online business. For a temporary pause, it recommends keeping your site online and limiting what it can do.
Keep the site up and limit what it does
One example is to disable checkout while visitors can still browse. People can still look around, but they cannot place an order you are not able to handle.
Apply the same thinking to your own site. List the things a visitor can do on it, such as ordering, booking or paying. Then decide which of those need to be switched off while you are away, and which pages can stay as they are.
It also makes sense to say clearly on the site that you are closed or running a reduced service, and when you expect to be back.
Why not switch it off completely?
Google describes completely disabling a site as an extreme measure that should only be taken for a very short period, a few days at most.
It also warns that removing a site completely from Google's index is a significant change that can take quite some time to recover from. The index is what Google draws on to show pages in Search.
If you must go offline for a day or two
If you urgently need to disable your site for one to two days, Google says to return an informational error page with a 503 HTTP status code. A status code is the number your web server sends back along with a page.
A page that only says "closed" on screen is not enough to tell you which code is being sent, so ask whoever looks after your website to set the 503 and check it.
There is one important exception. Google says not to return a 503 status for your robots.txt file, because that blocks all crawling. Make sure this is covered when the error page is set up.
If the closure is longer
For a longer shutdown, a 503 page is not the tool to reach for. Google advises providing a placeholder home page that can be indexed and returns a 200 status, so people can still find you in Search.
A useful placeholder could tell visitors:
- that you are closed for now
- when you expect to reopen, if you know
- how to contact you in the meantime
Update your opening hours and structured data
Google advises updating your structured data during a pause. Structured data is information added to a page in a set format that search engines can read.
For a business with premises, that includes Local Business markup, updated so it reflects your current opening hours. If you are not sure whether your site has this markup, ask your web developer to check before you close.
A simple checklist before you close
- 1Keep the site online if you can.
- 2Switch off checkout or other functions you cannot support.
- 3Add a clear notice about the closure.
- 4Update your structured data, including opening hours.
- 5If the site has to be disabled urgently for one to two days, use a 503 error page, but not on robots.txt.
- 6For a longer shutdown, put up an indexable placeholder home page with a 200 status.
When you reopen
Undo each temporary change. Switch your functions back on, remove the closure notice, restore your normal opening hours in your structured data, and check that no page is still returning a 503.
If you would like help preparing your website for a break, get in touch.
Continue Reading
Discover more insights and stories


