import_site
Copy an existing website (a WordPress site, a static site, or the Wayback Machine's saved copy of one) into a Hostlo site: its pages, styles, scripts, images and fonts, with links rewritten to work on Hostlo. Only import a site the person owns or has the right to copy, and ask them if that is not clear. A small site finishes in the reply; a big one carries on in the background and import_status reports on it. Afterwards tell them what the reply says could not be carried over (forms, logins, search, shop checkouts need the old server).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The address of the site to copy, for example "example.com" or "https://www.example.com/", or a Wayback Machine link (web.archive.org/web/...). | |
| site | Yes | The Hostlo site to import into (create it first with create_site). Imported files are added to it, replacing files with the same path; list_deploys and rollback undo the import. | |
| from_archive | No | Copy the newest version the Wayback Machine saved instead of the live site: for a site whose hosting has expired. Default false. |