All Categories Quick Tips Quick Tip: How to Redirect Your Custom Domain

Quick Tip: How to Redirect Your Custom Domain

This feature allows you to redirect unmatched custom domain URLs to a URL of your choice, enhancing user experience and ensuring seamless navigation. The guide below will show you how to set this up.

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

  1. Log in to AskSpot: Ensure you're logged into your AskSpot account.

  2. 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

  1. Go to Settings: Click on the Settings tab for your chatbot.

  2. Select Custom Domain: Navigate to the Custom Domain section.

  3. 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).

  4. Save Changes: Click Save to apply the changes.

Example

  1. 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.

  2. 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 to landingpage.com.

Testing the Redirect

  1. Access Your Custom Domain: Enter your custom domain in the browser without a specific path.

  2. Check the Redirection: Ensure it redirects to the URL you specified (e.g., landingpage.com).

Was this article helpful?

Thanks for your feedback!