John Mueller of Google told the best way to appropriately shut down a web page or website for a day, in a Webmaster Central blog. These tips are the best layout i.e. the right approach to briefly close a website without having any effect on its search.
Disable Shopping Cart Functionality
In the event, that an online business website needs to keep away individuals from making a purchase, then according to the Mueller’s proposal it is recommended to disable the functionality of Shopping Cart. It is likewise prescribed to block the web page of the shopping cart from being slithered through the robots.txt document or obstructed from indexing with a robot Meta tag.
Utilize Pop-Up to Block Visitors
If you are looking forward to block the whole website from the visitors, then Mueller suggests that utilizing a pop-up to impart the website is temporarily inaccessible. And the server ought to give back a 503 HTTP code i.e. (“Service Unavailable”) so that Google will not index the impermanent content. It’s advised to utilize a 503 HTTP Code by the server for up to seven days so that Google will drop the contents from indexed lists
Turn Off the Whole Website
Another safer choice provided according to the Mueller is to turn off the entire server if you have a transitory server for all URLs that will give 503 HTTP result code. Moreover, it’s prescribed to change your DNS to indicate that server amid that time.
Learn the following steps provided by the Mueller to switch DNS to the server: –
- Firstly you need to set your DNS TTL to a low time, (for e.g. 5 min).
- Now change the DNS to the impermanent server’s IP address.
- Once all solicitations have been gone to the temporary server, disconnect your main server.
- Your server has been disconnected now.
- Connect your main server again.
- Now switch the DNS back to the IP address of your main server.
- Turn the DNS TTL back to normal.
In the event, that you have your own local business and it will be closed all through a similar time duration when your website will be down, then it’s prescribed to change the opening hours in your local postings to mirror the conclusion.