Why Use Custom Domain Redirects?
Adding a custom domain in AskSpot allows you to personalize direct bot links, embed codes, and chat log share pages with your own domain. However, if users access your custom domain directly without a specific path, they might encounter a 404 error. The custom domain redirect feature helps you avoid this by redirecting unmatched URLs to a landing page or your official website.
Step-by-Step Guide
Step 1: Access Your Chatbot Settings
Log in to AskSpot: Ensure you're logged into your AskSpot account.
Navigate to Your Chatbot: Go to the chatbot for which you want to set up the custom domain redirect.
Step 2: Configure the Custom Domain Redirect
Go to Settings: Click on the Settings tab for your chatbot.
Select Custom Domain: Navigate to the Custom Domain section.
Unmatched URL Redirect:
Find the option labeled Unmatched URL Redirect.
Enter the URL to which you want to redirect unmatched custom domain URLs (e.g.,
landingpage.com
).
Save Changes: Click Save to apply the changes.
Example
Current Custom Domain Behavior:
When accessing your custom domain directly (e.g.,
customdomain.com
), it may show a 404 error if no specific path is provided.Example: Visiting
customdomain.com
without a path results in a 404 error.
With Custom Domain Redirect:
After setting up the redirect, visiting
customdomain.com
will redirect users to the specified URL (e.g.,landingpage.com
).Example: Visiting
customdomain.com
now redirects tolandingpage.com
.
Testing the Redirect
Access Your Custom Domain: Enter your custom domain in the browser without a specific path.
Check the Redirection: Ensure it redirects to the URL you specified (e.g.,
landingpage.com
).