Move a live site without losing URLs
A practical cutover order: inventory addresses, understand the real limits of import, add 301 redirects, check sitemap, canonical and hreflang, rebuild navigation and breadcrumbs, and verify a generated release on a separate binding before switching the domain.
Inventory: start with a URL table
Do not start with an import. While the old site is still running, collect addresses from its sitemap, analytics, web-server logs, and menus. For every row record the old URL, HTTP status, language, title, canonical, robots directives, future URL, action (keep, redirect, replace, remove), owner, and check date.
The home page and pages reached from search, ads, and email.
Nested sections, the catalogue, detail pages, pagination, categories, and filters.
Language versions, files, images, documents, and policy pages.
Forms, confirmation pages, external services, analytics, and pixels.
Existing redirects: source, target, status code, and any chains of two or more hops.
Addresses with query parameters, a trailing slash, uppercase letters, or a base path.
Record the whole path, not only the slug. Every old address needs one clear final destination. Do not send many different pages to the home page: that hides lost content and makes verification unreliable.
Keep the old site, DNS, TLS, access, and previous domain binding running until verification is complete. Separately check what will happen to accounts, enquiries, orders, and history: the new site does not move them automatically.
What can be imported, and what must be rebuilt
There is no universal import from WordPress, 1C-Bitrix, Tilda, Wix, Joomla, Drupal, OpenCart, a SQL dump, or an arbitrary ZIP of the old site. If there is no separate supported operation for a source, there is no automatic move: pages, templates, forms, and integrations must be rebuilt.
A compatible .hoba. Templates can inspect a package and create a new draft from it. This works only for a package built for a compatible HOBA version, not for another CMS export. Import creates a draft; it publishes nothing and does not replace an existing site.
Import by URL.
hoba.site.import_urlis available through the agent or API. It creates a new draft and keeps only headings, paragraphs, and images. With crawling it imports up to 20 pages, up to 500 blocks per page, 16 MiB of HTML, and at most 5 sitemap documents. Lists are skipped with a note, images stay external links, and metadata, forms, accounts, orders, enquiries, and analytics are not transferred.Crawl. A job under Site → Navigation → Crawl periodically imports new pages from a Seed URL or Sitemap URL into an existing site as drafts. Crawling never publishes and never overwrites a page. It is a way to add new content, not to preserve the old URL structure, SEO, and redirects.
Import by URL does not preserve old addresses: the slug is derived from the path, and the entry page may become home. The URL table and redirect map are still required. If the interface has no operation for your source, do not look for a hidden button: plan a manual migration and verification.
Preserve addresses and language structure
Pages → Properties defines the Slug and URL path. The public path joins the slugs of all non-empty ancestors with the page slug: docs and guide produce /docs/guide/. The aliases home, index, and an empty slug add no segment; a top-level home becomes /.
The default locale is served at the root and other locales under /{locale}. If the old site used /en/ for English, keep that scheme: the English version must be a separate page, not a translation that appears by itself. Changing the default locale only changes which version is available without a prefix; it does not rewrite slugs, IDs, or SEO.
Under Site → Settings → Pseudo-static URLs, Default (hierarchy paths) keeps tree-derived paths. Custom patterns defines patterns for page, collection, category, and item, with a separate pagination pattern. If two nodes produce one path, release generation fails instead of choosing a page by order.
Preserve the trailing slash and base path. Core serves /path/ from index.html and redirects /path to /path/ only when the release contains that file. With a binding Base path of /xax, the address /xax first redirects to /xax/. Include both forms in the inventory: a slashless address and a prefixed address may need separate checks.
Redirects: one 301 for every old address
Open Site → Navigation → Redirects and choose New redirect. Fill in From path, To path, and Status code (301, 302, 307 or 308). Use 301 for a permanent move: it is the permanent address search engines may remember. Keep 302 for temporary changes; 307 and 308 preserve the request method, but ordinary pages usually only need 301.
Point to the final address, not an intermediate one: a two-hop 301 chain slows the visit and complicates checks.
Do not redirect everything to the home page. If there is no equivalent, deliberately leave a 404 or create a meaningful replacement page.
A source must not also be a live page, and a target must not be the source itself. Planning drops such records so they cannot shadow content.
Core matches an exact path and does not support wildcard or regex redirects. Check parameters and bulk patterns separately; when needed, place the rule on a trusted proxy.
Renaming or moving a page inside the site captures an automatic redirect from the old path. An import of the old site into a new one has no such link yet: add the external addresses by hand from the table. The record belongs to the site, so after an import check its source and target.
Redirects enter the generated release, not Composer preview. Saving the draft and seeing a green preview does not prove that an old address redirects yet. Publish & Generate, activate, and then test the old address on the public binding.
Sitemap, canonical, and hreflang
Sitemap. /sitemap.xml is built from the generated release, not the draft. It lists page nodes only, excludes noindex/none pages and trash, and becomes an index with sitemap-1.xml, sitemap-2.xml shards on a large site. Absolute addresses require the final Public URL. robots.txt points to the sitemap. Composer preview emits no sitemap.
Canonical. The Canonical field lives under a page’s SEO / Metadata. It accepts an absolute http(s) address. For an ordinary page in Default mode Core does not invent a canonical when the field is empty; in Custom patterns mode it fills an absent canonical from the Public URL. If the old site used canonicals, set them explicitly and point each at the final address of that page, not the old domain and not the test host.
Hreflang. Link language versions under Site → Translations. Core emits hreflang only when a page belongs to a translation group and a Public URL is set: its own locale, the group’s other locales, and x-default for the default language. The sitemap carries the same links as xhtml:link. Without a group and a real second page there is no hreflang; do not add it by hand just for appearance.
Indexing. Check each page’s Robots value and the rules under Site → Settings → Search engines. Do not noindex the only production release just because it is temporarily open on a test host: the same release becomes public after the switch. Use a separate binding for testing and keep it out of search.
Navigation and breadcrumbs
Visible breadcrumbs are a Breadcrumbs block in Composer, not an automatic feature of every theme. If the old site had “Home → Section → Page”, add the block to the relevant pages. Core resolves its entries from Navigation first, then from the page tree when no suitable chain exists.
Build Site → Navigation first. The menu wins over the tree: the wrong order or an external link back to the old domain produces the wrong trail. Replace absolute links to pages with new internal targets, and check nesting and hidden items. For catalogue entries the trail comes from the owning landing page and the entry, not from an arbitrary menu item.
JSON-LD BreadcrumbList is produced separately when Site → Settings → Structured data is enabled and does not require the visible block. Check both results: visible links must lead to final addresses, and JSON-LD must contain absolute URLs on the final host. Do not add your own BreadcrumbList on top of the automatic one or you will get two trails.
Renaming or moving a page changes both its path and its breadcrumbs. Check section labels, the root label, and the current-page link: the last item should have aria-current="page" and must not link to an old address.
Verify before switching the binding
Verify the generated and activated release on a separate binding, not in draft preview. First record the old site’s current binding and leave it running. Then choose New binding in Domains: a temporary Host, an empty Base path, and the new site. The host must resolve to this server and be covered by a valid certificate; do not disable TLS verification for a launch test.
Walk the URL table. For every row, open the new address while signed out of Admin: it must return 200 and the intended language. The old address must return one
301with an exactLocation. A quick check:curl -sS -o /dev/null -w '%{http_code} %{redirect_url}\n' https://new.example.com/old/. Then open the target and confirm it returns 200 rather than a second redirect.Check head and SEO. For key pages inspect
<title>, description, robots, canonical, and hreflang:curl -sS https://new.example.com/page/ | grep -E 'rel="canonical"|hreflang='. Canonical and alternates must point to final addresses, not the test host. Compare with the table and make sure no old canonical remains.Check sitemap and robots.
curl -sS https://new.example.com/sitemap.xmlmust return 200 and only current pages. Confirm it contains no test host, old addresses, noindex pages, or broken URLs.robots.txtmust reference the final sitemap.Check languages, files, and forms. Visit every language, a nested page, a catalogue entry, pagination, a file download, and a test form submission. Check the menu, keyboard focus, mobile width, old images, and external integrations. Open a deliberately removed address and confirm its 404 is not masked by the home page.
Before the final generation, set Site → Settings → Public URL to the production origin: absolute canonical, hreflang, and sitemap addresses depend on it. If the final host can be bound early (the old site is on another server), test it with curl --resolve example.com:443:203.0.113.10 https://example.com/old/ before switching DNS. If old and new sites live in one Core, the final host is freed only at the switch: verify paths and redirects on the temporary host first, then verify absolute addresses immediately after changing the binding.
A Core binding selects a site by (host, base_path); DNS only sends the domain to a server. With no matching binding Core returns 404, so change the binding and DNS together in an agreed window. In Domains, use Edit binding to point the site at the new site, then immediately repeat the smoke checks on the public domain while signed out of Admin. If something fails, restore the previous binding: the old site, its release, and the DNS records must remain available until success is confirmed.
A website you can manage yourself.
Hi, I’m Hobbit! I can show you what HOBA can do. Where shall we start?