Site health
Wordpress bundle add an additional route designed to get site health data
Wordpress will load last page, post and term to check status, content and timing
Usage
/_site-health?output=1

/_site-health?output=json
{
"pages": [
{
"label": "Post post",
"url": "/hello-world",
"code": 200,
"response_time": 43,
"empty": false,
"body": true,
"valid": true
},
{
"label": "Post page",
"url": "/my-page",
"code": 200,
"response_time": 36,
"empty": false,
"body": true,
"valid": true
},
{
"label": "Post guide archive",
"url": "/guide",
"code": 200,
"response_time": 34,
"empty": false,
"body": true,
"valid": true
},
{
"label": "Home",
"url": "/",
"code": 200,
"response_time": 38,
"empty": false,
"body": true,
"valid": true
}
],
"ip": "127.0.0.1",
"env": "dev",
"debug": true,
"has_error": false,
"title": "Demo",
"language": "en-US"
}
Check all pages
Add full=1
to check all pages
App token
Add an APP_TOKEN
in the environment to secure url access, add token
as url parameter to grant access
Last updated
Was this helpful?