I am having a website which I'm planning to keep in maintenance mode for about 2 days without losing SEO ranking. According to Google blog post, we can do this by having a
503 Service Temporarily Unavailable with
I have used the following code in
.htaccess file in the root directory (for 503).
My problem: How to use the Retry-After header. Can anyone help me with this?
ErrorDocument 503 "Our website is temporarily closed for maintenance." RewriteEngine On RewriteRule .* - [R=503,L]