Skip to content

Migrate a website to Studio

Import from website moves a live site into a Studio project. Quant crawls the site, groups its pages, and builds an Astro project in a new GitHub repository with the content as Markdown. You then edit the site in Studio and publish it to Quant as static pages.

Before you start:

  • Connect GitHub to the organisation. The migration creates the repository in a GitHub organisation that has the Quant GitHub App installed, and it cannot build the project without one.
  • Check the page limit. On a trial, a migration takes up to 25 pages. Contact support to raise or remove the limit.
  • Check that the site publishes a sitemap (in robots.txt or at /sitemap.xml). The migration crawls the home page, the main navigation and the sitemap pages, up to the page limit.
  1. Open Create Studio project: in the dashboard, select New and then Studio site. On the Import from website card, select Start migration.

    The Create Studio project screen with four cards: Start from template, Connect existing repo, Import from website (with its Start migration button) and Try the demo.

  2. On Migrate a website to Studio, under Enter the website URL:

    • In GitHub organisation, choose the organisation for the new repository.
    • In Website URL, enter the address of the live site.
    • Optional: open Advanced options to set Max pages or the Repository name. If the repository already exists, the migration commits into it.
    • In Build as, choose New bespoke site (a new design that copies the old one) or a Studio template, such as CivicTheme.

    Select Start migration.

    The Website URL step: the Page limit notice (25 pages during the trial), the connected GitHub organisation, and the form Enter the website URL with GitHub organisation, Website URL https://www.example.com, Advanced options, Build as New bespoke site and the Start migration button.

  3. On the Analysis step, wait for Crawl complete. The step lists what the crawl found:

    • Collections: groups of pages with the same shape, each with its URL pattern, a confidence score and the fields of its schema.

    • Bespoke pages: pages that do not fit a collection. Each becomes a page of its own.

    • Taxonomy pages: listing pages, such as a category page or a blog index, each with its URL pattern and page count. This card shows only when the crawl finds such pages.

    You can leave the page while the crawl runs.

    Check each group. In Collections, Reclassify moves a collection to the bespoke pages, and Dismiss leaves the group out of the migration. In Taxonomy pages, Reclassify moves a group to a collection. When the groups are right, select Approve and extract content.

    The Analysis step: Crawl complete, 21 / 21 pages; one collection, Services, 9 pages, 87% confidence, with the fields title, description and body and the Reclassify and Dismiss buttons; 10 groups of bespoke pages, one of them /about-us/* with 3 pages; and the Approve and extract content button.

  4. On the Processing step, wait while the migration runs its phases: Extracting content, Writing code, Building skeleton, Assembling project and Validating build (and Mapping content when it is needed). When the migration is complete, Studio opens the new project.

    The Processing step, Migration in progress: Extracting content, Writing code, Building skeleton and Assembling project are complete, and Validating build is in progress.

If a migration stops, the page says why. Select Resume from the last checkpoint (on the Website URL step) or Retry from the last checkpoint (on the Processing step) to continue.

The Migration screen appears in Studio for projects created through the website-migration flow. It summarises the migration, lets you refresh content from the source site, and reports mapping coverage. Open it from the Migration icon in the Studio nav rail.

The Migration Summary card shows the source URL (a link to the source site), when the site was migrated, and a build status badge, such as Success. Below them are four figures:

Metric Description
Pages Crawled Total number of pages discovered and crawled during the original migration.
Entries Saved Number of content entries that were saved to collections.
Coverage Percentage of crawled pages that produced a content entry.
Collections Number of content collections in the migrated project.

The Migration Summary card: https://www.example.com/, Success, 21 Pages Crawled, 9 Entries Saved, 42.9% Coverage and 1 Collection, above Refresh Content with the Browse Pages tab.

Click Regenerate to rebuild the report from the current state of the migration job.

The Refresh Content section re-crawls pages from the source site and updates Studio content. Use it when the source has been updated and you want to pull in the latest version.

Click Refresh All Pages to re-crawl every page that the original migration discovered. Studio queues a refresh job that:

  1. Re-crawls the original list of URLs.
  2. Extracts content using the migration agent.
  3. Updates existing entries (or creates new ones).
  4. Records the result in the refresh history.

The original migration must be in the Completed state. If a refresh is already running, the button is disabled until it finishes.

The Browse Pages tab lists every page from the original crawl. You can:

  • Search by URL.
  • Filter by collection.
  • Filter by status — Mapped (pages that produced a content entry) or Unmapped (pages that did not).

Tick the pages you want to refresh, then click Refresh Selected (N).

Switch to the Enter URLs tab to refresh URLs by hand, including pages that were not part of the original crawl. Enter one URL per line and click Refresh Entered URLs.

While a refresh is running, the screen shows an in-progress card with a status spinner and an indeterminate progress bar, and polls every two seconds. When the run finishes, the success or failure message replaces the in-progress card.

If the report includes collections, the Coverage by Collection table breaks coverage down by collection:

Column Description
Collection The collection name.
Crawled Pages assigned to this collection during the crawl.
Mapped Pages that produced an entry.
Coverage Percentage bar showing the mapping success rate.

Coverage below 90% is highlighted in amber to draw attention to collections that may need manual review. Check the pages of those collections by hand.

The Coverage by Collection table: bespoke, 12 crawled, 2 mapped, 16.7% in amber; services, 9 crawled, 9 mapped, 100.0%.

A list of every refresh job for this migration, showing the type (full site or partial), the URL count for partial refreshes, the entries-saved count, the status, and the time the refresh was triggered.

  1. Open an entry and change it. The preview updates as you type, and the toolbar shows UNSAVED.

  2. Select Save. Studio commits the change to the branch in the GitHub repository. See Visual editor.

    The Studio editor on the entry /services/water-supply: the title changed to “Water supply and water quality” in the Fields panel and in the preview, the UNSAVED badge, and the Save as draft and Save buttons in the toolbar.

  3. Publish the change. With Quant Builder on and Auto publish on save turned on in Settings, a save publishes the entry. Republish site in Deployments publishes code changes, listing pages, feeds and the sitemap, and it publishes the entry when auto-publish is off. The card In-browser republish shows the pages published, unchanged and failed. Without Quant Builder, a commit to the production branch starts the GitHub workflow. See Deployments. The screenshot below is from a run with Force ticked, which sends every page again.

    The Deployments screen after Republish site: In-browser republish with 33 Published, 2 Unchanged and 0 Failed, “Built 22 pages + 13 assets”, and “Media: 0 uploaded, 59 skipped”.

  4. Open the site on its project domain and check the pages, before you move DNS.

Every URL in the old site’s sitemap should answer 200 on the new site, or redirect to a page that does. Before you move DNS:

  • Put redirects that matter for search ranking in Quant redirect rules (a real 301), not in the redirects setting of astro.config. Studio publishes an Astro redirect as a meta-refresh page with a 200 status. See Deployments.
  • Write old and new paths without a trailing slash, as the Studio templates do, so a visitor does not follow a second redirect.
  • Remove redirect chains and loops, and check that each target answers 200.
  • Remove any redirect whose source equals a live page in another letter case. Quant matches paths case-insensitively.

To add a redirect rule:

  1. In the project, open Rules and select New rule.

  2. In URL match, enter the old path, for example /water-supply.

    The Create rule form with URL match /water-supply under When the following matches.

  3. Under Action, choose Redirect. In Redirect to, enter the new path, for example /services/water-supply. Keep Status code at 301 (Permanent).

  4. Select Create rule.

    The Action section of the rule: Redirect selected, Redirect to /services/water-supply, Status code 301 (Permanent), and the Create rule button.

Quant checks rules before the published page, and the first matching redirect rule wins. Purge the old path after you change a redirect rule.

  • Content management — review and edit migrated content
  • Content schemas — adjust the schemas produced during migration
  • Settings — brand and identity fields are prefilled from the migration when available