Validate an IndexNow key
validate_indexnow_keyChecks an IndexNow key against the protocol schema (length, character set) and, given a host, returns the exact URL the key file must be served from, the exact contents it must have, and the curl command to verify it. Most 403 rejections are a key file that returns an HTML 404 page with a 200 status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The key to check. | |
| host | No | Optional host, e.g. example.com, to compute the key file URL. |