Need help? You’ve come to the right place

What’s New Getting Started Building Integrating Publishing Glorify HTMLPub New Leadpages

[HTMLPub] Using Sites

Last Updated

A Site groups multiple pages together under a single URL prefix. Instead of standalone pages scattered across random slugs, a site gives you a clean, organized structure, all your pages live under one address.

Type

URL pattern

Standalone page

/p/{page-slug}

Page inside a site

/s/{site-slug}/{page-slug}

Creating a site

Sites are created from the same prompt-bar flow you use to build any page.

  1. Click Publish New Page in the sidebar (or navigate to the create screen from any entry point).

  2. In the prompt-bar toolbar, open the destination chip — it defaults to Landing page.

  3. Select New website from the dropdown.

  4. Describe your homepage in the prompt bar (for example: "A portfolio site for a freelance photographer: hero, about, and contact sections").

  5. Click Create. HTMLPub creates the site and its homepage in a single step, then opens the editor.

Once in the editor, you can rename your site by clicking the inline rename pill that appears at the top of the page.

If the prompt bar detects that your description sounds like a multi-page site, a nudge appears below the prompt suggesting you switch the destination chip to New website before generating.

Managing pages in a site

Click a site name to open its detail page. From here you can see the site slug, full URL, page count, and all assigned pages.

Adding pages to an existing site

To add a new AI-generated page to a site you already own:

  1. Go to the create screen (click Publish New Page in the sidebar).

  2. Open the destination chip in the prompt-bar toolbar.

  3. Select the site you want to add a page to from the list of your existing sites.

  4. Describe the new page in the prompt bar.

  5. Click Create. The new page is created inside the site and automatically inherits the header, footer, and head styles from the homepage so it matches the rest of your site visually.

You can still add existing standalone pages to a site from the site detail screen: open the site, then use the + Add Page option to select pages already in your account.

Site-aware AI suggestions

When you are editing a page that belongs to a site, the Nova AI chat panel shows contextual suggestions based on your site's navigation. If the AI detects pages linked in your homepage's navigation that do not yet exist, it surfaces quick-action chips such as "Build the Shop page" or "Build the About page". Clicking a chip sends a prompt that builds the missing page in the style of your existing site.

Removing pages

Click Remove in a page row to unassign it from the site. The page is not deleted — it becomes a standalone page again and can be added to another site.

Setting a default (landing) page

When someone visits your site root (/s/{site-slug}), HTMLPub redirects to your default page. Without one set, visitors see a list of all pages in the site.

To set a default page, click Set Default in the desired page's row. The site root will redirect there automatically from that point on.

Setting a custom 404 page

Every site has a custom 404 page. This is the page visitors see when they request a URL that does not exist under your site. A default 404 page is generated automatically as soon as you create a site: if the site already has a homepage, the 404 page is generated by AI to match its style; otherwise a simple fallback default 404 page is used until you replace it. You can swap in any page in your account as your 404 page at any time, but it must be published. Draft pages won't appear in the dropdown.

To manage your site's 404 page:

  1. Go to Dashboard → Custom Domains, and click the "Change Homepage" button on site you want to configure.

  2. In the dropdown of the site's details page (alongside Homepage), click the dropdown next to "Custom 404".

  3. From here you can search all your published pages, or select from the list of most recently updated pages. Once selected, click "Save" to confirm your selection.

  4. To remove the current selection, simply select the option "No custom 404 page" and click "Save".

Site URLs

All pages in a site share the same URL prefix:

https://htmlpub.com/s/{site-slug}/              → Site root (redirects to default page)
https://htmlpub.com/s/{site-slug}/{page-slug}  → Individual page
https://htmlpub.com/s/{site-slug}/blog           → Blog (if attached)
https://htmlpub.com/s/{site-slug}/blog/rss.xml   → RSS feed

Attaching a blog

A blog can be associated with a site, making it accessible at /s/{site-slug}/blog. Blog management is handled from Dashboard → Blog — see Using Blogs for details.

Custom domains

You can point a custom domain at your site so all pages are served from your own URL instead of htmlpub.com/s/{slug}. Click Add Domain on the site detail page, or see Connecting a Custom Domain for the full setup guide.

Plan limits

Sites themselves are unlimited on all plans. The limits apply to what you put inside them:

Plan

Total pages

Custom domains

Page expiry

Free

5

0

7 days

Starter

50

1

Never

Pro

250

5

Never


Need more help?

You can always get in touch with our support team—just click Support in your Leadpages navigation menu, or submit a ticket ↗

Was this article helpful?
Powered by Zendesk