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.
- Click Publish New Page in the sidebar (or navigate to the create screen from any entry point).
- In the prompt-bar toolbar, open the destination chip — it defaults to Landing page.
- Select New website from the dropdown.
- Describe your homepage in the prompt bar (for example: "A portfolio site for a freelance photographer — hero, about, and contact sections").
- 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:
- Go to the create screen (click Publish New Page in the sidebar).
- Open the destination chip in the prompt-bar toolbar.
- Select the site you want to add a page to from the list of your existing sites.
- Describe the new page in the prompt bar.
- 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
You can designate any page in your site as the custom 404 page — the page visitors see when they request a URL that does not exist under your site. This applies to both your platform URL (lpcontent.net / lpages.co) and any custom domain connected to the site.
To set a custom 404 page:
- Go to Dashboard → Sites and click the site you want to configure.
- Find the page you want to serve as the 404 in the grid or table.
- Open the page's action menu (the "•••" icon) and click Set as 404 page.
- A 404 badge appears on that page's card to confirm the assignment.
To remove the custom 404 page, open the same action menu and click Remove as 404 page. When no custom 404 page is set, visitors who reach a missing URL see the platform default error page.
Note: Custom domains each have their own independent 404 page setting, managed from Dashboard → Custom Domains. The site-level 404 picker controls the platform URL and does not override per-domain settings.
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 feedAttaching 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 ↗
