This simple plugin creates a
/health endpoint to let you monitor the status of your WordPress website. The endpoint tests the status of your database connection and returns a
200 OK HTTP status code while your page is healthy. You can read more on HTTP status codes at the Wikipedia article.
External tools such as website monitoring services can access the exposed endpoint at regular intervals. This can help you verify that your WordPress website is performing correctly.
This plugin is being developed on GitHub. If you want to collaborate, feel free to submit pull requests or report bugs on the issue tracker.
Log in to your “WordPress dashboard”, navigate to the “Plugins” menu, and click “Add New.”
In the search field type “Health Endpoint,” then click “Search Plugins.”
Once you’ve found it, you can install it by clicking “Install Now,” and WordPress will take it from there.
Unzip all the files to your
Log in to your “WordPress dashboard” and activate the “Health Endpoint” plugin from the “Plugins” page.
- Tested with the latest WordPress release (5.8.1).
- Initial release.