> For the complete documentation index, see [llms.txt](https://metabolism.gitbook.io/symfony-wordpress-bundle/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://metabolism.gitbook.io/symfony-wordpress-bundle/guides/site-health.md).

# 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

![](https://2528877867-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZhdVRcuWfQoG77xbyM8p%2Fuploads%2F4m2EiVcz2Km1Dvn4uZAq%2FScreenshot%20from%202022-03-05%2016-10-44.png?alt=media\&token=5321b273-f213-491b-bae6-78de2a003401)

#### /\_site-health?output=json

```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
