lukasjuhas / lj-maintenance-mode

Simple maintenance mode wordpress plugin.
https://plugins.itsluk.as/maintenance-mode/
24 stars 11 forks source link

Add 503 status code to maintenance mode. #9

Closed jkomar closed 9 years ago

jkomar commented 9 years ago

Currently lj-maintenance-mode sends a '500 Server Error' as a status code. This change sends a '503 Service Unavailable' instead which would be more desirable as it should not affect search engine indexing. The 503 would tell the search engine spiders that the server is temporarily unavailable and they should come back later.

Love the plugin by the way.

Thanks, Jason Komar

lukasjuhas commented 9 years ago

@jkomar Thank you very much Jason, good call! I feel dumb missing things like this sometimes. ha!

Lukas