Change a blog's address
rename_blogMove a website's blog to a new address, e.g. from /journal to /blog: the index page and every post move (/journal/ becomes /blog/), links to them across the site follow, and each post keeps its Draft or Live status and its history. Redirects from the old address are added so shared links keep working. Nothing changes on the domain until the site is next published.
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": {
"siteId": "<siteId>",
"to": "<to>"
},
"name": "rename_blog"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The new address name, e.g. "news" for /news. Lowercase words joined by hyphens. | |
| siteId | Yes | The site (id from list_sites). | |
| collection | No | The blog's current address name. Defaults to "blog". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | The blog's old address name (posts were at /<from>/<slug>). | |
| note | Yes | ||
| siteId | Yes | ||
| warnings | Yes | What did not move cleanly. Empty when everything did. | |
| postCount | Yes | ||
| redirects | Yes | Redirects from the old address, live with the site's next publish. | |
| collection | Yes | The blog's new address name (posts are now at /<collection>/<slug>). |