corestack_ site_ rewrite_ urls
Point a copy at its platform hostname.
When to use it
Point a copied site at this row's platform hostname so it can be tested before DNS moves: every address of the given source hosts in its database (WordPress: content, home and siteurl; Magento 2: the base URLs at every scope, including those app/etc/env.php locks; Laravel: APP_URL) is rewritten to https://<platform hostname>, and the originals are saved so corestack_site_rewrite_urls_restore can put them back. On a live production row this points the live site at the platform hostname. Not available for Shopware yet: use the pending-DNS attach.
Ask for it
Using the Corefinity MCP server, call corestack_site_rewrite_urls with site_id 4211, from_hosts ["example.co.uk"]. (Point a copy at its platform hostname.) Tell me what it returned.Inputs
On the production row only: the site's domain, typed exactly. Up to 253 characters.
The source's own hosts, canonical first, e.g. ["www.example.com", "example.com"]. Up to 10 items.
At least 1.
Your assistant fills in a confirmation only after you agree.
Example call
{
"name": "corestack_site_rewrite_urls",
"arguments": {
"site_id": 4211,
"from_hosts": [
"example.co.uk"
]
}
}If it is refused
| Reason | What to do |
|---|---|
managed_elsewhere | Another control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done. |
not_available | The row's platform keeps its addresses where its own code chooses (a PHP site); nothing was started. Ask the person to change them in their code or its environment. |
invalid_arguments | The arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |