5

Google recommends returning a 503 HTTP response when a site is temporarily unavailable.

I have a few plain HTML Sites. How do I return 503 status in plain HTML sites?

I'm on a Linux box with Apache.

1

1 Answer 1

5

You have to set the status code on the sever and not in your HTML files.

Sign up to request clarification or add additional context in comments.

1 Comment

Exactly. If the server is able to send HTML files to the user, it is not temporarily unavailable by definition!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.