How to customize portal URL for unauthenticated users?
Introduction
This article describes how to customize your Platform to manage access for non-authorized users. You can redirect unauthenticated users to a specific page instead of showing them the catalog or pricing information they cannot access without authentication.
In this article:
- Understanding the custom startup page feature
- Configuring the custom startup page
- URL configuration options
- User permissions and behavior
Understanding the custom startup page feature
Sometimes you don't want to show the catalog to non-authorized users because users cannot buy anything without authentication and may become confused about what to do next. Alternatively, you might want to hide prices for non-authorized users to encourage them to register first, bringing them one step closer to making a purchase.
The custom startup page feature allows you to redirect unauthenticated users to a specific URL of your choice, such as a login page or a custom landing page.
Configuring the custom startup page
To enable and configure the custom startup page for unauthenticated users:
- Navigate to Settings → Theme & UI → Features
- Locate the Domain Features section
- Find the option "Enable custom startup page for non authenticated users"
- Check the checkbox to enable the feature
- Enter your desired URL in the field below the checkbox
- Click Save to apply the changes
URL configuration options
You can configure the redirect URL using either relative or absolute paths:
Relative URL
- Format:
/Login - Example:
/Login - Use when redirecting to a page within the same Domain
Absolute URL
- Format:
https://portal-url.com/Login - Example:
https://portal-url.com/Login - Use when redirecting to an external Domain or when you need to specify the complete URL
User permissions and behavior
Required permissions
This setting can be modified by users with the following admin roles:
- Distributor admin
- Seller admin
Post-login behavior
If a login page is specified in the redirect URL field, the user will be automatically redirected to the last page they attempted to access after they successfully log in.
Summary
The custom startup page feature provides Platform administrators with control over the user experience for unauthenticated visitors. By redirecting non-authorized users to a specific URL, you can prevent confusion and guide users toward authentication, ultimately improving conversion rates and user experience.
Add comment
Please sign in to leave a comment.