Skip to main content
Glama

WordPress MCP Server

by RaheesAhmed

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

NameRequiredDescriptionDefault
postIdYes
canonicalUrlYes

Input Schema (JSON Schema)

{ "properties": { "canonicalUrl": { "type": "string" }, "postId": { "type": "number" } }, "required": [ "postId", "canonicalUrl" ], "type": "object" }

Other Tools from WordPress MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/RaheesAhmed/wordpress-mcp-server'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server