Map the old website's links to the new site
map_old_site_linksFor a redesign: read every address of the site this one replaces (its sitemap and the links on its homepage) and send each to the closest page on the new site with a 301 — same page where it still exists, else the same item, the section it belonged to, or (last) the homepage, which is flagged needs_look. Runs automatically after a redesign is generated and when it is built; call it after big page changes, or with old_site_url when the old site was never recorded. Redirects a person set by hand are never changed. Takes up to a minute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site, from list_sites | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| old_site_url | No | The old website, e.g. https://www.example.com. Omit to use the one recorded for this redesign. |