This question already has an answer here:
- How do I temporarily disable a website? 2 answers
I've to do some big works to my website, so I've to put it offline for some hours, but I don't want to lose my rank in google. I've read this tutorial: http://www.branded3.com/blogs/handle-googlebot-during-site-downtime/ This is the correct procedure, right?
I've also another question. Where should I put this code?
<?php header("HTTP/1.1 503 Service Temporarily Unavailable"); header("Status: 503 Service Temporarily Unavailable"); header("Retry-After: 3600"); php?>
In the index.php, ora in a new page named errorpage.php in the root? Google will find this automatically?