Skip to content

Published landing pages

When you publish a page built in Marketing › Landing pages, the edge worker serves it to visitors as a fast, server-rendered HTML page. A page can be reached at:

Address Form When
Default address https://<edge host>/p/<ws><path> (for example /p/acme/spring-offer) Always, as soon as the page is published
Your domain https://<your domain><path> (for example https://www.example.com/spring-offer) When the page’s Domain is set to a connected, verified domain

Designing, editing and publishing pages are covered in Landing pages overview, Editor and Publishing. This page explains what happens when a visitor opens the URL.

  • Only pages with status Published are served. Drafts, unpublished and deleted pages answer 404 — This page does not exist.
  • Visitors always get the published version: edits you save in the editor stay invisible until you publish again (each publish creates a new version).
  • The page is found by its path (the page’s address on its domain, unique per domain) and, on your own domain, by the hostname.
  • On the default address the lookup uses the path only: a page without a domain wins; if none has that path, a published page with the same path on a connected domain is shown.

To serve pages on www.example.com:

  1. The domain must be added and verified in Settings › Domains of the same workspace (see Domains). Unverified domains answer 404.
  2. The domain’s DNS must point to the edge worker, as shown in the domain setup.
  3. In the page settings, set Domain (hint: A connected domain, e.g. www.example.com. Leave empty to publish only on the default address.) and publish.

Then every published page whose Domain is that hostname is served at https://www.example.com<path>, and the domain also gets its own /sitemap.xml and /robots.txt.

Each page is rendered on the server from the published version, with:

Element Source
<title> The SEO title, else the page title
Meta description The SEO description, when set
Canonical URL The SEO Canonical URL, else the address the visitor opened
Open Graph image The SEO image, when set
noindex The page’s noindex option, sent both as a meta tag and as an x-robots-tag header
Favicon The page’s favicon setting
Language (lang) The page’s language setting, default en
Site name The workspace name

Each response carries a content security policy built for that page, allowing only its own inline scripts (by hash) and the resources its blocks need.

The amabledata tracker is added automatically. The analytics site is chosen in this order:

  1. the site picked in the page settings;
  2. otherwise (Automatic (matched by domain)) the workspace site whose hostnames include the page’s domain or a parent domain of it;
  3. otherwise the workspace’s first site;
  4. otherwise no tracker.

Forms and booking widgets placed on the page work as on any website (see Hosted forms and Booking pages).

Layer Duration Notes
Edge cache of the rendered HTML 5 minutes Keyed by the published version: publishing a new version is served right away, without waiting for the cache
Browser and intermediate caches 60 seconds cache-control: public, max-age=60
Media files (/m/<ws>/<file>) 1 year, immutable File names are unique, so a replaced image gets a new URL
sitemap.xml 5 minutes —
robots.txt 1 hour —

After publishing, a visitor who opened the page in the last minute may still see the previous version until their browser cache expires.

  • https://<your domain>/sitemap.xml lists the published pages of that domain that are not noindex (up to 5,000), with their publication date as lastmod.
  • https://<edge host>/p/<ws>/sitemap.xml lists the published, indexable pages without a domain, with their default addresses.
  • https://<your domain>/robots.txt allows all crawlers and points to the sitemap:
User-agent: *
Allow: /
Sitemap: https://www.example.com/sitemap.xml

Images and files uploaded to the page builder are served from /m/<ws>/<file> on the same host as the page. They are delivered with their content type, a long immutable cache and a sandboxing security policy, so a file can never run scripts in the visitor’s browser.

  1. Publish the page.
  2. Open https://<edge host>/p/<ws><path>; for the home path /, open https://<edge host>/p/<ws>.
  1. Add and verify the domain in Settings › Domains.
  2. Open the page, set Domain to the hostname in its settings, and check the path.
  3. Click Publish, optionally add a Version note, and confirm.
  4. Open https://<your domain><path>.
  5. Optionally submit https://<your domain>/sitemap.xml to search engines.
URL Purpose
/p/<ws> Default address, path /
/p/<ws>/<path> Default address, any other path
/p/<ws>/sitemap.xml Sitemap of pages without a domain
https://<domain>/<path> Page on a connected domain
https://<domain>/sitemap.xml Sitemap of that domain
https://<domain>/robots.txt Crawling rules
/m/<ws>/<file> Media file
Response Meaning
200 HTML Published page
404 page (This page does not exist., noindex) No published page at this address, or the domain is not verified
503 Service unavailable The edge worker could not reach the core worker
  • Visitors need no account.
  • Publishing and connecting domains require the landing pages and domains permissions of your role (see Roles and permissions); adding a domain also requires a step-up verification.
  • Sitemaps list at most 5,000 pages per host.
Symptom Cause Fix
404 on your domain Domain not verified, DNS not pointing to the edge, page not published, or Domain / path mismatch. Check Settings › Domains, then the page’s Domain and path, and publish.
The old version still shows Browser cache (up to 60 seconds) or you saved without publishing. Publish, then reload after a minute.
The page is missing from Google The page has noindex on, or it is not in the sitemap. Turn noindex off, publish, and submit the sitemap.
No visits in web analytics No analytics site in the workspace, or the automatic match picked another site. Choose the site explicitly in the page settings.
Images do not load The file was deleted from the media library. Upload it again and republish.