wordpress_set_canonical_url
Set canonical URLs for WordPress posts to prevent duplicate content issues and improve SEO by specifying the preferred URL version.
Instructions
Set canonical URL for post
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | Yes | ||
| canonicalUrl | Yes |
Input Schema (JSON Schema)
{
"properties": {
"canonicalUrl": {
"type": "string"
},
"postId": {
"type": "number"
}
},
"required": [
"postId",
"canonicalUrl"
],
"type": "object"
}