AIUNIFY Leads separates the authenticated Website-management workspace from the public Website experience viewed by visitors.
The public routing system resolves a Website using its configured Website Slug and the Website route prefix defined by the application configuration.
The Website route prefix is obtained from Company settings through the application's website_route_prefix configuration.
Because that prefix is configurable, users should rely on the generated Landing Page URL instead of manually constructing public URLs from assumptions.
The normal Website landing route locates the Website by its Slug and presents the Website using the page key:
home
This is why the Home Website Page is a foundational page in the Website structure.
Public custom Website Pages use their saved Page Key.
Before rendering a requested Page Key, AIUNIFY Leads verifies that the Page belongs to the requested Website.
If the requested Page Key does not exist for that Website, the public route returns a not-found response instead of displaying a page belonging to another Website.
Website Legal Pages use a separate public page route from ordinary Website Pages.
The route resolves:
Use the Page URL supplied by Website Legal Pages rather than manually guessing this route.
The public Website obtains its Theme from the Website record's Theme Name.
If no Theme Name is available, the confirmed routing logic falls back to:
tailwind_theme
Before rendering a public Website route, AIUNIFY Leads prepares and shares the Website information required by the selected theme.
This includes the resolved:
AIUNIFY Leads uses several mechanisms to determine which Website Language should be displayed.
For public routes that support an explicit language query, the confirmed resolution sequence is:
lang query parameter.The confirmed public Legal/Static Page route enables explicit query-language checking.
The ordinary Website landing route and ordinary custom Website Page route do not enable that same query-language check in the routing helper.
For normal Website browsing, the Website-specific language cookie and Default-language behavior are therefore particularly important.
The public Website uses a Website-specific cookie naming pattern:
lang_{website-slug}
This allows different Websites to maintain separate visitor language selections.
Because the Website Slug participates in both the public URL and the language-cookie name, changing the Slug can affect:
Review the complete public Website after changing a Slug.
After the public Language is resolved, AIUNIFY Leads looks for Website Settings associated with that Website and Website Language.
This allows Website identity, SEO, contact, and related settings to vary between languages.
If a non-English visitor Language is selected but no corresponding Website Settings record exists, the confirmed public-routing logic attempts to use the Website's English Website Settings.
Best practice: Complete Website Settings for each Website Language you intend to use publicly rather than depending on fallback behavior.
The Website selected inside the administrative workspace determines which Website is currently being managed.
The Primary Website is a separate setting used by applicable non-SaaS public root-routing behavior.
Changing the selected working Website does not automatically change which Website is Primary.
In the current confirmed routing implementation, the bare application root redirects to:
/admin/login
This occurs even in the routing branch where a Primary Website exists.
At the same time, the non-SaaS routing code contains root-level custom Page and Legal Page handling for the Primary Website.
Operational guidance: Use the generated Landing Page URL when validating and distributing a Website rather than assuming the bare application domain is the Website Home page.
The application contains a dedicated Section Layout Preview route used by the administrative Website Builder.
When a Website is supplied to that preview, the system can use the Website's Theme Name while rendering the section-layout example.
This is an administrative design aid and should not be confused with the final public Website URL.
If a public Website Page does not display as expected, verify: