Quantcast
Viewing all articles
Browse latest Browse all 65051

http error 500 on pages when on maintenance

Replies: 0

Hi,

When activating the “maintenance mode” and then visiting a page i.e. https://example.com/testpage it returns a http 500 response and shows the maintenance page. On the frontpage it shows a 200.

I believe this is wrong as the correct http status code should be 503 according to RFC7231: https://tools.ietf.org/html/rfc7231#section-6.6.4

Though, I know many other maintenance plugins lets users specify if the either want a 503 or just a 200 (Repsonse OK).

Hope this will help make the plugin even better.


Viewing all articles
Browse latest Browse all 65051

Trending Articles