Canonical host check (www, https, trailing slash)
canonical_host_checkCheck http, https, www, bare-domain, and trailing-slash home page variants to confirm they redirect to one canonical URL, exposing duplicate 200 responses that split SEO ranking signals.
Instructions
Check that every way of typing the home page ends at one single address: http and https, www and bare domain, and the trailing-slash variants. When two of them both answer 200, Google sees duplicate sites and splits the ranking signals between them. This is a common silent failure on Cloudflare Pages and after a WordPress migration. Returns the full redirect chain for each variant and says which ones are wrong. No key needed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>"
},
"name": "canonical_host_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to test, default the home page. | / |
| domain | Yes | Bare domain, e.g. 'example.com' (do not include a scheme). |